PriceCharting API endpoint
Lists PriceCharting's categories (Pokemon Cards, Magic Cards, Video Games, Comics, Coins, Funko Pops and more) with their slugs, or, given a category, lists that category's consoles or sets with the slugs pricecharting-console takes.
/pricecharting/categoriescategories: each category's slug and name.category (a slug from that list, for example pokemon-cards), the response has consoles: the sets or consoles of that category, with the slug that pricecharting-console takes. The most popular sets come first. An unknown category returns 404.Example response (long values and lists shortened):
{
"code": 200,
"msg": "OK",
"data": {
"categories": [
{
"slug": "video-games",
"name": "Video Games"
},
{
"slug": "pokemon-cards",
"name": "Pokemon Cards"
},
{
"slug": "digimon-cards",
"name": "Digimon Cards"
},
{
"slug": "dragon-ball-cards",
"name": "Dragon Ball Cards"
},
{
"slug": "garbage-pail-cards",
"name": "Garbage Pail Cards"
},
{
"slug": "lorcana-cards",
"name": "Lorcana Cards"
},
{
"slug": "marvel-cards",
"name": "Marvel Cards"
},
{
"slug": "magic-cards",
"name": "Magic Cards"
},
{
"slug": "one-piece-cards",
"name": "One Piece Cards"
},
{
"slug": "star-wars-cards",
"name": "Star Wars Cards"
},
{
"slug": "yugioh-cards",
"name": "YuGiOh Cards"
},
{
"slug": "other-tcg-cards",
"name": "Other TCG Cards"
},
{
"slug": "other-cards",
"name": "Other Non-TCG Cards"
},
{
"slug": "comic-books",
"name": "Comics"
},
{
"slug": "funko-pops",
"name": "Funko Pops"
},
{
"slug": "lego-sets",
"name": "LEGO Sets"
},
{
"slug": "coins",
"name": "Coins"
}
]
}
}
| Field | Filled in, of 17 checked | Values in the sample |
|---|---|---|
| slug | 17 | |
| name | 17 | “Video Games” and 16 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| category | string | No | Category slug from the category list, for example pokemon-cards; omit for the category list | pokemon-cards | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/pricecharting/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"categories": [
{
"slug": "video-games",
"name": "Video Games"
},
{
"slug": "pokemon-cards",
"name": "Pokemon Cards"
},
{
"slug": "digimon-cards",
"name": "Digimon Cards"
},
{
"slug": "dragon-ball-cards",
"name": "Dragon Ball Cards"
},
{
"slug": "garbage-pail-cards",
"name": "Garbage Pail Cards"
},
{
"slug": "lorcana-cards",
"name": "Lorcana Cards"
},
{
"slug": "marvel-cards",
"name": "Marvel Cards"
},
{
"slug": "magic-cards",
"name": "Magic Cards"
},
{
"slug": "one-piece-cards",
"name": "One Piece Cards"
},
{
"slug": "star-wars-cards",
"name": "Star Wars Cards"
},
{
"slug": "yugioh-cards",
"name": "YuGiOh Cards"
},
{
"slug": "other-tcg-cards",
"name": "Other TCG Cards"
},
{
"slug": "other-cards",
"name": "Other Non-TCG Cards"
},
{
"slug": "comic-books",
"name": "Comics"
},
{
"slug": "funko-pops",
"name": "Funko Pops"
},
{
"slug": "lego-sets",
"name": "LEGO Sets"
},
{
"slug": "coins",
"name": "Coins"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/pricecharting.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | pricecharting.CategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].name | string | No | ||||
| data.categories[].slug | string | No | ||||
| data.category | string | No | ||||
| data.consoles | array | No | ||||
| data.consoles[].name | string | No | ||||
| data.consoles[].slug | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/pricecharting/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"