Customize Header Parameter with ScraperAPI in cURL
Learn how to scrape websites using header-based parameters with ScraperAPI in cURL. Pass api_key, render, and instruction_set via headers to simplify requests.
Along with the “traditional” means of passing parameters, we also support passing parameters as headers. Passing parameters such as api_key
, render
, ultra_premium
and instruction_set
is very straightforward.
API REQUEST
Instead of including the parameters in the URL
you can just pass them as headers
PROXY MODE
Note that credentials must still be passed to the proxy in the manner shown above, not as headers.
PreviousCustomize Premium Geotargeted Scrape via ScraperAPI in cURLNextCustomize Premium Residential/Mobile Proxies in cURL
Last updated
Was this helpful?