# Know if a visitor is a person, a bot or an AI agent.

Add one script tag. Every session gets a verdict: who is visiting, which agent it is, and whether that claim is verified. Identify never blocks anyone, so what happens next is your decision.

$1 per 1,000 identifications

[Identify docs](https://docs.finic.ai/identify)

## What you get

- **Person, AI agent or automation**: Every session resolves to human, ai_agent, automation or unknown. Only pointer travel, a touch or typing rhythm earn a human verdict—without recording form values or which keys were pressed.
- **Which agent, and whether it's real**: An agent comes with its operator and product, and its claim is signed, verified by network, only claimed or impersonated.
- **Visitors that come back**: The same browser keeps its visitor id with its cookies cleared, or in a private window.
- **VPN, Tor and tampering**: Each session also flags a VPN, a Tor exit node, a virtual machine, a private window in Firefox or Safari and a browser that contradicts itself, and adds them up as a suspect score.
- **Your customer on every session**: Set your own customer ID on a session, then find every session and browser that customer has used.
- **Reasons you can read**: Each verdict lists what it rests on, as stable codes such as webdriver or agent_network.

## A session

```
{
  "id": "ksn_01M4Z2K8Q0V7C3N5T9XB6RHDWE",
  "actor": "ai_agent",
  "operator": "Anthropic",
  "product": "Claude-Agent",
  "verification": "network_verified",
  "confidence": "high",
  "reasons": ["agent_network"],
  "visitor_id": "kvi_01M4Z2Q7B3X9K5W1E8TN6GHPAD"
}
```

## Get a verdict

### Script tag

```
<script async
  src="https://api.finic.ai/identify/agent.js"
  data-site="gpk_…"></script>
```

### Edge package

```
// Cloudflare Workers, Next.js or Node.
// Each request reaches your code with
// its verdict in finic-* headers.
export { default } from "@finic-ai/identify/cloudflare";
```

### Lookup API

```
curl https://api.finic.ai/v1/identify/lookup \
  -H "Authorization: Bearer $FINIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip": "192.0.2.10", "user_agent": "Claude-User/1.0"}'
```

## FAQ

### How much does Finic Identify cost?

Identify costs $1 per 1,000 identifications ($0.001 per browser session started or per server-side lookup). Subsequent page views inside the same 12-hour session and reading sessions or visitors via GET /v1/identify/sessions are free.

### Does Finic Identify block visitors or add latency?

Identify never blocks, challenges or rate-limits anyone—your code decides how to treat humans, verified AI agents and bots. The browser script loads asynchronously (~11.5 KB compressed), and the @finic-ai/identify edge middleware enforces a 150 ms fail-open budget.

### How long do visitor IDs persist in Safari and private windows?

When deployed with @finic-ai/identify on your own domain, Finic sets a first-party cookie that Safari retains for up to 400 days (versus 7 days for client-set storage), and matches returning browsers across cleared cookies or private windows via device signals. Set data-visitor="off" to disable fingerprinting prior to consent.

### Which AI agents does Identify verify?

Identify knows 29 declared agents and crawlers from 12 operators, including OpenAI, Anthropic, Google, Perplexity, Microsoft, Amazon, Apple, Meta, Mistral, DuckDuckGo and ByteDance. It checks each against the IP ranges its operator publishes, refreshed every six hours; Meta, Mistral and ByteDance publish none, so their agents are only ever claimed. It also checks an RFC 9421 Web Bot Auth signature where the agent sends one.
