curl -X POST https://sandbox.catchbackcards.com/api/partner/v2/custom-packs/price \
-H "Authorization: Bearer $CATCHBACK_KEY" \
-H "Content-Type: application/json" \
-d '{ "cards": [
{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e", "odds": 0.05 },
{ "card_source": "pokemon", "id": "4c1d2e3f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "odds": 0.2 },
{ "card_source": "pokemon", "id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d", "odds": 0.25 },
{ "card_source": "pokemon", "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "odds": 0.25 },
{ "card_source": "pokemon", "id": "9d0e1f2a-3b4c-4d5e-8f6a-7b8c9d0e1f2a", "odds": 0.25 }
] }'
{
"price": 62.4,
"cards": [
{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e", "name": "Charizard ex", "value": 410, "odds": 0.05 },
{ "card_source": "pokemon", "id": "4c1d2e3f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "name": "Pikachu", "value": 95, "odds": 0.2 }
],
"fresh_buyback_rate": 0.9
}
{ "error": "Some of these cards can't be put in a custom pack right now.", "code": "CUSTOM_CARDS_UNAVAILABLE", "unavailable": [{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e" }] }
Packs & orders
Price a custom pack
The price of a custom pack now, each card’s value and the odds the draw uses.
POST
/
api
/
partner
/
v2
/
custom-packs
/
price
curl -X POST https://sandbox.catchbackcards.com/api/partner/v2/custom-packs/price \
-H "Authorization: Bearer $CATCHBACK_KEY" \
-H "Content-Type: application/json" \
-d '{ "cards": [
{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e", "odds": 0.05 },
{ "card_source": "pokemon", "id": "4c1d2e3f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "odds": 0.2 },
{ "card_source": "pokemon", "id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d", "odds": 0.25 },
{ "card_source": "pokemon", "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "odds": 0.25 },
{ "card_source": "pokemon", "id": "9d0e1f2a-3b4c-4d5e-8f6a-7b8c9d0e1f2a", "odds": 0.25 }
] }'
{
"price": 62.4,
"cards": [
{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e", "name": "Charizard ex", "value": 410, "odds": 0.05 },
{ "card_source": "pokemon", "id": "4c1d2e3f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "name": "Pikachu", "value": 95, "odds": 0.2 }
],
"fresh_buyback_rate": 0.9
}
{ "error": "Some of these cards can't be put in a custom pack right now.", "code": "CUSTOM_CARDS_UNAVAILABLE", "unavailable": [{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e" }] }
Scope:
nft:orders · Rate limit: 30 a minute, shared with the shipment estimates
The price of a custom pack now. It writes nothing and reserves nothing. Card values move, so Create an order prices the pack again: send the price you showed as max_price.
5 to 10 different cards from List custom pack cards, each
{ "card_source", "id", "odds" }. odds is any positive number; the cards’ odds are normalized to sum to 1 and made the whole-number weights the draw uses (each card at least 1 in 1,000,000).Response
The price now, in dollars, to the cent: the pack’s expected value, with no fee on top. On a program with its own contract terms it follows them.
The sell-back rate in the fresh window, as a fraction (
1 = 100%). See Sell-back.Errors
| Status | Code | When |
|---|---|---|
400 | BAD_JSON | The body isn’t JSON |
400 | BAD_CUSTOM_PACK | Not 5-10 cards, a card twice, an unknown card_source, a malformed id, or odds that aren’t a positive number. The message names the card |
409 | CUSTOM_CARDS_UNAVAILABLE | Some cards can’t go in a custom pack now (pulled, sold, or unknown); unavailable lists them |
curl -X POST https://sandbox.catchbackcards.com/api/partner/v2/custom-packs/price \
-H "Authorization: Bearer $CATCHBACK_KEY" \
-H "Content-Type: application/json" \
-d '{ "cards": [
{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e", "odds": 0.05 },
{ "card_source": "pokemon", "id": "4c1d2e3f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "odds": 0.2 },
{ "card_source": "pokemon", "id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d", "odds": 0.25 },
{ "card_source": "pokemon", "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "odds": 0.25 },
{ "card_source": "pokemon", "id": "9d0e1f2a-3b4c-4d5e-8f6a-7b8c9d0e1f2a", "odds": 0.25 }
] }'
{
"price": 62.4,
"cards": [
{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e", "name": "Charizard ex", "value": 410, "odds": 0.05 },
{ "card_source": "pokemon", "id": "4c1d2e3f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "name": "Pikachu", "value": 95, "odds": 0.2 }
],
"fresh_buyback_rate": 0.9
}
{ "error": "Some of these cards can't be put in a custom pack right now.", "code": "CUSTOM_CARDS_UNAVAILABLE", "unavailable": [{ "card_source": "pokemon", "id": "0e94dc61-5a2f-4b1e-9c3d-7f8a1b2c3d4e" }] }

