Loading...
Loading...
Integrate your Hatcher agents into any application. Manage agents, send messages, and monitor status programmatically.
All API requests require authentication using your platform API key. Include it in the Authorization header as a Bearer token.
Authorization: Bearer hk_your_api_keyYou can find and regenerate your API key on the Settings page. Keys are prefixed with hk_ for easy identification.
curl -H "Authorization: Bearer hk_your_api_key" \
https://api.hatcher.host/api/v1/agentsNever expose your API key in client-side code or public repositories. Use environment variables and server-side requests to keep your key safe.
API usage is rate-limited per day based on your plan. Rate limit information is included in every response header.
| Tier | Requests / Day | Price |
|---|---|---|
| Free | 100 | $0 |
| Starter | 10,000 | $6.99/mo |
| Pro | 100,000 | $19.99/mo |
| Business | 500,000 | $49.99/mo |
Check the following response headers to monitor your usage:
X-RateLimit-LimitYour daily request limitX-RateLimit-RemainingRequests remaining todayX-RateLimit-ResetUTC timestamp when the limit resetsAll API responses follow a consistent JSON structure. Successful responses include a data field. Error responses include error and code fields.
Success
{
"success": true,
"data": { ... }
}Error
{
"success": false,
"error": "Not found",
"code": "NOT_FOUND"
}| Code | HTTP | Description |
|---|---|---|
| AUTH_REQUIRED | 401 | Missing or invalid API key |
| FORBIDDEN | 403 | Not authorized for this resource |
| NOT_FOUND | 404 | Agent or resource not found |
| RATE_LIMIT_EXCEEDED | 429 | Daily API limit reached |
| VALIDATION_ERROR | 400 | Invalid request body or parameters |
| AGENT_NOT_RUNNING | 409 | Agent must be running for this action |
| SERVER_ERROR | 500 | Internal server error |
Need help integrating? Check out the platform-specific guides.