Endpoint
X-API-Key header. See Authentication.
Request
Parameters
The search query string.
Country code for geo-targeted results (e.g.
US, GB, FR, DE). When omitted, auto-resolves based on language (e.g. fr → FR). Defaults to US if both location and language are omitted.Language code for result language (e.g.
en, fr, de). When omitted, auto-resolves based on location (e.g. FR → fr). Defaults to en if both location and language are omitted.Location & language auto-resolution: If only one of
location or language is provided, the other is automatically resolved to the most predominant pairing. For example, setting location=BR without language resolves to language=pt. Setting language=ja without location resolves to location=JP. If neither is set, they default to US and en.Response
Top-level fields
The search query that was executed.
Array of search results.
Total number of results returned.
results[]
Position in search results (1-indexed).
Domain name of the result.
Page title.
Text snippet from the result.
URL of the result.
Error Codes
| Status | Meaning |
|---|---|
400 | Invalid request — missing query parameter or bad parameter value |
401 | Missing or invalid API key |
402 | Payment required — active subscription or credits required |
403 | Search API access is not enabled for this account |
404 | Search API is not available |
429 | Rate limit exceeded |
500 | Internal server error |
503 | Search service unavailable — retry with backoff |
Rate Limits
Limits apply per API key, measured in queries per minute. When the limit is exceeded, the API returnsHTTP 429. Implement exponential backoff before retrying.
Related
Search Overview
First request, success shape, and product routing
Authentication
API key setup and troubleshooting
Error Codes
Full list of API error codes