API usage rules
1min
- Rate Limits • Respect Rate Limits: The API allows up to 1000 requests per 5 minutes. Ensure there is a small delay between requests to avoid exceeding this limit. • Avoid Overloading: Implement rate-limiting logic in your application to manage the frequency of requests and prevent throttling.
- Incremental Data Sync • Send Only Changes: When synchronizing data with the API, send only updated or changed information. Avoid sending the entire dataset unless explicitly required. • Optimize Payloads: Use filters and data-specific endpoints to minimize the size of requests and improve performance.
- Error Handling and Monitoring • Handle Errors Gracefully: • Implement retry mechanisms with exponential backoff for temporary errors (e.g., rate limits or timeouts). • Log and address error responses like 4xx (client errors) and 5xx (server errors) appropriately. • Monitor API Usage: • Regularly monitor your API interactions to identify issues early. • Log all API requests and responses, excluding sensitive information, for debugging and performance analysis