Skip to Content
Photo search
Open in ChatGPTOpen in ClaudeUpdated November 29, 2026

Photo search

Send a photo to POST /scrape/image and you get back what is in it (a search keyword, a category and the details it read, such as brand, model, set or grade) and the eBay sold listings for that item, in the same answer. It is the fastest way to price something you are holding: take a picture, get its comps.

POSThttps://api.sellercomps.com/scrape/image
At a glance
InputA photo file (multipart field image, or the raw image as the body) or a public imageUrl
Outputidentified (what is in the photo) plus the same sold listings as GET /scrape
Cost2 requests on success: one to read the photo, one for the search. Nothing when it fails or the photo cannot be identified
LimitsPhotos up to 8 MB in a common image format (JPEG, PNG, WebP), 20 photos a minute per account on top of your plan’s speed
Product pagePhoto search overview

Send an image URL

The simplest way: a public https link to the photo.

curl -X POST "https://api.sellercomps.com/scrape/image?imageUrl=https%3A%2F%2Fi.ebayimg.com%2Fimages%2Fg%2FA3AAAeSw9nhq%7E6YM%2Fs-l1600.jpg&count=50" \ -H "Authorization: Bearer YOUR_API_KEY"

Upload a photo file

Send the file as multipart form data in a field named image, or as the raw body with its image content type.

curl -X POST "https://api.sellercomps.com/scrape/image?count=50" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "[email protected]"
# The raw photo as the body works too: curl -X POST "https://api.sellercomps.com/scrape/image" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: image/jpeg" \ --data-binary "@photo.jpg"

A JSON body {"imageUrl": "https://..."} is accepted as well.

Parameters

Every option of the sold search works here, as query parameters, and applies to the search that runs after the photo is read:

ParameterValuesDefault
imageUrlA public https link to the photo, instead of uploading itNone
ebaySiteAny of the 8 eBay countriesebay.com
count, pageSales per page (1 to 240) and page240, 1
soldfalse returns listings for sale now instead of salestrue
itemCondition, buyingFormat, sortOrderAs on sold listingsAny
minPrice, maxPrice, soldAfter, soldBeforePrice band and date rangeNone
itemLocation, categoryIdLocation and one eBay categoryAny
bestOfferPricetrue adds the accepted Best Offer pricefalse

Options are checked before the photo is read, so a wrong option answers 400 straight away and never costs a read.

Response

Example response112 lines, long lists cut to a few rowsReal answer, Nov 29, 2026
POST /scrape/image?imageUrl=https%3A%2F%2Fi.ebayimg.com%2Fimages%2Fg%2FDVAAAeSw1MJqw5xa%2Fs-l1600.jpg&count=3
{ "identified": { "keyword": "Nintendo Switch OLED Model White", "confidence": 0.84, "category": "electronics", "details": { "brand": "Nintendo", "model": "Switch OLED Model", "variant": "White Joy-Con", "color": "White" } }, "requestsCharged": 2, "keyword": "Nintendo Switch OLED Model White", "ebaySite": "ebay.com", "count": 3, "page": 1, "hasNextPage": true, "totalResults": 2700, "results": [ { "itemId": "327422329001", "url": "https://www.ebay.com/itm/327422329001?nordt=true", "thumbnailUrl": "https://i.ebayimg.com/images/g/DVAAAeSw1MJqw5xa/s-l500.jpg", "fullResThumbnailUrl": "https://i.ebayimg.com/images/g/DVAAAeSw1MJqw5xa/s-l1600.jpg", "epid": null, "title": "Nintendo Switch OLED Console - 64GB - White", "condition": "Pre-Owned", "conditionId": 3000, "sellerType": null, "buyingFormat": "buyItNow", "bestOfferAccepted": null, "bidCount": null, "categoryId": null, "listingType": "sold", "shippingPrice": "112.51", "shippingCurrency": "USD", "shippingType": "paid", "totalPrice": "245.47", "sellerUsername": "powerup149", "sellerPositivePercent": 100, "sellerFeedbackScore": 127, "productRating": 4.5, "productReviewCount": 7, "itemLocation": "Australia", "scrapedAt": "2026-11-29T06:37:27.584160+00:00", "endedAt": "2026-11-28", "soldPrice": "132.96", "soldCurrency": "USD" }, { "itemId": "267857649709", "url": "https://www.ebay.com/itm/267857649709?nordt=true", "thumbnailUrl": "https://i.ebayimg.com/images/g/QAEAAeSwBllrC6Iz/s-l140.jpg", "fullResThumbnailUrl": "https://i.ebayimg.com/images/g/QAEAAeSwBllrC6Iz/s-l1600.jpg", "epid": null, "title": "Nintendo Switch OLED Model Console System, White Joy-Con, HDMI Connectivity", "condition": "Open Box", "conditionId": 1500, "sellerType": null, "buyingFormat": null, "bestOfferAccepted": true, "bidCount": null, "categoryId": null, "listingType": "sold", "shippingPrice": "7.22", "shippingCurrency": "USD", "shippingType": "paid", "totalPrice": "187.22", "sellerUsername": "willjame.cqntdc", "sellerPositivePercent": 100, "sellerFeedbackScore": 45, "productRating": null, "productReviewCount": null, "itemLocation": "United States", "scrapedAt": "2026-11-29T06:37:27.584160+00:00", "endedAt": "2026-11-28", "soldPrice": "180.00", "soldCurrency": "USD" }, { "itemId": "198822480550", "url": "https://www.ebay.com/itm/198822480550?nordt=true", "thumbnailUrl": "https://i.ebayimg.com/images/g/7y8AAeSwEmVrBiR3/s-l140.jpg", "fullResThumbnailUrl": "https://i.ebayimg.com/images/g/7y8AAeSwEmVrBiR3/s-l1600.jpg", "epid": null, "title": "Nintendo Switch OLED Model White Console w/ Joy-Con Boxed TV/Tabletop/Handheld", "condition": "Brand New", "conditionId": 1000, "sellerType": null, "buyingFormat": null, "bestOfferAccepted": true, "bidCount": null, "categoryId": null, "listingType": "sold", "shippingPrice": "9.20", "shippingCurrency": "USD", "shippingType": "paid", "totalPrice": "289.19", "sellerUsername": "asmrashee_1", "sellerPositivePercent": 100, "sellerFeedbackScore": 16, "productRating": null, "productReviewCount": null, "itemLocation": "United States", "scrapedAt": "2026-11-29T06:37:27.584160+00:00", "endedAt": "2026-11-28", "soldPrice": "279.99", "soldCurrency": "USD" } ] }
FieldMeaning
identified.keywordThe search the photo was read into; the sales below are for this keyword
identified.confidenceHow sure the reading is, from 0 to 1
identified.categoryWhat kind of item it is
identified.detailsWhat was read from the photo, such as brand, model, set, card, grader or grade
requestsChargedAlways 2 on a success
keyword, ebaySite, count, page, hasNextPage, totalResults, resultsThe sold search, exactly as GET /scrape returns it

Check identified.keyword before you trust the comps: if the photo shows a different edition or grade than you expected, run GET /scrape with the keyword you want (one request).

Better photos, better matches

  • One item per photo, filling most of the frame, on a plain background.
  • For cards, the front with the whole label of a slab readable; for sneakers, the side view.
  • Boxes and labels help: a set number, a style code or a model name narrows the search.

Errors

StatusCodeWhenWhat to do
400invalid_paramsNo photo and no imageUrl, an imageUrl that is not a public https link, or a wrong search optionFix the request
400 or 422image_unavailableThe imageUrl could not be downloaded. Not countedCheck the link, or upload the file
411invalid_paramsAn upload without a Content-Length headerLet your client set the length
413invalid_imageThe photo is larger than 8 MBSend a smaller photo
415invalid_imageThe file could not be read as an imageSend a JPEG, PNG or WebP photo
422image_not_identifiedNothing sellable could be read from the photo. Not countedTry a clearer photo, or search by keyword
429rate_limitedOver your plan’s speed or 20 photos a minuteWait for Retry-After
502, 503, 504upstream_blocked, server_busy, upstream_timeoutReading or searching failed this time. Not countedRetry

Every error has the same body (error, code, requestId): see errors and retries.