Findcheap API
The Findcheap API has two capabilities:
- Extract — takes a product page URL as input and returns structured product data from the page.
- Search — takes a product page URL as input and searches the internet to find where the product is available for a lower price. For some products, the agent only returns top-level data, and a subsequent call to the Resolve endpoint is needed if further details are desired.
Every call is an HTTPS POST with a JSON body and a JSON answer.
The examples on this page use our sample product page, https://findcheap.ai/sample-product: a copy of a real product page that does not change. A page read of it answers the same every time; a search’s results are live, so yours will differ from the ones shown here. Use the address of any product page in its place.
Authentication
Every request carries an API key in the Authorization header. Keys begin with fc_live_; create one in your dashboard (a free account comes with 1,000 credits a month, no card). The key is shown once, at creation.
Authorization: Bearer fc_live_xxxxxxxxxxxxxxxxA request without a valid key is answered 401. The key goes in the header only; it is not accepted in the URL.
Credits, rate limits and keys belong to your account, not to a key, so two keys of one account share them. Your dashboard shows the period’s usage and call logs.
SDKs
Official clients for Python and JavaScript wrap the three calls: pip install findcheap and npm install findcheap. Each is a few hundred lines over the platform’s own HTTP client with no other dependency, returns the answer exactly as the API sends it, and raises a failed call as an exception carrying the error’s type, message, credits and request id. Their timeouts sit above the API’s own limits.
# pip install findcheap
from findcheap import Findcheap
fc = Findcheap() # reads FINDCHEAP_API_KEY; or Findcheap(api_key="fc_live_...")
answer = fc.search("https://findcheap.ai/sample-product", max_results=3)
print(answer["product"]["title"], "read in", answer["search"]["market"])
for card in answer["same_product"]:
print(card["price"], card["currency"], card["retailer"], card["url"] or card["resolve_id"])The code and the issue tracker: github.com/llmbender/findcheap-sdks. The packages: pypi.org/project/findcheap and npmjs.com/package/findcheap.
Markets
Every call runs in a market, the country where the shopper is located. The agent reads the product page from the country specified in the market param. This is important to note because many stores show different product details to users from different countries (ex. different prices and currencies).
Set it with the market field. If left unspecified, the agent uses the page’s TLD to determine its market (.in → India, .co.uk → UK, .com.au → Australia, .ca → Canada); all other addresses default to the US.
The table below shows each market, its corresponding currency, and the primary marketplaces the agent searches in that market when Search is called.
| market | Currency | Marketplaces Search compares against |
|---|---|---|
| US | USD | Amazon, Walmart, eBay, AliExpress, Shein, and other sites |
| CA | CAD | Amazon, AliExpress, other sites |
| AU | AUD | Amazon, eBay, AliExpress, other sites |
| IN | INR | Amazon, Flipkart, other sites |
| GLOBAL | USD | Amazon, eBay, AliExpress, other sites; the page is fetched from the store's own country when its address names one |
For agents
Everything on these pages is also published for an AI agent or a coding assistant to read directly:
- llms.txt - an index of the documentation, and llms-full.txt, all of it in one file.
- Markdown: append
.mdto a docs address, e.g. /developers/docs.md or /developers/mcp.md. - The OpenAPI 3.1 spec at api.findcheap.ai/v1/openapi.json, for SDK generators and tool definitions. No key needed.
- An agent skill, for Claude Code, Cursor and other coding assistants: /skills/findcheap/SKILL.md, or installed with
npx skills add llmbender/findcheap-sdks --skill findcheap. - The same three calls as tools, for an assistant in a conversation: the MCP server.
Or let your agent do the setup: click the button below to copy the setup prompt and paste it into the agent of your choice.
Extract
The Extract endpoint takes a product page URL as input and returns structured product identity data. It answers within 30 seconds, and has a median response time of 4 seconds. A page that cannot be reached in time answers 502 unreachable, and a page that is reached but cannot be read in time answers 504 timeout.
Request body
The product page’s address, https only. A short link or a share link is followed to the page it names.
"US", "CA", "AU", "IN" or "GLOBAL". If omitted, the market is inferred from the URL; otherwise, it defaults to US (see Markets).
Response
| Field | Type | Meaning |
|---|---|---|
| request_id | string | The call's id (a UUID), the one on the account's usage ledger. Quote it when writing to support about the call. |
| is_product_page | boolean | true when the address is one product's own page. false for a home page, a category or search page, a cart, an article, or a page that is gone; the other fields are then null. |
| url | string | The page the read ended on, after any redirects. |
| market | string | The market the page was read in. |
| title | string | null | The product's name as the page states it. |
| image | string | null | The image address of the main product photo. |
| price | number | null | The standing price a shopper in the market pays: not a first-order, coupon or membership price. null when the page does not show one. |
| currency | string | null | ISO 4217 code of price. |
| brand | string | null | The brand, when the page names it. |
| in_stock | boolean | null | true when the page says the product can be bought now, false when it is out of stock or discontinued, null when the page does not say. |
| reason | string | null | Why a read fell short: gone (the store says the page no longer exists), not_a_product_page, incomplete (a product page whose title or photo could not be read), price_in_another_currency (the price shown was another market's version and was withheld). null on a clean read. |
| credits_used | number | What the call cost the account: 1 for a page read, whether or not the page sells a product. |
A page that could not be fetched at all is not a 200: it is a 502 unreachable, so you can tell “gone” from “try again later”.
Example call
# -H adds a header (your key, then the body's format); -d is the JSON body.
# market is the shopper's country; omit it and the address decides (see Markets).
curl https://api.findcheap.ai/v1/extract \
-H "Authorization: Bearer $FINDCHEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://findcheap.ai/sample-product", "market": "US"}'Example response
{
"request_id": "d5515311-0eb4-4c9e-b5c2-acf035deaf51",
"is_product_page": true,
"url": "https://findcheap.ai/sample-product",
"market": "US",
"title": "Nike Dunk High By You Custom Men's Shoes",
"image": "https://findcheap.ai/demo-photos/nike-dunk-high-by-you.png",
"price": 160.0,
"currency": "USD",
"brand": "Nike",
"in_stock": true,
"reason": null,
"credits_used": 1
}Search
The Search endpoint takes a product page URL as input and searches the internet to find where the product is available for a lower price. It mirrors the functionality of the Chrome extension. It has a maximum budget of 60 seconds, but usually completes much sooner; a search that times out returns 504 timeout.
First, the agent calls Extract to read the product page. Then, it searches the internet according to the marketplaces specified in the request. Results are sorted into two arrays, each containing up to 10 results:
same_product— listings that match the original product. Sorted by cheapest first.similar_products— acceptable equivalents of the original product. Sorted by cheapest first.
Request body
The product page’s address.
The region that was used to read the original product page, and search for cheaper results. Search results are displayed in this market’s currency.
Tells the agent which marketplaces to search. Only marketplaces available in the consumer’s market count (see Markets). If omitted, the agent autonomously chooses which marketplaces to search for best results, as it does in the Chrome extension.
Accepted values: "amazon", "walmart", "ebay", "aliexpress", "shein", "flipkart", "other_sites". An unknown name is a 400.
If condition is set to "used", the agent searches for where the product can be bought secondhand. about_lists says what each list holds on a used search. This search mode is not available in India, and is refused for grocery and consumable products.
How many listings at most in each list, 1 to 10; 10 when omitted. Ask for fewer when only the cheapest few matter. The search is the same, and so are the credits.
Response
The answer opens with what was searched - the call’s id, the request as the agent took it, the page as read and the product’s name - then the two lists and what can be done next, then what the call cost. Read the header before the cards: it is how you check that the agent searched the product you meant, in the market you meant.
| Field | Type | Meaning |
|---|---|---|
| request_id | string | The call's id (a UUID), the one on the account's usage ledger. Quote it when writing to support about the call. |
| search | object | What was searched: url (the address as sent), market (the one sent, or the one inferred from the address when none was), condition (new or used) and max_results (the cap on each list, 10 when none was sent). |
| product | object | The page as read by the Extract call, plus pack_count (number | null): the number of units in the page product's pack (42 for a 42-count tub), the quantity each listing's normalized_price is adjusted to. Null when the page sells a single item or no count could be read. |
| product_name | string | null | The name of the product in a usable format, e.g. "JLab JBuds Lux ANC". |
| about_lists | string | What the two lists hold for this search, in a sentence or two. Read it before the lists. Both lists come already matched and in order: show them as they are and do not re-check or re-sort them yourself. |
| same_product | card[] | A list of up to 10 alternative locations where the original product is available, sorted by lowest price first. |
| similar_products | card[] | A list of up to 10 places where similar products are available, sorted by lowest price first. Use or show first the ones that cost less than the page (over_page_price false). The ones at or over its price are for a shopper or a task that wants alternatives whatever the price. |
| page_is_cheapest | boolean | true when the original page already has the lowest price Findcheap found for the product. |
| next_steps | step[] | What can be done next for this product, each with the call that does it. Use these yourself when it serves the task the user gave you, or offer them to the user as next steps. Each runs another search. Empty when nothing applies. See Step structure, below. |
| credits_used | number | What the call cost the account: 10 for a search. |
Card structure
Every listing in same_product and similar_products has the following shape:
| Field | Type | Meaning |
|---|---|---|
| title | string | The listing's title. |
| price | number | The listing's price, in the market's currency. |
| currency | string | ISO 4217 code. |
| url | string | null | The listing’s link. null for a listing that carries resolve_id; see Resolve. On the Free plan it may be an affiliate link; see Links. |
| resolve_id | string | null | Present when url is null; see Resolve. |
| image | string | The image address of the listing's main product photo. |
| retailer | string | Where the product is being sold. |
| rating | number | null | The retailer's own rating figure: a review average out of 5 on most, the seller's feedback percentage on eBay. |
| ratings_count | number | null | Reviews or feedback entries behind rating. |
| over_page_price | boolean | null | true when the card is greater than or equal to the original page's price (pack-adjusted), false when cheaper, null when the page's price was unknown. |
| unit_size | string | null | Pack or size context for multi-pack products, e.g. 12 oz. |
| pack_count | number | null | Units per pack, when detected. |
| normalized_price | number | null | The listing's price for the page product's quantity (product.pack_count), for comparing different pack sizes. |
| coupon | string | null | The best coupon for the listing, if any are available. Discounts with strings attached are ignored (ex. “subscribe and save!”). |
| promo_code | string | null | The best promo code for the listing, if any are available. Promo codes with strings attached are ignored. |
| price_before_discount | number | null | The listing price before the coupon or promo code was applied (the main price field is the price after applying the discount). null when there is no discount. |
| discount_type | "percent" | "fixed" | null | Whether the discount is a percentage or fixed amount. |
| discount_value | number | null | 6 for 6% off; 30 for 30 off in the card's currency. |
Step structure
Every entry of next_steps has the following shape:
| Field | Type | Meaning |
|---|---|---|
| label | string | The step in a few words, as a person reads it. Also the words for a button. |
| tool | string | The MCP tool that runs it. On the API, find_cheaper is POST /v1/search with the same fields. |
| arguments | object | The fields to send. |
| choose | object | null | Only on a step that needs a choice, else null: the stores of this market, under marketplaces. Send the ones to keep as marketplaces, with the fields in arguments. |
When the address is not a product page, Search answers 422 not_searchable and names the reason, so one call tells you both whether the page sells something and what Findcheap found. That answer costs 1 credit, as a page read does, because the page was read. Every other error costs nothing.
Example call
# -H adds a header (your key, then the body's format);
# -d is the JSON body. A search takes 20–45 s.
curl https://api.findcheap.ai/v1/search \
-H "Authorization: Bearer $FINDCHEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://findcheap.ai/sample-product"}'Example response
{
"request_id": "4ccce67c-650c-4ffb-9b59-0fb1ce138989",
"search": {
"url": "https://findcheap.ai/sample-product",
"market": "US", "condition": "new", "max_results": 10
},
"product": {
"title": "Nike Dunk High By You Custom Men's Shoes",
"price": 160.0, "currency": "USD", "brand": "Nike",
"image": "https://findcheap.ai/demo-photos/nike-dunk-high-by-you.png",
"url": "https://findcheap.ai/sample-product",
"market": "US", "in_stock": true, "pack_count": null
},
"product_name": "Nike shoes",
"about_lists": "same_product holds listings from the original product's brand that look the same or similar. similar_products holds look-alikes from any brand.",
"same_product": [
{
"title": "Nike Dunk Hi Retro Blue/White Leather Men’s US 11 Sneaker DD1399-102",
"price": 69.0, "currency": "USD",
"url": "https://www.ebay.com/itm/178217128667",
"image": "https://i.ebayimg.com/images/g/VGwAAeSwwNtqLLg0/s-l500.jpg",
"retailer": "eBay", "rating": 100.0, "ratings_count": 72,
"over_page_price": false
}
],
"similar_products": [
{
"title": "Nike By You Dunk High Sail Black FV5511 900 Men's Size 11.5",
"price": 59.99, "currency": "USD",
"url": "https://www.ebay.com/itm/960155951937",
"image": "https://i.ebayimg.com/images/g/uTkAAOSwCstkQgxh/s-l500.jpg",
"retailer": "eBay", "rating": 100.0, "ratings_count": 12201,
"over_page_price": false
}
],
"page_is_cheapest": false,
"next_steps": [
{
"label": "Find pre-owned", "tool": "find_cheaper",
"arguments": { "url": "https://findcheap.ai/sample-product", "market": "US", "condition": "used" },
"choose": null
},
{
"label": "Filter stores", "tool": "find_cheaper",
"arguments": { "url": "https://findcheap.ai/sample-product", "market": "US", "condition": "new" },
"choose": { "marketplaces": ["amazon", "walmart", "ebay", "aliexpress", "shein", "other_sites"] }
}
],
"credits_used": 10
}Resolve
For some results, the Search endpoint only returns top-level data, to maximize search efficiency. These results carry a resolve_id instead of a url. 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.
An id is valid for up to two hours after the search that produced it. In rare cases, it may expire sooner, so it is advised to resolve any desired ids shortly after the search has completed.
Request body
The card’s resolve_id.
Response
| Field | Type | Meaning |
|---|---|---|
| request_id | string | The call's id (a UUID), the one on the account's usage ledger. Quote it when writing to support about the call. |
| resolved | boolean | true when url holds the retailer's link. |
| url | string | null | The product’s link on the merchant’s website, tracking parameters stripped. null when not resolved. On the Free plan it may be an affiliate link; see Links. |
| retailer | string | null | The merchant's name, e.g. "B&H Photo". null when not resolved. |
| credits_used | number | What the call cost the account: 1 when url holds a link, 0 when the id could not be resolved. |
An id that is unknown, expired, or could not be resolved answers { "resolved": false, "url": null, "retailer": null, "credits_used": 0 } with a 200; it is never an error, and it costs nothing.
Example call
# The id is a Search card's resolve_id (a card whose url is null).
curl https://api.findcheap.ai/v1/resolve \
-H "Authorization: Bearer $FINDCHEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "7c1f0e2b4d9a4f3e8b6a2c5d9e1f0a3b"}'Example response
{
"request_id": "7a4d2e9c-1f6b-4c3a-8e5d-2b9f0c7a4e13",
"resolved": true,
"url": "https://www.bhphotovideo.com/c/product/...",
"retailer": "B&H Photo",
"credits_used": 1
}Links
On the Free plan, links to some retailers may be affiliate links: they pass through a redirect (linksredirect.com) and land on the same listing. Paid plans always return the listing’s own address.
Errors
Every error is an HTTP status with one JSON shape:
{
"error": {
"type": "not_searchable",
"message": "The address is not a readable product page (not_a_product_page). Billed as a page read: 1 credit.",
"credits_used": 1,
"request_id": "c3b8e1d4-6a2f-4e9c-b7d0-5f1a8c2e9b34"
}
}credits_used is what the failed call cost: 0 for every error but the two billed as a page read below. request_id is the call’s id, as on a 200; quote it when writing to support.
| Status | Type | Meaning |
|---|---|---|
| 400 | invalid_request | A malformed body or a missing field; the message names it. |
| 400 | invalid_url | The url is not a web address we can fetch; the message says why. |
| 400 | unknown_market | market is not one of US, CA, AU, IN, GLOBAL. |
| 401 | unauthorized | No key, or a key that is not valid (revoked keys stop within a minute). |
| 402 | credits_exhausted | The account has used its plan's credits for the period; the message names the plan and the reset date (the first of the month on the free plan, the renewal on a paid one). Nothing else changes on the wire. |
| 403 | account_suspended | The account is suspended; the message says whom to write to. |
| 422 | not_searchable | Search: the address is not a readable product page; the message names the reason. Billed as a page read, 1 credit, because the page was read. |
| 422 | refused | Search: a used-condition search on grocery or consumable products, or one with no determinable brand. Billed as a page read, 1 credit. |
| 429 | rate_limited | The account is over one of its per-minute limits (see Rate limits). Retry after the number of seconds in the Retry-After header. |
| 502 | unreachable | The page could not be fetched right now; the store refused or did not answer. A retry later may succeed. |
| 504 | timeout | The call ran past its time limit on our side: 30 seconds for Extract (the page was reached but not read in time), 60 seconds for Search. Safe to retry. |
| 500 | search_failed | Something failed on our side. Safe to retry with backoff. |
| 503 | account_service_unavailable | The key could not be checked right now (the account service did not answer). Safe to retry in a moment. |
Rate limits
Limits are per account and per minute; the month is bounded by the plan’s credits. An account over a limit is answered 429 with a Retry-After header. The plans and their prices are on the developers page.
| Plan | Credits a month | Searches/min | Other requests/min | API keys |
|---|---|---|---|---|
| Free | 1,000 (100 searches) | 5 | 30 | 1 |
| Developer | 5,000 (500 searches) | 20 | 100 | 5 |
| Startup | 40,000 (4,000 searches) | 150 | 300 | 10 |
| Growth | 250,000 (25,000 searches) | 1,000 | 1,000 | 25 |
| Enterprise | Custom | Custom | Custom | Custom |