Skip to main content

Response Format

All agntdata API responses follow a consistent format. Successful responses:
Error responses:

HTTP Status Codes

Error Codes

Authentication Errors

Request Errors

Rate Limit Errors

Data Errors

Server Errors

Handling Errors

JavaScript/TypeScript

Python

With raw HTTP, branch on error.code and retry or surface user actions for the cases you want to handle:

Retry Strategy

For transient errors, implement exponential backoff:

Next Steps

Rate Limits

Understand rate limits and how to stay within them.

API Reference

Browse endpoint documentation.