Documentation
API reference
The public AgentID API: conventions, errors and rate limits, followed by every endpoint, generated from the OpenAPI document the server serves.
Conventions
Base URL https://agentid-beryl.vercel.app/api/v1. JSON in and out, no API key. uint256 values (agent ids, block numbers) are decimal strings; addresses are checksummed; hashes are lowercase hex.
envelope
// Success
{
"apiVersion": "1",
"data": { … },
"meta": {
"source": ["indexer"], // data sources used, e.g. ["indexer", "rpc:46630"]
"generatedAt": "2026-11-26T12:00:00.000Z",
"chainId": 46630,
"indexedBlock": "…", // last block the indexer processed
"freshnessSeconds": 4, // seconds since the indexer last synced
"pagination": { "page": 1, "pageSize": 24, "total": 0, "hasMore": false }
}
}
// Error
{
"apiVersion": "1",
"error": { "code": "SIGNER_NOT_AUTHORIZED", "message": "…", "details": { … }, "requestId": "…" }
}- Every response carries
X-Request-Id(yours, if you send a valid one) and an explicitCache-Control. - Inputs are validated strictly; requests time out after 15 seconds.
- Verification endpoints read the chain at a pinned block and return per-check results with sources — see Verifying signatures.
Errors
| HTTP | Codes |
|---|---|
| 400 | INVALID_INPUT · UNSUPPORTED_NETWORK · UNSUPPORTED_REGISTRY |
| 401 / 403 | UNAUTHORIZED · FORBIDDEN · SIGNER_NOT_AUTHORIZED |
| 404 | NOT_FOUND |
| 409 | CONFLICT · DUPLICATE_RECORD |
| 413 | PAYLOAD_TOO_LARGE |
| 422 | INVALID_SIGNATURE · TIMESTAMP_OUT_OF_RANGE · PAYLOAD_HASH_MISMATCH |
| 429 | RATE_LIMITED (with Retry-After) |
| 500 / 503 | INTERNAL · CHAIN_UNAVAILABLE · NOT_CONFIGURED |
Rate limits
Per client IP, fixed one-minute or one-hour windows. Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (unix seconds); a 429 adds Retry-After. Client IPs are stored only as salted hashes.
| Bucket | Limit |
|---|---|
| Reads | 120 / min |
| Verification | 30 / min |
| Publish activity | 60 / min · 600 / h per agent |
| Index a transaction | 30 / min |
| Playground signing | 10 / min |
| Auth (SIWE) | 20 / min |
| Avatar uploads | 10 / h |
Endpoints
Send any of these from the browser in the API playground.