curl --request GET \
--url https://catchbackcards.com/api/partner/v2/catalog/packs/pool \
--header 'Authorization: Bearer <token>'import requests
url = "https://catchbackcards.com/api/partner/v2/catalog/packs/pool"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://catchbackcards.com/api/partner/v2/catalog/packs/pool', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://catchbackcards.com/api/partner/v2/catalog/packs/pool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://catchbackcards.com/api/partner/v2/catalog/packs/pool"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://catchbackcards.com/api/partner/v2/catalog/packs/pool")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://catchbackcards.com/api/partner/v2/catalog/packs/pool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pack_type": "bronze",
"name": "Bronze Pack",
"category": "pokemon",
"price": 25,
"odds": "hot",
"label": "Hot",
"tagline": "Fewer hits, bigger chase",
"available": true,
"fresh_buyback_rate": 1,
"consolation_probability": null,
"bands": [
{
"band": "7.5-15",
"min_value": 7.5,
"max_value": 15,
"odds": 0.61,
"cards": 380
},
{
"band": "250-1000",
"min_value": 250,
"max_value": 1000,
"odds": 0.004,
"cards": 41
}
],
"odds_choices": [
{
"odds": "standard",
"label": "Standard",
"available": true
},
{
"odds": "hot",
"label": "Hot",
"available": true
},
{
"odds": "chill",
"label": "Chill",
"available": true
},
{
"odds": "classic",
"label": "Classic",
"available": true
}
],
"total_cards": 1043,
"cards": [
{
"id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e",
"category": "pokemon",
"name": "Charizard ex",
"grading_company": "PSA",
"grading_rank": 10,
"market_value": 410,
"render_image": "https://...",
"band": "250-1000"
}
]
}{
"error": "bronze sells standard, hot, chill, classic",
"code": "BAD_ODDS",
"odds": [
"standard",
"hot",
"chill",
"classic"
]
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "Unknown pack_type for pokemon. Use one from GET /api/partner/v2/catalog/packs.",
"code": "PACK_NOT_OFFERED"
}{
"error": "hot odds are not published for bronze",
"code": "ODDS_UNAVAILABLE"
}{
"error": "Too many requests. Slow down.",
"code": "RATE_LIMITED",
"retry_after_seconds": 23
}{
"error": "Something went wrong; retry with the same Idempotency-Key."
}{
"error": "Could not load the partner program; try again."
}Get a pack's pool
What one pack can pull at one odds choice: the value bands with their chances, whether those odds are selling right now, and every item a pull can produce, highest value first. This is the same information as the odds panel in our app; show it to your customers before they buy.
A pack that sells only its own odds answers odds: "classic" with its own band shape (ClassicPackPool). Every other pack answers ModePackPool.
curl --request GET \
--url https://catchbackcards.com/api/partner/v2/catalog/packs/pool \
--header 'Authorization: Bearer <token>'import requests
url = "https://catchbackcards.com/api/partner/v2/catalog/packs/pool"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://catchbackcards.com/api/partner/v2/catalog/packs/pool', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://catchbackcards.com/api/partner/v2/catalog/packs/pool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://catchbackcards.com/api/partner/v2/catalog/packs/pool"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://catchbackcards.com/api/partner/v2/catalog/packs/pool")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://catchbackcards.com/api/partner/v2/catalog/packs/pool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pack_type": "bronze",
"name": "Bronze Pack",
"category": "pokemon",
"price": 25,
"odds": "hot",
"label": "Hot",
"tagline": "Fewer hits, bigger chase",
"available": true,
"fresh_buyback_rate": 1,
"consolation_probability": null,
"bands": [
{
"band": "7.5-15",
"min_value": 7.5,
"max_value": 15,
"odds": 0.61,
"cards": 380
},
{
"band": "250-1000",
"min_value": 250,
"max_value": 1000,
"odds": 0.004,
"cards": 41
}
],
"odds_choices": [
{
"odds": "standard",
"label": "Standard",
"available": true
},
{
"odds": "hot",
"label": "Hot",
"available": true
},
{
"odds": "chill",
"label": "Chill",
"available": true
},
{
"odds": "classic",
"label": "Classic",
"available": true
}
],
"total_cards": 1043,
"cards": [
{
"id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e",
"category": "pokemon",
"name": "Charizard ex",
"grading_company": "PSA",
"grading_rank": 10,
"market_value": 410,
"render_image": "https://...",
"band": "250-1000"
}
]
}{
"error": "bronze sells standard, hot, chill, classic",
"code": "BAD_ODDS",
"odds": [
"standard",
"hot",
"chill",
"classic"
]
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "Unknown pack_type for pokemon. Use one from GET /api/partner/v2/catalog/packs.",
"code": "PACK_NOT_OFFERED"
}{
"error": "hot odds are not published for bronze",
"code": "ODDS_UNAVAILABLE"
}{
"error": "Too many requests. Slow down.",
"code": "RATE_LIMITED",
"retry_after_seconds": 23
}{
"error": "Something went wrong; retry with the same Idempotency-Key."
}{
"error": "Could not load the partner program; try again."
}Authorizations
Your API key (cb_live_…), sent as a bearer token, with the scope nft:orders. Keep it on your servers: never in a browser, app or wallet. Use a separate key per environment. A request from a country on our sanctions list gets a 403 with Access denied, whether or not it has a valid key. See Authentication and keys.
Query Parameters
One the pack sells. Default the pack's default_odds.
The odds a pack is opened at, as in our app's picker. Standard, Hot and Chill share one value-band ladder and differ only in the chance of each band; Classic is the pack's own bands and chances. A pack that sells only its own odds sells just classic. Odds.
standard, hot, chill, classic Response
The pool at those odds.
- Option 1
- Option 2
ModePackPool for a pack that sells the odds choice, ClassicPackPool (odds: "classic", with bucket_id bands) for a pack that sells only its own odds.
The odds a pack is opened at, as in our app's picker. Standard, Hot and Chill share one value-band ladder and differ only in the chance of each band; Classic is the pack's own bands and chances. A pack that sells only its own odds sells just classic. Odds.
standard, hot, chill, classic 
