Serper
Proxies Serper. One Serper key spans many Google SERP verticals, each its own endpoint, plus a webpage scraper. The gateway exposes them all under /serper, injecting the secret X-API-KEY header.
Bare /serper is kept as an alias for /serper/search — Serper’s original single-endpoint contract — so existing clients keep working.
Endpoints
The gateway accepts exactly this whitelist; any other subpath returns the gateway’s 404 without reaching Serper.
Serper’s /account endpoint (remaining credit balance) is deliberately not proxied — it’s account-wide billing metadata, not a search interface, and per-client tokens have no business reading the shared balance.
Request forms
Serper accepts two request forms, and both are forwarded:
POSTwith a JSON body — the form Serper’s docs lead with. A JSON array body (batched search) is forwarded like any other body.GETwith controls in the query string — passed through byte-for-byte.
A client-supplied apiKey query param is dropped and a client X-API-KEY header is overwritten, so the injected key is the only credential Serper sees. The Authorization header (your gateway token) is stripped before forwarding.
Examples
Search (POST)
News (POST)
Search (GET)
Webpage scrape
Batched search
The response is Serper’s JSON, returned unchanged. For request and response fields, follow Serper’s documentation — the gateway does not alter them.