PriceCharting item prices
One PriceCharting item: current values for each condition or grade with their last change and sales volume, the full price guide (every grade such as PSA 10, BGS 10, CGC 10), monthly price history per condition, PSA and CGC population counts for cards, details (release date, publisher, card number, UPC, ids) and the recent sold listings per condition with date, title, price, link and marketplace (eBay, TCGplayer and others). Pass url, id, or q with latest=true.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
url | string | A pricecharting.com/game/... link, or the console/item path such as pokemon-base-set/charizard-4. Example: https://www.pricecharting.com/game/pokemon-base-set/charizard-4 |
id | string | Instead of url: the PriceCharting item id (id of a search result). |
q | string | With latest=true: search words; the first search result is used (category, region and sort also apply). |
latest | string | true: use the first result of the search with q. |
category | trading-cards | video-games | comic-books | funko-pops | coins | lego-sets | With latest=true: search category. |
sales | boolean | false: leave out the sold listings. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/pricecharting/v1/product?url=https%3A%2F%2Fwww.pricecharting.com%2Fgame%2Fpokemon-base-set%2Fcharizard-4" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/pricecharting/v1/product",
params={"url": "https://www.pricecharting.com/game/pokemon-base-set/charizard-4"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/pricecharting/v1/product");
url.searchParams.set("url", "https://www.pricecharting.com/game/pokemon-base-set/charizard-4");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).