Findcheap API

A product search by image API that returns prices

The Search by image endpoint takes a photo of a product as input and searches the marketplaces of the shopper’s market for it. It returns up to 10 listings, sorted by cheapest first: listings that match the product in the photo and acceptable equivalent products.

Each listing carries its title, its price, its store and its link. Free to start: 1,000 credits a month, no payment method required.

Base URL
https://api.findcheap.ai

From a link to the photo

It is the Search by text call with a photo in place of query: image_url, a link to the photo, or image_base64, the photo’s file itself. Send only one of the three. Use it when the shopper has a photo of the product and no words for it.

POST /v1/products/search
# -H adds a header (your key, then the body's format);
# -d is the JSON body: the photo's link and the shopper's market.
curl https://api.findcheap.ai/v1/products/search \
  -H "Authorization: Bearer $FINDCHEAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url": "https://example.com/photos/headphones.jpg", "market": "US"}'
The answer, shortened
{
  "about_listings": "listings holds listings that match the product in the photo and acceptable equivalent products, cheapest first.",
  "listings": [
    {
      "title": "Skullcandy Hesh 540 ANC Wireless over-Ear Headphones with Active Noise Canceling, True Black",
      "price": 89.0, "currency": "USD", "retailer": "Walmart",
      "url": "https://www.walmart.com/ip/17521114877"
    },
    {
      "title": "Skullcandy Hesh 540 ANC Wireless Over-Ear Headphones Black S6HAW-T740",
      "price": 89.99, "currency": "USD", "retailer": "eBay",
      "url": "https://www.ebay.com/itm/900099474314"
    }
  ],
  "credits_used": 10
}

It usually answers in about 15 seconds, and has a maximum budget of 60 seconds; a search that times out returns 504 timeout.

From the photo's file

When there is no link to the photo, send the file. image_base64 is a photo of the product itself, as base64 text, when the shopper has a photo and there is no link to it: a JPEG, PNG or WebP of 10 MB at most.

curl
# Write the body to a file: the photo as base64 text on one line,
# then the shopper's market. -d @body.json sends that file.
(printf '{"image_base64": "'; base64 < photo.jpg | tr -d '\n'; printf '", "market": "US"}') > body.json
curl https://api.findcheap.ai/v1/products/search \
  -H "Authorization: Bearer $FINDCHEAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d @body.json
Python
import base64
import requests

# The photo's file as base64 text.
with open("photo.jpg", "rb") as photo:
    image_base64 = base64.b64encode(photo.read()).decode()

response = requests.post(
    "https://api.findcheap.ai/v1/products/search",
    headers={"Authorization": "Bearer fc_live_..."},
    json={"image_base64": image_base64, "market": "US"},
    timeout=90,
)
answer = response.json()

The text may begin with a data URL’s opening (data:image/jpeg;base64,).

The answer’s search then names the photo by image_file: sha256: and the first 16 characters of the SHA-256 of the file as sent.

The request's fields

image_urlOne of the twoA photo of the product, as a public https link to the image, when the shopper has a photo instead of words. Send query or image_url, not both.
image_base64One of the twoA photo of the product itself, as base64 text, when the shopper has a photo and there is no link to it: a JPEG, PNG or WebP of 10 MB at most. Send it in place of query and image_url.
marketRequiredThe shopper’s market, the country they are buying in: US, CA, AU, IN or GLOBAL. Ask the shopper when you cannot tell.
objectiveOptionalWhat the shopper wants, in one sentence: what it is for and what matters to them. Not a copy of query. Nothing personal about the shopper.
min_priceOptionalThe lowest price to include, in the market’s currency.
max_priceOptionalThe highest price to include, in the market’s currency.
max_resultsOptionalHow many listings at most, 1 to 10; 10 when omitted. Ask for fewer when only the cheapest few matter. The credits are the same whatever the cap.

What comes back

The answer, in order: the call’s id, what was searched, what the list holds, the listings, and what the call cost.

request_idThe call’s id (a UUID), the one on the account’s usage ledger. Quote it when writing to support about the call.
searchWhat was searched: image_url (the photo’s link as sent) or, for a photo sent as image_base64, image_file (sha256: and the first 16 characters of the SHA-256 of the file as sent), then market, min_price and max_price (the price range as sent, null when none was) and max_results (the cap on the list, 10 when none was sent). Read it before the listings.
about_listingsWhat the list holds for this search, in a sentence. Read it before the list.
listingsThe listings found for the photo, cheapest first, up to 10. Empty when none was found.
credits_usedThe credits this call cost the account: 10 for a search, by words or by photo, with or without listings.

Each entry of listings holds:

titleThe listing’s title.
priceThe listing’s price, in the market’s currency.
currencyISO 4217 code.
retailerWhere the product is being sold.
urlThe listing’s link. null for a listing that carries resolve_id; see Resolve.
resolve_idPresent when url is null; see Resolve.
imageThe image address of the listing’s main product photo.
ratingThe retailer’s own rating figure: a review average out of 5 on most, the seller’s feedback percentage on eBay.
shipping_costWhat the retailer charges to ship the listing within the market’s country, without a paid membership. 0 when it ships free.

A listing here has the card structure of Search by URL without over_page_price and normalized_price: there is no page to compare a price with. Every field of a listing, with its type, is in the API reference.

What a photo may be

  • A photo sent as a file is a JPEG, PNG or WebP of 10 MB and 40 megapixels at most.
  • A photo sent as a link is a public https link that opens the image itself.

A request with more than one of query, image_url and image_base64, or with none of them, is refused (400 invalid_request), free, as is an image_url that is not one https link or an image_base64 that is not base64 text. When the photo cannot be loaded, the call answers 400 invalid_request, free: “The photo could not be loaded. Send a public https link that opens the image itself.”

A file that is not a JPEG, PNG or WebP is refused the same way: “The photo could not be read. Send a JPEG, PNG or WebP image.” So is one over the limits: “The photo is too large. Send a JPEG, PNG or WebP of 10 MB and 40 megapixels at most.”

A search by image costs 10 credits, with or without listings: an empty list means no listing that matches the photo was found.

What is done with the photo

A photo you send is shared with the stores and search services Findcheap uses to run the search.

A photo sent as image_base64 is redrawn before it is searched or kept: the data a camera stores in the file beside the picture (where and when it was taken, the device) is removed.

For an assistant: a photo in the conversation

For an assistant such as ChatGPT, Claude or Cursor, the same search is the search_products tool of the Findcheap MCP server. It also searches from a photo of the product, sent in place of query: image_url is a link to the photo, and image_file is a photo attached to the conversation.

From an attached photo

“What is the cheapest place to buy the chair in this photo?”

The assistant calls search_products.

From a photo's link

“Find these for less: https://example.com/photos/headphones.jpg”

The assistant calls search_products.

With a price limit

“Find the lamp in this photo for under $50.”

The assistant calls search_products.

image_file is a photo of the product that the shopper attached to the conversation. ChatGPT fills it with the photo the person attached. An assistant that cannot pass a file sends a link in image_url.

Countries and stores

Every call runs in a market, the country where the shopper is located.

USUSDAmazon, Walmart, eBay, AliExpress, Shein, and other sites
CACADAmazon, AliExpress, other sites
AUAUDAmazon, eBay, AliExpress, other sites
ININRAmazon, Flipkart, other sites
GLOBALUSDAmazon, eBay, AliExpress, other sites; the page is fetched from the store’s own country when its address names one

Benchmark results

PriceBench N=100 human-verified results: savings capture on the equivalent-product track, median search latency, and cost per search.

PriceBench results by agent
AgentSavings captureMedian search latencyCost per search
Findcheap92.8%15.6s$0.03
GPT-6 Astra43.9%87.5s$1.32
Perplexity34.1%74.7s$0.38
Claude Opus 520.2%232s$1.41
Gemini 3.1 Pro10.7%80s$0.08

PriceBench is an open source benchmark developed by Findcheap, to help fill the need for multimodal product search evals: github.com/llmbender/pricebench

What it costs

Free: 1,000 credits a month, no payment method. A search costs 10 credits. No overage charges.

Free$01,000 (100 searches)
Developer$19/month5,000 (500 searches)
Startup$99/month40,000 (4,000 searches)
Growth$499/month250,000 (25,000 searches)

FAQ

Is there an API that searches for a product by image and returns shopping results with prices?
Yes. The Findcheap API’s Search by image endpoint takes a photo of a product as input and searches the marketplaces of the shopper’s market for it. It returns up to 10 listings, sorted by cheapest first: listings that match the product in the photo and acceptable equivalent products.
Can I send the image file itself, or only a link?
Either. The call takes image_url, a link to the photo, or image_base64, the photo’s file itself: a JPEG, PNG or WebP of 10 MB at most.
Which image formats and sizes does it accept?
A JPEG, PNG or WebP of 10 MB and 40 megapixels at most. A file of another kind, or a larger one, is refused and costs nothing.
Does it return the exact product or similar ones?
Both, in one list: listings that match the product in the photo and acceptable equivalent products, cheapest first.
What does each result hold?
The listing’s title, its price in the market’s currency, where the product is being sold, the listing’s link and the image address of the listing’s main product photo. A listing without a link carries a resolve_id instead: calling the Resolve endpoint with a resolve_id returns a direct link to the corresponding product on the merchant’s website and the merchant’s name. Where the retailer gives them, a listing also holds its rating figure and what it charges to ship.
Can I limit the results to a price range?
Yes, with min_price and max_price. min_price: the lowest price to include, in the market’s currency. max_price: the highest price to include, in the market’s currency. When every listing found was outside the price range, about_listings says so.
What happens to the photo I send?
A photo you send is shared with the stores and search services Findcheap uses to run the search. A photo sent as image_base64 is redrawn before it is searched or kept: the data a camera stores in the file beside the picture (where and when it was taken, the device) is removed.
How long does a search by image take, and what does it cost?
It usually answers in about 15 seconds, and has a maximum budget of 60 seconds. A search by image costs 10 credits, with or without listings.
Can an AI assistant search from a photo in the conversation?
Yes, with the search_products tool of the Findcheap MCP server: image_url is a link to the photo, and image_file is a photo attached to the conversation. ChatGPT fills it with the photo the person attached. An assistant that cannot pass a file sends a link in image_url.
Which countries does it cover?
Five markets. market is required: the shopper’s market, the country they are buying in: US, CA, AU, IN or GLOBAL. Prices come back in the market’s currency.
Are the links affiliate links?
Paid plans carry no affiliate links: every link is the listing’s own address. On the Free plan, links to some retailers may be affiliate links.