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

# Endpoint & Authentication

The Non-Human Identities (NHI) API has one `GET` endpoint. It authenticates with your API `token`.

## Search

`GET`

```bash
https://api.webz.io/nhi?token=YOUR_TOKEN&domain=example.com
```

Returns leaked secrets matched to `domain`, narrowed by your [Filters](https://docs.webz.io/docs/webz/nhi-filters).

## Authentication

- Pass `token` as a query parameter, or send an `Authorization: Bearer YOUR_TOKEN` header. A missing or unknown token returns `401`.
- Contract plans: your account needs the Non-Human Identities (NHI) API permission and credits. Otherwise requests return `401` or `429`.
- Pay as you go: `domain` must be a domain you verified in your Assets, or sit under one - see [Search Scope](https://docs.webz.io/docs/webz/data-breach-scope). An unverified domain returns `403`. Requests are billed from your balance and results are partially masked - see [Errors, Rate Limits & Credits](https://docs.webz.io/docs/webz/nhi-errors-limits).

> [!NOTE]
> Need access, more credits, or full records? Contact **sales@webz.io**.

