Image Search
Search Cards by Image
Changed onUpload an image or provide an image URL to find visually similar cards. Returns a ranked list of candidates with CardHedge catalog data where available (including each card's prices section: grade/price pairs, one per grade) and AI fallback identification otherwise.
Need a single best answer with the correct variant? Use POST /v1/cards/image-match — an AI-powered upgrade that identifies one specific card and resolves its parallel/variant (e.g. Base vs. Silver vs. Red) instead of returning a ranked list.
post/v1/cards/image-search
Request
- Base URLhttps://api.cardhedger.com
- AuthAPI key in header X-API-Key
Request body
Example request
{
"image_url": "https://example.com/card.jpg",
"k": 10
}Response
Successful search with results
Example response
{
"has_cardhedge_matches": true,
"message": "Results include CardHedge data where available, AI identification as fallback",
"query_id": "query_abc123",
"results": [
{
"card_data": {
"card_id": "1587446850514x224832321163624450",
"category": "Baseball",
"description": "Ken Griffey Jr. 1989 Upper Deck Baseball",
"image": "https://example.com/card.jpg",
"number": "1",
"player": "Ken Griffey Jr.",
"set": "1989 Upper Deck Baseball",
"variant": "Rookie Card"
},
"distance": 0.0477,
"product_id": "1587446850514x224832321163624450",
"similarity": "95.23",
"ximilar_id": "xim_abc123"
}
],
"success": true,
"total_results": 5
}Changes
- info
added the optional property
////to the response with the status
- info