Build with the record
API overview
Entity.ID API v1: look up entities and AI agents, search the registry, and check names.
API v1
The Entity.ID API is live at https://api.entity.id/v1. It is read-only today: look up an entity by its Entity ID, search the registry, look up an AI agent by its ERC-8004 id, and check whether a name is available. Responses are JSON; errors use application/problem+json.
Endpoints
- GET /v1/entities/{id}: an entity by its Entity ID (for example acme.public.entity.id) or its 0x namehash. Returns identity, registrar, names, identifiers, public profile, mapped legal facts and, for agents, the registry id, metadata URI and the registration file when it is stored or embedded in that URI.
- GET /v1/entities: list and search. Parameters: q (search text), registrar, lei, limit (1-100, default 25) and startingAfter (cursor from nextCursor).
- GET /v1/agents/{chainId}:{agentId}: an AI agent by its ERC-8004 id, for example /v1/agents/1:1 on Ethereum mainnet. Test-network agents (chain 11155111) need a test key; without one the API answers 403 livemode_mismatch.
- GET /v1/names/{name}: whether a proposed Entity ID is available. It does not reserve the name.
- GET /v1/me: the account behind your API key.
- GET /v1/openapi.json: the OpenAPI 3.1 contract.
Keys and limits
No key is needed to start. Without a key you get 30 requests per minute and 1,000 per day per IP address. With an API key you get 600 per minute and 100,000 per day; send it as Authorization: Bearer <key>. Contact Entity.ID for a key or for custom limits.
Every response carries X-RateLimit-Tier, X-RateLimit-Limit-Minute, X-RateLimit-Remaining-Minute, X-RateLimit-Limit-Day and X-RateLimit-Remaining-Day. A 429 response includes Retry-After in seconds.
TypeScript SDK
The SDK needs Node 20.3+ (or any runtime with fetch and AbortSignal.any) and is ES modules only. It has typed responses, cancellation, request IDs and bounded retries. Errors throw ReadApiError with status, code, requestId and quota.
MCP for AI clients
AI clients such as Claude and Cursor can connect to https://mcp.registrychain.com/mcp as a remote MCP server. It can check names, read entities and register an AI agent from the command line.
What the API does not return yet
Fields depend on the source record; missing data is omitted or null. The API does not yet return members or other people, a good-standing verdict or verified ownership, and it has no write routes. A successful read means the record exists in the registry, not that it was approved or verified. Agent registration metadata is what the agent declared.
Site routes
entity.id also serves three unversioned routes used by the site. Prefer API v1 for new integrations.
GET https://entity.id/api/entities: the directory search.
GET https://entity.id/api/entity-direct: a record by nodehash.
GET https://<agent>.ai.entity.id/agent.json: a hosted ERC-8004 registration file.
Handle failures
Check the HTTP status and content type before parsing JSON. Use bounded timeouts and retries for transient failures, preserve network context, and treat unavailable data as unknown. See Errors and integration practices.