Skip to navigation

Run a SearchAPI.io search

View as Markdown

Relays to https://www.searchapi.io/api/v1/search, placing the secret api_key at the head of the query string. GET only; controls go through the query string verbatim. Send your own api_key and it is discarded; Authorization is stripped off.

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Query parameters

enginestringOptional

Engine to query — google, bing, google_maps, among others.

qstringOptional
The query text.

Response

Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as JSON; the true shape is the upstream provider’s to define.

Errors

401
Unauthorized Error
404
Not Found Error