CollectalesDevelopers

Check price availability first#

Prices are deployment-gated and independently scoped. Check availability for the game, then request a token with prices:read using Builder, Pro or a suitable contract. The catalog-only Quickstart token cannot read prices. An endpoint in the reference may be disabled in a particular deployment.

Keep value and context together#

Amounts use currency minor units. Keep the card/variant identity, currency, source observation time, and any FX context alongside the amount. A missing amount is unknown, never zero.

Evaluate source freshness#

Use each price record’s observation time for a valuation decision. A recent capability audit verifies the service; it does not make an old price observation current.

Price up to 100 cards in one request#

Pass comma-separated card numbers in cards. Duplicates are ignored, at most 100 distinct cards are accepted, and cards are returned in the order you asked for them. Cards with no catalog match or no current price are listed in notFound.

curl "$COLLECTALES_BASE_URL/v1/games/one-piece/prices?cards=OP01-016,OP05-119,ST01-012" \
  --header "authorization: Bearer $COLLECTALES_ACCESS_TOKEN"

7- and 30-day changes#

When history is enabled, each current price includes changes.days7 and changes.days30. Each is a USD delta in amountMinor, a percent value (25 means 25%), and the baseline amount and actual observedAt. Current quote and baseline use the same source and variant. A missing quote/baseline gives null; a zero baseline gives a null percentage. The 7-day baseline is the newest point 7–14 days old; the 30-day baseline is 30–45 days old. Older observations are not substituted.

Daily price history#

curl --header "authorization: Bearer $COLLECTALES_ACCESS_TOKEN" "$COLLECTALES_BASE_URL/v1/games/one-piece/price-history?cards=OP01-001,OP01-016"

Use a token with prices:history on Pro or a suitable contract. The endpoint accepts 1–10 distinct card numbers. Optional from and to are inclusive UTC dates (YYYY-MM-DD), defaulting to the last six calendar months through today. Older, future or reversed ranges return 400. Use variant to select an exact variant key. Each successful history request costs 1 unit.

The response has gameSlug, from, to, data and notFound. Each data item has cardNumber and variants; each variant has cardId, variantKey, source and points. Each point contains date, market, converted and observedAt, using the same minor-unit and FX fields as current prices. Only the last observation per day is returned. Missing days are omitted, never interpolated. Known cards without compatible history have an empty variants array; unknown cards appear in notFound. There is a 20,000-point ceiling: a larger result returns 400, so narrow the range, cards or variant. History is currently backed by compatible PriceCharting and Collectr snapshots; other sources can have current prices without historical data.

Guides and real API endpoints