API referenceIdentify

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.

EndpointRequestWhat it does
lookupPOST /v1/identify/lookupSays whether one request comes from a declared AI agent, and whether that's verified
list_lookup_sourcesGET /v1/identify/lookup/sourcesLists the agents the lookup knows and the sources it reads
create_sitePOST /v1/identify/sitesCreates a site: a public key and its script tag
list_sitesGET /v1/identify/sitesLists your sites
update_sitePATCH /v1/identify/sites/{id}Renames a site or changes its origins
delete_siteDELETE /v1/identify/sites/{id}Deletes a site, so its key stops working
get_sessionGET /v1/identify/sessions/{id}Gets one session's verdict
list_sessionsGET /v1/identify/sessionsLists the latest sessions
update_sessionPATCH /v1/identify/sessions/{id}Links a session to one of your customers, or clears the link
get_visitorGET /v1/identify/visitors/{id}Gets one visitor
delete_visitorDELETE /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.

HTTPtypeWhenRetry
400invalid_requestMalformed JSON, an unknown field, or a value that breaks a rule. param names the fieldNo. Fix the request
401authentication_errorMissing or invalid API keyNo. Check the key
402insufficient_creditThe organization is out of credit. Every Identify call is refused until an admin adds moreNo. Add credit
404not_foundNo site, session or visitor with that id in your organizationNo. Check the id
409limit_reachedThe organization already has 50 sitesNo. Delete a site first
413request_too_largeA body over 2 MBNo. Send less
429rate_limitedOver the request rateYes, with backoff
500internal_errorSomething failed on Finic's sideYes

Limits

LimitValue
Request rate50 per second per organization, in bursts of up to 100, across all Identify endpoints
Sites50 per organization
Origins20 per site
name100 characters
entity_id128 characters
user_agent in a lookup2,000 characters
headers in a lookup100 headers, 8,192 characters each
Sessions in one list200

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.

On this page