Price sources
The redistribution policy in the open: every source that can appear in a price row, with its label and minimum delay.
/v1/prices/sourcesCost and plans
- Cost
- free, no key needed
- Minimum plan
- Any key, the trial included.
- Key
X-Api-Keyheader (authentication). No key yet?POST /v1/accounts/freewith anIdempotency-Keyheader and your email address returns one; the same key replays for 24 hours, see the quickstart. The trial is 800 credits over 30 days, no card.- Cache-Control
public, max-age=86400
Every source that can appear in a price row, with the label to print next to the number and the minimum age of any observation it carries: a figure is not served until it is older than min_delay_hours. is_own marks the composite we compute ourselves. This response does not include update cadence. Cardmarket card figures are re-read daily for Western cards and about every 48 hours for Japanese and Chinese cards; a daily point carries the latest known value. See price methodology.
Headers
| Name | Type | Default | Description |
|---|---|---|---|
If-None-Match | string | — | Send back the ETag you stored. The API returns a strong ETag on every catalogue response, and a 304 is a header exchange: no body, no database row read. |
Example request
curl -s "https://api.pokemontcgapi.com/v1/prices/sources" \
-H "X-Api-Key: $PTCG_API_KEY"const url = new URL("https://api.pokemontcgapi.com/v1/prices/sources");
const res = await fetch(url, {
headers: { "X-Api-Key": process.env.PTCG_API_KEY ?? "" },
});
if (!res.ok) {
const { error } = await res.json();
throw new Error(`${error.code}: ${error.message} (${error.request_id})`);
}
const { data, meta } = await res.json();import os, httpx
res = httpx.get(
"https://api.pokemontcgapi.com/v1/prices/sources",
headers={"X-Api-Key": os.environ["PTCG_API_KEY"]},
)
res.raise_for_status()
payload = res.json()Example response
200 OK
{
"data": [
{
"source": "CARDMARKET",
"label": "Cardmarket",
"min_delay_hours": 24,
"is_own": false
},
{
"source": "CARDTRADER",
"label": "CardTrader",
"min_delay_hours": 24,
"is_own": false
},
{
"source": "COMMUNITY",
"label": "Community-observed",
"min_delay_hours": 0,
"is_own": false
},
{
"source": "EBAY",
"label": "eBay",
"min_delay_hours": 24,
"is_own": false
},
{
"source": "PRICECHARTING",
"label": "PriceCharting",
"min_delay_hours": 24,
"is_own": false
},
{
"source": "PTCG_INDEX",
"label": "pokemontcgapi composite index",
"min_delay_hours": 0,
"is_own": true
},
{
"source": "TCGPLAYER",
"label": "TCGplayer",
"min_delay_hours": 24,
"is_own": false
}
],
"count": 7
}Fields in the response
The rows are Price objects: One price observation: what it is, where it came from, and when it was seen. Descriptions and a full example are on the object page.
| Field | Type | Null |
|---|---|---|
source | enum | no |
variant | enum | no |
basis | enum | no |
amount | number | no |
currency | enum | no |
locale | string | yes |
condition | enum | yes |
printing | enum | yes |
grading | object | yes |
as_of | date | no |
sample_n | integer | yes |
provenance | string | no |
Errors
Every error body carries error.code, error.message and error.request_id. Switch on the code, never on the message.
| Status | Code | When |
|---|---|---|
| 400 | INVALID_PARAMETER | A query parameter has the wrong type or an unsupported value — a non-integer limit, an unknown lang, an unknown region, a sort key that is not sortable. |
The full taxonomy, with what to do about each code, is on the errors page.