The filtered ERC-8004 directory: which registered agents are actually alive, and which acc
The filtered ERC-8004 directory: which registered agents are actually alive, and which accept x402. Around a third of registrations on Base carry both a compliant registration file and a declared service, and roughly one in twelve of those declares x402 — this returns them, rather than making you screen eighty thousand addresses one at a time to find them. GET /v1/registry publishes the current split, free. 100 agents per page. Free alternative: GET /v1/registry. Or 3 free calls of this endpoint per wallet per 24h: https://trust-agent.io/v1/trial.
Provider
trust-agent.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6121654D3Fd4C8B42a90d30472E4D40927C3e6BB",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10001",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"acceptsX402": "true",
"quality": "valid_with_service"
},
"type": "http"
},
"output": {
"example": {
"agents": "array of {agentId, identifier, quality, acceptsX402, payoutWallet, checkedAt, owner, registeredAt}",
"count": "agents on this page",
"degraded": "true when the census cannot currently refresh classifications — the page may omit live agents and include stale ones",
"nextCursor": "pass back as `cursor` for the next page; null when the registry is exhausted"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"acceptsX402": {
"description": "OPTIONAL. true to return only agents whose registration file declares x402.",
"type": "string"
},
"chain": {
"description": "OPTIONAL. Only \"base\" is served. Defaults to base.",
"type": "string"
},
"cursor": {
"description": "OPTIONAL. nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"quality": {
"description": "OPTIONAL. valid_with_service | valid_no_service | non_compliant | uri_unresolvable | no_uri.",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"agents": {
"description": "array of {agentId, identifier, quality, acceptsX402, payoutWallet, checkedAt, owner, registeredAt}"
},
"count": {
"description": "agents on this page"
},
"degraded": {
"description": "true when the census cannot currently refresh classifications — the page may omit live agents and include stale ones"
},
"nextCursor": {
"description": "pass back as `cursor` for the next page; null when the registry is exhausted"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://trust-agent.io/v1/registry/agents" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://trust-agent.io/v1/registry/agents");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://trust-agent.io/v1/registry/agents")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5174.json, and this resource appears in /discovery/resources and /discovery/search.