Skip to main content

Custom Headers

The ScrapeOps Proxy API enables you to use your own custom headers when making requests instead of the optimized one we attach to the request.

You can use your own custom headers by adding keep_headers=true to your request, then the API will use any custom headers you have set in your request.

This functionality is useful if the data the website responds with is dependant on the specific headers, or you need to maintain session cookies, etc.


curl --header "X-MyHeader: 123" \
"https://proxy.scrapeops.io/v1/?api_key=YOUR_API_KEY&url=http://httpbin.org/anything&keep_headers=true"