# SerpApi through toolfare

> A real search results page from Google, Bing, YouTube, Amazon, Maps and more — organic positions, ads, People Also Ask, knowledge panels and local packs, for the country and language you name — answered inside ChatGPT, Claude, Codex or Cursor. No SerpApi plan or key of your own: toolfare runs each search and quotes it first.

Page: https://toolfare.ai/serpapi

## Use it from your agent

Paste this into Claude Code, Codex, Cursor or any agent with a shell:

> Set up https://toolfare.ai/skill.md, then use toolfare to answer: What ranks on Google for marketing automation?

Apps without a terminal connect toolfare as an MCP server: https://toolfare.ai/docs#connect

## Use it from a script

```sh
mkdir -p ~/.local/bin
curl -fsSL 'https://toolfare.ai/toolfare/toolfare.mjs' -o ~/.local/bin/toolfare
chmod +x ~/.local/bin/toolfare
export PATH="$HOME/.local/bin:$PATH"
export TOOLFARE_MCP_URL='https://api.toolfare.ai/mcp'
toolfare login
```

Sign in once per machine; the CLI renews the sign-in itself. On a CI runner or another server, create an API key in the toolfare console and set it as `TOOLFARE_API_KEY` instead of signing in. Paid calls on one sign-in or key run one at a time. `--max-cost` refuses a call quoted above that many credits (1,000 credits = $3).

## Tools

### The whole results page, as data

Tool: `serpapi_search`

Runs a query on Google — or Bing, YouTube, Amazon, Maps and others — and returns the page as structured data: organic results with positions, ads, knowledge panels, People Also Ask and local packs.

Ask:
- What ranks on Google for marketing automation?
- Get the results page for this keyword in Japan.
- Which competitors are running search ads on our company name?

## Price

Quoted to your AI before the search runs, then charged per synchronous search at SerpApi’s rate. One charge per search, at the rate the provider’s billing module holds for SerpApi’s synchronous searches. No fixed price table, on purpose: the rate lives in the provider’s billing module, so a reprice needs no change here. A search that fails is never charged.

Balances and top-ups are in US dollars. Quotes and `--max-cost` count credits: 1,000 credits = $3 ($0.003 each).

## Use it when

- You need to know what actually ranks for a keyword, in position order.
- You want the results-page features — ads, People Also Ask, a knowledge panel — not just the links.
- You are checking rankings from a specific country or language.

## Look elsewhere when

- You want results by meaning rather than what Google ranks. That is a neural web search.
- You want the pages’ content rather than the results that point to them.
- You want your own site’s search data. Search Console is free and more accurate for your own site.

## Limits

- Each call is one results page for one query; checking many keywords is many searches.
- Results reflect the moment of the search and the location you asked for.
- Pay as you go from your toolfare balance, in US dollars; there is no subscription. A call runs when your balance covers its quote.
