> For the complete documentation index, see [llms.txt](https://docs.tools.webz.io/llms.txt). Any docs page is also available as markdown at `https://docs.tools.webz.io/markdown/<environment>/<slug>`.

# Response Format

A search response is a JSON object: a `records` array plus paging and account fields.

```json
{
  "records": [ ... ],
  "totalResults": 1230,
  "moreResultsAvailable": 1130,
  "next": "/breaches?token=YOUR_TOKEN&email_domain=example.com&next=CURSOR",
  "requestsLeft": 989,
  "totalResultsVerified": true
}
```

## Root fields

| Field | Type | Description |
| --- | --- | --- |
| `records` | array | Matching records - see [Record Data Fields](https://docs.tools.webz.io/docs/webz/data-breach-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](https://docs.tools.webz.io/docs/webz/data-breach-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](https://docs.tools.webz.io/docs/webz/data-breach-errors-limits).

