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.
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
| Field | Type | Description |
|---|---|---|
ip | string | The client's IP address, IPv4 or IPv6. Send the address of the visitor, not of your own proxy. |
user_agent | string | The request's user agent. Without it, a |
headers | object | The request's headers, to check a signature: |
url | string | 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 |
method | string | The request's method, such as |
Responses
The lookup's result.
| Field | Type | Description |
|---|---|---|
status | string | Always |
actor | ai_agent, automation, unknown |
|
operator | string or null | Who runs the agent, such as |
product | string or null | The agent, such as |
category | training_crawler, search_fetcher, user_triggered_agent, other_crawler, generic_automation, null | What kind of agent it is: |
verification | signed, network_verified, claimed, impersonated, none | How far the claim to be an agent was checked: |
impersonated | boolean |
|
network | object | Where the address is. |
signature | object | Only when the request carried a Web Bot Auth signature. |
flags | array of string | Stable codes that qualify the answer. See Flags. New codes can be added. |
evidence | array of object | What the answer rests on. |
test | boolean |
|
checked_at | string | When the lookup ran. |
model_version | string |
|
cost_usd | string | The call's cost, as a decimal string. Lookups aren't charged: |
request_id | string |
|
Where the address is.
| Field | Type | Description |
|---|---|---|
type | data_center, operator, unknown |
|
provider | string or null | The cloud provider or operator, or |
range | string or null | The published range that holds the address, such as |
Only when the request carried a Web Bot Auth signature.
| Field | Type | Description |
|---|---|---|
present | boolean | Always |
verified | boolean |
|
signature_agent | string | The |
keyid | string | The key it says it was made with. |
authority | string | The host it was checked against: the host of |
reason | string | Why it wasn't verified, such as |
| Field | Type | Description |
|---|---|---|
source | string |
|
url | string | Where the operator publishes that source. Left out when there's none. |
retrieved_at | string | When the source was last fetched. Left out when there's none. |
detail | string | A sentence for people. It can change |
| Status | Type and when |
|---|---|
400 |
|
401 |
|
413 |
|
429 |
|
Every error has the same shape; see Errors.
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"}'{ "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"}KYA API reference
KYA's eight endpoints (the agent lookup, sites and sessions), how they authenticate, the errors they return and the limits they run under.
list_lookup_sources
GET /v1/kya/lookup/sources lists the agents and cloud networks the lookup knows, and the published sources it reads them from.