Skip to navigation

Search Serper, query-string form (alias of /serper/search)

View as Markdown

/serper on its own is the legacy single-endpoint contract, kept alive as an alias of /serper/search → https://google.serper.dev/search. Controls can come in the query string — the GET form here — or as a JSON body via POST.

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

qstringOptional

The query text. Serper’s GET-form controls (gl, hl, num, page, …) can ride alongside in the query string; everything is passed on byte-for-byte.

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