list_trading_card_sets
tcdb.comLists every trading card set for a selected year and sport from https://tcdb.com, with set IDs, categories, image completion, gallery availability, and TCDB links. An optional case-insensitive name filter narrows the full, unpaginated list.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is list_trading_card_sets?
Lists every trading card set for a selected year and sport from https://tcdb.com, with set IDs, categories, image completion, gallery availability, and TCDB links. An optional case-insensitive name filter narrows the full, unpaginated list. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass year, sport, query and get the result back without maintaining a scraper.
Response
{
"sets": [
{
"name": "<string>",
"year": 0,
"sport": "<string>",
"set_id": 0,
"category": "<string>",
"tcdb_url": "<string>",
"has_gallery": true,
"image_completion_percent": 0
}
],
"year": 0,
"query": "<string>",
"sport": "<string>",
"total_sets": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/93455d15-a6a0-4b52-9299-bb575801e265/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "93455d15-a6a0-4b52-9299-bb575801e265",
"variables": {
"year": 2024,
"sport": "Baseball",
"query": ""
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="93455d15-a6a0-4b52-9299-bb575801e265") — the "list_trading_card_sets" function, which lists every trading card set for a selected year and sport from https://tcdb.com, with set IDs, categories, image completion, gallery availability, and TCDB links. An optional case-insensitive name filter narrows the full, unpaginated list.. It takes year (int), sport (str), query (str). Return the result as structured JSON.