SearchAPI.io
Search across many engines; the api_key comes from the gateway
Fronts the search endpoint of SearchAPI.io; the gateway fills in the secret api_key parameter on the query string:
Only GET is mounted. The query string carries every control and goes upstream verbatim: engine (selecting google, google_maps, bing, …), q, location, num, and the rest. Beyond the key, the gateway adds no parameter and defaults no value — the call lands on SearchAPI.io exactly as if made directly.
Credential handling
Two credential channels exist on SearchAPI.io’s side — the api_key query parameter and a bearer token in Authorization. The gateway fills the first and deletes the second, closing off both:
api_keyis placed first in the query string, so it can’t be swallowed by a value with broken encoding.- 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, which simultaneously shuts the second SearchAPI.io auth channel.
Examples
Google search
Google Maps
SearchAPI.io’s JSON comes back untouched. Per-engine parameters are listed in SearchAPI.io’s documentation.