← Back to Agent Chain
🌐 REST API Reference
All endpoints, authentication, rate limits, and error handling
Base URL
https://api.agent-chain.io
Authentication

All billable endpoints require an API key in the Authorization header:

Authorization: Bearer ac_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

API keys are 72 characters: ac_live_ prefix (8 chars) + 64 hex characters. Get one by signing up at agent-chain.io.

Rate Limits
TierRequests/minBurst
Free6010
Hobby12020
Starter30050
Scale600100
Pro1,200200
Business3,000500
Enterprise6,0001,000
Response Format

All responses are JSON with a consistent structure:

{ "ok": true, "data": { ... }, "meta": { "requestId": "req_abc123", "quotaUsed": 1, "quotaRemaining": 4999, "latency_ms": 23 } }
Error Format
{ "ok": false, "error": { "code": "RATE_LIMIT_EXCEEDED", "message": "You have exceeded your rate limit. Try again in 15 seconds.", "status": 429, "retryAfter": 15 } }
Common Error Codes
StatusCodeDescription
400BAD_REQUESTInvalid request body or parameters
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENAPI key valid but insufficient permissions
404NOT_FOUNDResource not found
409CONFLICTResource already exists (e.g., duplicate DID)
429RATE_LIMIT_EXCEEDEDToo many requests — back off and retry
500INTERNAL_ERRORServer error — contact support
Endpoint Summary by Product

Total: 26 free endpoints + ~110 billable endpoints

💡 For detailed cost-per-call breakdown, see the API Call Pricing page.