ScrapingBee
HTML API web scraping with the api_key injected for you
Proxies ScrapingBee’s HTML API, injecting the secret api_key query parameter:
GETscrapes the target URL.POSTforwards a POST to the target.
All controls travel in the query string — the target url and any ScrapingBee parameter (render_js, premium_proxy, country_code, extract_rules, …). Your query string is passed through byte-for-byte.
What the gateway injects and strips
ScrapingBee honors three auth channels; the gateway injects one and strips the other two:
api_keyis injected first, ahead of your parameters, so a partially-encoded target URL can’t swallow it.- A client-supplied
api_keyquery param is dropped (in any encoding). - The
Authorizationheader is stripped (it’s also a ScrapingBee auth channel, and your gateway token). - The
X-API-KEYheader is dropped — the header spelling of the key.
Examples
Basic scrape
Render JS + premium proxy
The response is ScrapingBee’s, returned unchanged. For the full parameter set, see ScrapingBee’s documentation.