Findcheap for LangChain

Add price comparison to a LangChain agent

Findcheap for LangChain agents: where a product is sold for less. Five tools over the Findcheap API, each a thin wrapper around the findcheap client. Python 3.10+.

An account is free: 1,000 credits a month, no card.

Install
pip install langchain-findcheap

Set it up

pip install langchain-findcheap
export FINDCHEAP_API_KEY=fc_live_...   # from https://findcheap.ai/signin?next=/dashboard/keys

The key is free: create one in your dashboard.

Use it with an agent

from langchain.agents import create_agent
from langchain_findcheap import FindcheapToolkit

agent = create_agent("anthropic:claude-sonnet-5-5", tools=FindcheapToolkit().get_tools())

result = agent.invoke({"messages": [{"role": "user", "content":
    "Find where this is available for a lower price: https://findcheap.ai/sample-product"}]})
print(result["messages"][-1].content)

Any chat model that calls tools works. This example also needs pip install langchain langchain-anthropic and an ANTHROPIC_API_KEY.

The five tools

find_cheaperFindcheapFindCheaper10Finds where the product on a page is sold for less: the same product and acceptable equivalents, cheapest first. Up to 60 seconds.
search_productsFindcheapSearchProducts10Finds listings that match a description in words, or a photo’s link, cheapest first.
read_product_pageFindcheapReadProductPage1Reads what a page sells (title, price, brand, stock), without a search.
resolve_listingFindcheapResolveListing1 when a link came backGives the merchant’s link for a card that came with a resolve_id.
submit_feedbackFindcheapSubmitFeedback0Reports how a search went. The first report on a search gives 1 credit back.

They carry the names and the descriptions of the tools of Findcheap’s MCP server, so an answer’s next_steps name these tools and their fields.

find_cheaper, read_product_page and search_products require objective: what the shopper wants, in one sentence. An agent writes it on every call.

LangChain’s documentation lists Findcheap on its page of all providers and FindcheapToolkit in its table of tools and toolkits.

Choose the tools an agent gets

submit_feedback is the one tool that writes: it sends Findcheap a report on a search. To leave it out, build the list yourself:

from langchain_findcheap import FindcheapFindCheaper, FindcheapReadProductPage

tools = [FindcheapFindCheaper(), FindcheapReadProductPage()]

Call a tool yourself

from langchain_findcheap import FindcheapFindCheaper

answer = FindcheapFindCheaper().invoke({"url": "https://findcheap.ai/sample-product", "max_results": 3,
                                        "objective": "These shoes for less, new."})
print(answer["product"]["title"], answer["page_is_cheapest"])
for card in answer["same_product"]:
    print(card["price"], card["currency"], card["retailer"], card["url"] or card["resolve_id"])

A tool answers what the API answers, untouched: every field is in the API reference.

A call the API refuses (a page that is not a product page, credits used up, a rate limit) reaches the model as the tool’s answer, in the API’s own words, so the agent can act on it; it does not stop the agent.

Each tool and the toolkit take api_key= (in place of the environment variable), timeout= (seconds, for every call) and base_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

Which package do I install?
pip install langchain-findcheap. Python 3.10+.
Do I need an API key?
Yes, in the environment variable FINDCHEAP_API_KEY. An account is free: 1,000 credits a month, no card.
Which chat models does it work with?
Any chat model that calls tools works.
Is Findcheap in LangChain’s documentation?
Yes. Findcheap is on the page of all providers in LangChain’s Python documentation, and FindcheapToolkit is in its table of tools and toolkits.
Does a refused call stop my agent?
No. A call the API refuses (a page that is not a product page, credits used up, a rate limit) reaches the model as the tool’s answer, in the API’s own words, so the agent can act on it; it does not stop the agent.
Which countries and stores does it cover?
Five markets: the US, Canada, Australia, India and Global. The table above shows the marketplaces a search compares against in each.
Is there a JavaScript version?
The LangChain tools are a Python package. In JavaScript, the official client makes the same calls: npm install findcheap.