Features
API Gateway
Every agent gets a unique endpoint. Auth, rate limiting, and logging built in.
Your Agent's Endpoint
POST https://your-agent.hostagentes.com/api/v1/chat
Authorization: Bearer ha_your_api_key
Content-Type: application/json
Integrate with any language, framework, or tool that makes HTTP requests.
Built-In Features
Authentication
Bearer token auth with scoped API keys. Create multiple keys, revoke individually.
Rate Limiting
Per-key and per-agent limits. Protect your agent from abuse and control costs.
Request Logging
Every request logged with full detail. Search by date, key, agent, or content.
Streaming (SSE)
Server-Sent Events for real-time partial responses. No waiting for full completion.
Error Handling
Standard HTTP status codes with descriptive error messages and retry guidance.
Custom Domains
Use your own domain instead of the default hostagentes.com subdomain.
Rate Limits by Plan
60
requests/min (Starter)
300
requests/min (Pro)
Custom
requests/min (Scale)
Quick Integration
JAVASCRIPT
const res = await fetch(url, {
method: 'POST',
headers: {
'Authorization': 'Bearer ha_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
message: 'Hello!'
})
}); PYTHON
import requests
res = requests.post(url,
headers={
'Authorization': 'Bearer ha_key',
'Content-Type': 'application/json'
},
json={'message': 'Hello!'}
)