SerpApi
SERP data across engines; the api_key comes from the gateway
Fronts the search endpoint of SerpApi; the gateway fills in the secret api_key parameter on the query string.
Only GET is mounted — no POST for search appears in SerpApi’s docs. The query string carries every control and goes upstream verbatim: engine (which SerpApi itself defaults to google), q, output (json by default; html returns the raw page), location, and the rest. Beyond the key, the gateway adds no parameter and defaults no value — the call lands on SerpApi exactly as if made directly.
Credential handling
api_keyis placed first in the query string.- An
api_keysupplied by the client in the query is discarded (any encoding), so nothing can displace the injected key. Authorizationis removed before the request goes upstream; SerpApi does nothing with your gateway token.
Examples
Google search
With location
Different engine
SerpApi’s JSON comes back untouched — or HTML, under output=html. Per-engine parameters are listed in SerpApi’s documentation.