Best Practices
Best practices when using Daloopa's API
Period Format Standards
Always use these formats for periods:
| Format | Description | Example |
|---|---|---|
YYYYQQ | Quarterly data | 2024Q1, 2024Q2 |
YYYYHH | Semi-Annual data | 2024H1, 2024H2 |
YYYYFY | Fiscal year (annual) | 2023FY, 2024FY |
Rate Limits
- 120 requests per minute
- Batch requests when possible to reduce call volume
Caching Strategy
To minimize API calls:
- Cache company IDs: Store
company_idmappings locally (they don't change) - Cache series IDs: Store series structure, refresh weekly
- Cache fundamentals: Store datapoint values, only refresh after
latest_datapoint_created_atchanges - Cache documents: Full documents rarely change, cache for 30+ days
Authentication
All API requests require Basic Auth:
# Format: base64(email:api_key)
Authorization: Basic YOUR_ENCODED_API_KEYUpdated 1 day ago
