lookup

POST /v1/kya/lookup says whether one request comes from a declared AI agent or crawler, and whether that claim is verified, claimed or impersonated.

See Agent lookup for the flags, the agents it knows and the test values.

POST
/v1/kya/lookup

Says whether one request comes from a declared AI agent or crawler, from its IP address, user agent and signature headers, and whether that claim is verified. Send at least one of ip, user_agent and headers. The lookup returns a result only: it never blocks anything, and it can't say a request is from a person.

To try it, send the built-in test agent: user agent KYA-Test-Agent from an address in 192.0.2.0/24.

Request body

application/json

FieldTypeDescription
ipstring

The client's IP address, IPv4 or IPv6. Send the address of the visitor, not of your own proxy.

user_agentstring

The request's user agent. Without it, a User-Agent in headers is used.

headersobject

The request's headers, to check a signature: Signature, Signature-Input and Signature-Agent, with any header the signature covers. Up to 100 headers of 8,192 characters each.

urlstring

The full URL the request was for. A signature covers it, so checking one needs it. Build it from your site's own host name, not from the request's Host header.

methodstring

The request's method, such as GET. Sent with url.

Responses

The lookup's result.

FieldTypeDescription
statusstring

Always complete.

actorai_agent, automation, unknown

ai_agent for a declared agent or crawler; automation for an HTTP library, an automation tool, or something posing as an agent; unknown otherwise. Never human.

operatorstring or null

Who runs the agent, such as OpenAI, or null. For an impersonation, the operator it claims.

productstring or null

The agent, such as GPTBot, or null.

categorytraining_crawler, search_fetcher, user_triggered_agent, other_crawler, generic_automation, null

What kind of agent it is: training_crawler, search_fetcher, user_triggered_agent (it acts for a person who asked) or other_crawler; generic_automation for an HTTP library or automation tool; null when unknown.

verificationsigned, network_verified, claimed, impersonated, none

How far the claim to be an agent was checked: signed, network_verified, claimed, impersonated or none. See Verification.

impersonatedboolean

true when verification is impersonated.

networkobject

Where the address is.

signatureobject

Only when the request carried a Web Bot Auth signature.

flagsarray of string

Stable codes that qualify the answer. See Flags. New codes can be added.

evidencearray of object

What the answer rests on.

testboolean

true for the built-in test agent and test data center. Left out otherwise.

checked_atstring

When the lookup ran.

model_versionstring

lookup- and when the published sources' content last changed.

cost_usdstring

The call's cost, as a decimal string. Lookups aren't charged: "0".

request_idstring

req_…, the same as the X-Request-Id header.

Where the address is.

FieldTypeDescription
typedata_center, operator, unknown

data_center for a listed cloud provider's address, operator for an address in an agent operator's published ranges, unknown otherwise.

providerstring or null

The cloud provider or operator, or null.

rangestring or null

The published range that holds the address, such as 192.0.2.0/24, or null.

Only when the request carried a Web Bot Auth signature.

FieldTypeDescription
presentboolean

Always true.

verifiedboolean

true when the signature verifies against a key the agent publishes.

signature_agentstring

The Signature-Agent URL the signature names.

keyidstring

The key it says it was made with.

authoritystring

The host it was checked against: the host of url. Check that it's your site's own.

reasonstring

Why it wasn't verified, such as expired, unknown_signature_agent, unknown_key or bad_signature. Left out when it was.

FieldTypeDescription
sourcestring

user_agent, or the name of the published source that was checked.

urlstring

Where the operator publishes that source. Left out when there's none.

retrieved_atstring

When the source was last fetched. Left out when there's none.

detailstring

A sentence for people. It can change

Examples

curl -X POST 'https://api.finic.ai/v1/kya/lookup' \  -H "Authorization: Bearer $FINIC_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "ip": "192.0.2.10",  "user_agent": "KYA-Test-Agent"}'
Example Response
{  "status": "complete",  "actor": "ai_agent",  "operator": "Finic (test)",  "product": "KYA-Test-Agent",  "category": "user_triggered_agent",  "verification": "network_verified",  "impersonated": false,  "network": {    "type": "operator",    "provider": "Finic (test)",    "range": "192.0.2.0/24"  },  "flags": [    "test"  ],  "evidence": [    {      "source": "user_agent",      "detail": "The user agent contains \"KYA-Test-Agent\", which Finic (test) documents for KYA-Test-Agent."    },    {      "source": "kya-test-agent",      "detail": "192.0.2.10 is in 192.0.2.0/24, which Finic (test) publishes for KYA-Test-Agent."    }  ],  "test": true,  "checked_at": "2026-12-01T17:04:11.482913Z",  "model_version": "lookup-2026-12-01T12:10:36Z",  "cost_usd": "0",  "request_id": "req_01M4Z2M1T6W9E3R7Y5VA8PKGHB"}