A search response is a JSON object: a records array plus paging and account fields.
{
"records": [ ... ],
"totalResults": 1230,
"moreResultsAvailable": 1130,
"next": "/breaches?token=YOUR_TOKEN&email_domain=example.com&next=CURSOR",
"requestsLeft": 989,
"totalResultsVerified": true
}| Field | Type | Description |
|---|---|---|
records | array | Matching records - see Record Data Fields. Up to 100 per page. |
totalResults | integer | Total records matching the query. |
moreResultsAvailable | integer | Records still available after this page. |
next | string | Relative URL of the next page, or null at a boundary. Append it to https://api.webz.io - see Pagination. |
requestsLeft | integer | Contract plans: your remaining search credit balance. Omitted for internal integration tokens and pay-as-you-go accounts. |
cost | number | Pay as you go only: what this request cost, in USD. |
balance | number | Pay as you go only: your balance after the charge, in USD. |
totalResultsVerified | boolean | true when historical data for the searched domains is fully indexed, so totalResults is exact. false while backfilling is still in progress. |
Pay-as-you-go responses replace requestsLeft with cost and balance, and their records are partially masked - see Errors, Rate Limits & Credits.