Market Data
Search Category Indexes
Changed onList the category market indexes, or search for one.
Each index is a basket of hand-picked cards (with a grade) for one category, valued daily. latest is the newest daily level (in index points; compare movements in percent) and changes compares it with 1, 7, 30, 90, 180 and 365 days before. Pass an index's slug to category-index-history for its values over time.
Send {} (or no body) to list every index. search matches part of the name, slug or category; category must match exactly. Both ignore case.
Finding the index you need
- Send {} to list every index, or narrow the list with search (e.g. {"search": "poke"}) or category (e.g. {"category": "Hockey"}).
- Take the slug of the index you want, e.g. hockey. The slug is the index's stable key, so you can store it and skip this step next time.
- Pass it as index to category-index-history for its values over time.
Only need today's level and recent moves, e.g. for a dashboard tile? This response has them: latest and changes.
Example curl:
curl -X POST -H "X-API-Key: your-api-key-here" \
-H "Content-Type: application/json" \
-d '{}' \
"https://api.cardhedger.com/v1/cards/category-index-search"
post/v1/cards/category-index-search
Request
- Base URLhttps://api.cardhedger.com
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info