Card price + buyback quote

GET /api/v1/mystery/price read:catalog

Returns a card’s canonical market value and the buyback price (85% of market value by default) that POST /buyback would offer. Query by EXACTLY ONE of ?card_id= or ?token_id= — a token_id resolves through the on-chain token → card mapping (graded tokens included). Responses are cached ~60 s.

Try it GET /api/v1/mystery/price?token_id=

These inputs are shared across all docs pages — an id entered here carries over.

response

Not run yet — press Run to make a live call against https://staging-service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).

curl (tracks the inputs above)
curl -X GET 'https://staging-service.rip.fun/api/v1/mystery/price?token_id=' \
  -H 'X-API-Key: rip_v1_…'

Request fields

FieldTypeRequiredDescription
card_idquery stringCanonical card id, e.g. base1-4 (exactly one of the two)
token_idquery stringOn-chain token id from a revealed pull

Response fields (data)

FieldDescription
card_id / token_idResolved card; token_id echoes the query (null when queried by card_id)
market_value_usdcCanonical market value (card.raw_price, oracle fallback)
buyback_price_usdcWhat a buyback offer would pay (default 85% of market value)
updated_atLast oracle refresh (null when no oracle row exists)

Errors

StatusCodeWhen
400invalid_price_queryzero or both of card_id / token_id supplied
404not_foundunknown card or token
404value_unknowncard exists but no market price is available

See Errors for the response envelope and the full code list.