Skip to main content
Version: v2

Custom cookies

Custom cookies usage via ScrapingAnt API to send them as a parameter.


You can send custom cookies to the target webpages. ScrapingAnt API only handles the name and value of custom cookies. If you want to set multiple cookies separate them with ;.

Cookies should be provided using the following format: cookie_name1=cookie_value1;cookie_name2=cookie_value2

Don't forget to urlencode cookies param, so for example above it will look like the following:


We're highly recommending chaining the scraping requests with a cookies.

For example: to grab the cookies from the main/landing page of the target site and then pass those cookies while scraping of other pages.

You can get cookies from the website using JSON response endpoint.