AI agent and bot detection
Serve the AI agents you trust. Stop the scripts that pose as them.
Some AI agents visit for a real customer, and some scripts only borrow an agent's name. Finic Identify labels each session a person, an AI agent or automation, and says whether the agent's name was checked, so your code can treat each one differently.
GET/v1/identify/sessions/{id}$1 per 1,000 identifications
Claude Code
What you send
- The script tagOne tag in your pages. It loads without blocking the page.
- finic_sessionThe session's ID, in a cookie on your own domain. Your server reads the verdict with it.
- entity_idYour own customer ID, set from your server after sign-in, to find every session of that customer.
Your page, then your server
<!-- In your pages' <head> --><script asyncsrc="https://api.finic.ai/identify/agent.js"data-site="gpk_…"></script># On your server, at sign-in or checkout.# The ID is in the finic_session cookie.curl https://api.finic.ai/v1/identify/sessions/ksn_… \-H "Authorization: Bearer $FINIC_API_KEY"
What comes back
A session
{"id": "ksn_01M4Z2K8Q0V7C3N5T9XB6RHDWE","actor": "automation","operator": "Anthropic","product": "Claude-Agent","verification": "impersonated","confidence": "high","reasons": ["impersonation", "webdriver"]}
Turn the answer into an action
humanCarry on as usual.
ai_agentServe it when its claim is signed or verified by network. A claim alone is only a name.
automationChallenge it or block it in your own code. Identify never blocks anyone.
unknownNot a verdict yet. Read the session again at sign-in or checkout.