Loading API docs...
Authentication, request examples, response fields, rate limits, errors, and 114 documented TrendsAGI API routes.
Base URL
https://api.trendsagi.com114
Routes
16
Guides
3
Languages
All private endpoints require an API key in the Bearer authorization header. Generate keys in your profile and rotate regularly.
export TRENDSAGI_API_KEY=...
curl -X GET "https://api.trendsagi.com/api/trends" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY"If you are integrating for ads first, run these in sequence to validate connection readiness, mapping, and safe execution.
114 of 114 endpoints
Integration playbooks moved into a dedicated tab for cleaner segregation. Use platform-specific guides and endpoint mapping from there.
Exceeding quota returns HTTP 429. Use backoff, idempotency keys, and WebSocket streams for high-frequency use cases.
X-RateLimit-Limit: 1500
X-RateLimit-Remaining: 1485
X-RateLimit-Reset: 1746295200| Status | Meaning | Action |
|---|---|---|
| 401 | Authentication failed | Verify API key and token injection. |
| 404 | Resource not found | Treat as stale pointer and continue workflow. |
| 429 | Rate limit exceeded | Backoff until reset header and retry. |
| 503 | Service unavailable | Retry with exponential backoff and jitter. |