Identify API reference
Identify's eleven endpoints (the agent lookup, sites, sessions and visitors), how they authenticate, the errors they return and the limits they run under.
Base URL https://api.finic.ai. Send an API key as Authorization: Bearer gsk_… (Authentication) and JSON bodies. Every response has an X-Request-Id header.
| Endpoint | Request | What it does |
|---|---|---|
lookup | POST /v1/identify/lookup | Says whether one request comes from a declared AI agent, and whether that's verified |
list_lookup_sources | GET /v1/identify/lookup/sources | Lists the agents the lookup knows and the sources it reads |
create_site | POST /v1/identify/sites | Creates a site: a public key and its script tag |
list_sites | GET /v1/identify/sites | Lists your sites |
update_site | PATCH /v1/identify/sites/{id} | Renames a site or changes its origins |
delete_site | DELETE /v1/identify/sites/{id} | Deletes a site, so its key stops working |
get_session | GET /v1/identify/sessions/{id} | Gets one session's verdict |
list_sessions | GET /v1/identify/sessions | Lists the latest sessions |
update_session | PATCH /v1/identify/sessions/{id} | Links a session to one of your customers, or clears the link |
get_visitor | GET /v1/identify/visitors/{id} | Gets one visitor |
delete_visitor | DELETE /v1/identify/visitors/{id} | Deletes a visitor's fingerprint, addresses and token |
The snippet uses two more, with no API key: GET /identify/agent.js (the script) and POST /identify/s (its reports). You don't call them yourself.
Errors
Errors have the API's usual shape; see Errors.
| HTTP | type | When | Retry |
|---|---|---|---|
400 | invalid_request | Malformed JSON, an unknown field, or a value that breaks a rule. param names the field | No. Fix the request |
401 | authentication_error | Missing or invalid API key | No. Check the key |
404 | not_found | No site, session or visitor with that id in your organization | No. Check the id |
409 | limit_reached | The organization already has 50 sites | No. Delete a site first |
413 | request_too_large | A body over 2 MB | No. Send less |
429 | rate_limited | Over the request rate | Yes, with backoff |
500 | internal_error | Something failed on Finic's side | Yes |
Limits
| Limit | Value |
|---|---|
| Request rate | 50 per second per organization, in bursts of up to 100, across all Identify endpoints |
| Sites | 50 per organization |
| Origins | 20 per site |
name | 100 characters |
entity_id | 128 characters |
user_agent in a lookup | 2,000 characters |
headers in a lookup | 100 headers, 8,192 characters each |
| Sessions in one list | 200 |
Identify's request rate is its own: it doesn't count toward the rate for scores and questions. Over it, sites and sessions calls get 429 with Too many Identify requests for this organization: the limit is 50 a second across its API keys. Retry with backoff. The snippet's reports have separate limits.
Data & privacy
Exactly what the Identify snippet collects, the fingerprint it takes, the cookies and storage items it sets, where verdicts are computed, the entity id you can add, how long sessions and visitors are kept, the origins allowlist, the Content-Security-Policy it needs and its limits.
lookup
POST /v1/identify/lookup says whether one request comes from a declared AI agent or crawler, and whether that claim is verified, claimed or impersonated.