zdr to any API request and HasData returns the response as usual, but does not store the parameters you sent, the page it fetched, or the results it extracted.
ZDR is available on Enterprise plans. On other plans a request with
zdr is rejected. To enable it for your account, contact us at info@hasdata.com.Enable ZDR
ZDR is off by default and is set per request. Addzdr=true to the query string of a GET request, or "zdr": true to the JSON body of a POST request. It works with every real-time API, including the Web Scraping API, Google SERP API, and all Scraper APIs. Requests without zdr behave as they always have.
What HasData Does Not Keep
For a ZDR request, HasData does not store:- Your request parameters, such as the query, the target URL, headers, cookies, and JS scenarios.
- The fetched page: no raw HTML is saved.
- The results: no copy of the response is saved.
- Your values in logs: the values you sent are removed from our logs.
requestMetadata object in a ZDR response has no html or json links:
What HasData Still Keeps
To bill and operate the service, HasData keeps:- Request metadata: the request ID, the API called, the response status, the credits charged, your API key, and the IP address the request came from.
- The target hostname, such as
www.google.com, in our logs. Paths and query strings are never kept. - Google image thumbnails: some Google results (for example, inline images and AI Overviews) link to thumbnails hosted on
files.hasdata.com. These files are still stored, because the response points to them.
Features That Do Not Work with ZDR
These Web Scraping API options cannot be combined with ZDR. A request that combines them withzdr is rejected with a 422 status before any credits are charged:
screenshotaiExtractRules
zdr too:
- Batch Scrape, including a
zdrset on any request inside the batch. - Scraper Jobs, including the Websites Crawler and job
enrichments. - No-code scrapers.
Errors
When a ZDR request cannot be served, the API returns422 and lists the reason in errors. You are not charged.