Custom Cookies

If you would like to send custom cookies to the target website, simply add them as parameters to the request or as the “Wsa-Cookie” header (see Custom-Headers section).

In the right-side box, you will find an example request used to scrape the URL https://httpbin.org/cookies, which will mirror the cookies sent.

Custom Cookies examples

Custom Cookies

GET external-link
https://api.webscrapingapi.com/v1?api_key={{api_key}}&url=http%3A%2F%2Fhttpbin.org%2Fcookies
Code to integrate
external-link
Response Example external-link
{
    "cookies": {
        "name1": "value1",
        "name2": "value2"
    }
}