{"openapi":"3.1.0","info":{"title":"Card Intel API","summary":"Sold comps per grade, individual sales, price history and asking prices for sports cards and trading card games.","description":"Individual sold listings per exact card and grade (raw, PSA 10 ... never averaged together), each with price, date and whether it sold at auction or on a marketplace; weekly history; asking prices labelled as listings. Sports cards and trading card games in one search.\n\nWithout a key: search is free and prices answer 3 different cards a day per address (24 hours delayed). With a free account (email link or Google, no card): 10 cards a day. Send a key as `Authorization: Bearer <key>` (or `X-Card-Intel-Api-Key`); make one at https://app.card-intel.com/account#api-keys. Collector ($29/month, 7-day free trial): live prices, unlimited cards. A used-up allowance returns 401 `sign_in_required` (no key) or 402 with `upgrade_url`. MCP: https://app.card-intel.com/mcp (OAuth sign-in from the client, or the same key). Guide for agents: https://app.card-intel.com/llms.txt","version":"1.0.0"},"servers":[{"url":"https://app.card-intel.com"}],"paths":{"/api/v1/cards/search":{"get":{"tags":["ai-tools"],"summary":"Find a card (forgiving search)","operationId":"api_search_api_v1_cards_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"description":"The card as a collector says it, e.g. 'charizard base set 4/102'.","title":"Q"},"description":"The card as a collector says it, e.g. 'charizard base set 4/102'."},{"name":"game","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"pokemon, magic, yugioh, lorcana, onepiece, digimon, fab, swu","title":"Game"},"description":"pokemon, magic, yugioh, lorcana, onepiece, digimon, fab, swu"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":5,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cards/{card_id}/prices":{"get":{"tags":["ai-tools"],"summary":"Sold comps per grade and asking prices","operationId":"api_prices_api_v1_cards__card_id__prices_get","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Card Id"}},{"name":"grade","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"'raw' or e.g. 'PSA 10'","title":"Grade"},"description":"'raw' or e.g. 'PSA 10'"},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":7,"default":90,"title":"Days"}},{"name":"detail","in":"query","required":false,"schema":{"type":"string","pattern":"^(short|full)$","default":"short","title":"Detail"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cards/{card_id}/sales":{"get":{"tags":["ai-tools"],"summary":"Individual sold listings, newest first","operationId":"api_sales_api_v1_cards__card_id__sales_get","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Card Id"}},{"name":"grade","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grade"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":7,"default":90,"title":"Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cards/{card_id}/history":{"get":{"tags":["ai-tools"],"summary":"Weekly median sold price for one grade","operationId":"api_history_api_v1_cards__card_id__history_get","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Card Id"}},{"name":"grade","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grade"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":730,"minimum":14,"default":180,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me":{"get":{"tags":["ai-tools"],"summary":"Plan, free allowance left today, upgrade link","operationId":"api_me_api_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/collection":{"get":{"tags":["ai-tools"],"summary":"The key's account: tracked cards","operationId":"api_collection_api_v1_collection_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":25,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/alerts":{"get":{"tags":["ai-tools"],"summary":"The key's account: price alerts and recent events","operationId":"api_alerts_api_v1_alerts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/watch":{"post":{"tags":["ai-tools"],"summary":"Track a card and optionally set a price alert","operationId":"api_watch_api_v1_watch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WatchIn":{"properties":{"card_id":{"type":"string","maxLength":64,"title":"Card Id"},"grade":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Grade"},"below":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Below"},"above":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Above"}},"type":"object","required":["card_id"],"title":"WatchIn"}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Card Intel API key (ci_live_…)"},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Card-Intel-Api-Key"},"oauth":{"type":"oauth2","description":"Sign-in from an AI client; the access token is a Card Intel API key.","flows":{"authorizationCode":{"authorizationUrl":"https://app.card-intel.com/connect/mcp","tokenUrl":"https://app.card-intel.com/mcp-oauth/token","scopes":{"cards":"Card prices on your plan, your tracked cards and alerts"}}}}}},"security":[{},{"bearer":[]},{"apiKeyHeader":[]},{"oauth":["cards"]}]}