Custom Response Headers

Inspecting the API response’ headers will reveal some custom headers that will give you more details about the request you have made.

We've added the following headers to our API's response, which reveal valuable information about your request and credit usage:

HeaderDescription

[PREFIX]-Client-Cookies

Javascript-generated cookies, after the target website is loaded

[PREFIX]-Scraped-Headers

The response headers of the scraped URL

[PREFIX]-Scraped-Resolved-Url

The final scraped URL (in case of redirects)

[PREFIX]-Call-Credit-Usage

The credit usage for the respective request

[PREFIX]-Current-Credit-Usage

Your total credit usage, after you make the request

Depending on the API you use, the prefix can be:

  • WebScrapingAPI: WSA

  • Amazon API, SERP API or other ecommerce APIs: Searchdata

Last updated