# The 4A SERP API

> URL: https://foura.ai/serp
> Index: https://foura.ai/llms.txt

`POST https://eu.api.foura.ai/api/serp` runs a Google search and returns the result page as JSON: the organic results with the addresses they lead to, Google's AI Overview with its sources, ads, shopping ads, related searches, People also ask, local results, the knowledge panel and top stories.

- The same X-API-Key header as the other endpoints.
- Request fields: `q` (required), `country`, `language`, `page` (1 to 10), `filter`, `freshness`, `verbatim`, `tbs` (Google's codes, date ranges included), `surface` (All or Web tab), `udm`, `timeout_ms`, `ai_overview`, `html`, `boost`, and the place the search is made from: `exitState`, `exitCity`, `exitAsn`, `exitOs`.
- Counted in searches, not credits: a search counts when it is answered (HTTP 200, also with no results) or when the caller closes the connection after it reached Google. A failed search counts nothing. `boost: 2` gets the result addresses faster and counts as two.
- Every plan includes searches each month; paid plans add packs of 1,000 at the plan's own price (see Pricing).
- Timing, today's figures, not a promise: a first search for a query takes about 50 to 70 seconds; with `boost: 2` about half finish in under 25 seconds. Set a client timeout of at least 90 seconds and send `timeout_ms: 85000`.
- A 429 with X-FourA-Limit is the caller's plan; a 429 without it is Google refusing that search, and a retry is the answer.
- AI agents: the 4A MCP server's `foura_serp` tool runs the same search.
- Product page: https://foura.ai/serp
- Full reference: https://foura.ai/docs/api/serp
