More endpoints
Privacy and key restrictions

Privacy and key restrictions

Each API key can be limited to the endpoints it needs, given an expiry date, locked to a set of IP addresses, and set to keep no data. Account-wide defaults apply the same settings to every key. Manage both on the API Keys page of the dashboard.

When a key and the account defaults disagree, the stricter one wins: zero data retention and redaction are on when either turns them on, and an IP address must pass both allowlists.

Endpoint scopes

A key with no scopes can call every endpoint. A key with scopes can call only the endpoints those scopes cover; anything else answers HTTP 403 with code: "scope_not_allowed" and the scopes that would allow it.

ScopeEndpoints
scrape/v1/scrape, /v1/batch, /v1/screenshot, job status
crawl/v1/crawl and its status, results and cancel, job status
map/v1/map
search/v1/search
extract/v1/extract
parse/v1/parse, job status (async parse jobs)
enrich/v1/enrich and its sub-routes, /v1/brand, /v1/resolve
graph/v1/graph/*, /v1/directory/*
account/v1/usage, /v1/billing/*, /v1/credits, /v1/byok/*
monitor/v1/monitors and its runs (each run also costs credits)
sources/v1/sources, /v1/sources/{id} and /v1/sources/{id}/run

The same scopes apply to the /v2 endpoints, which map to the operations above.

Expiry

A key past its expiry date answers HTTP 401 with code: "api_key_expired". Create a new key, or extend the date on the API Keys page.

IP allowlist

An allowlist is a list of IP addresses or CIDR ranges (IPv4 or IPv6, up to 50 entries), for example 203.0.113.0/24 or 2001:db8::/32. A request from any other address answers HTTP 403 with code: "ip_not_allowed" and the address we saw in client_ip.

The address checked is the one that connected to our edge. Headers a client sets itself, such as X-Forwarded-For entries it adds or X-Real-IP, are ignored, so they cannot be used to get past an allowlist.

Zero data retention

With zero data retention on, we keep no content from your requests:

  • Page content, documents, screenshots and results are returned to you and not stored. Response caches are skipped in both directions, so every request runs fresh and is charged as fresh work.
  • Nothing from the request is added to our business data.
  • Enrichment lookups are not cached, so repeating one runs it again.
  • Screenshots come back inline as base64 instead of as a stored image URL.

We still record metadata: which endpoint was called, when, the status, the credits charged and the time taken. That is what usage, billing and rate limits need.

Endpoints that only work by storing results for you to fetch later are refused with HTTP 400 and code: "zdr_unsupported", before any work or charge:

  • POST /v1/crawl (and POST /v2/crawl)
  • an async POST /v1/batch (async: true, or more than 100 URLs). A batch of 100 URLs or fewer without async runs normally.
  • a deep technology scan (POST /v1/enrich/tech with tech: "deep")
  • POST /v1/scrape with minAge, which can only be answered from the cache
  • an async POST /v1/parse job (async: true, or a PDF that would run as a job)
  • creating, changing or running a monitor (/v1/monitors), which stores a snapshot of each run

You can also turn it on for a single scrape with zeroDataRetention: true in the POST /v1/scrape body.

Redacting personal data

With redaction on, the content endpoints replace personal data in what they return:

FoundReplaced with
Email addresses[REDACTED_EMAIL]
Phone numbers written with a + or separators[REDACTED_PHONE]
US social security numbers (123-45-6789)[REDACTED_SSN]
Payment card numbers[REDACTED_CARD]

Redacted responses carry the header X-PII-Redacted: true. It applies to /v1/scrape, /v1/batch, /v1/extract, /v1/parse, /v1/search, and crawl and job results.

⚠️

Redaction matches patterns. It does not find names or postal addresses in free text. The enrichment, graph, resolve and directory endpoints return contact details by design and are not redacted; leave the enrich and graph scopes off a key that should never see them.