API Reference
Complete reference for the WDK Indexer REST API
Base URL
https://wdk-api.tether.ioAuthentication
All requests require a valid API key in the x-api-key header:
x-api-key: your-api-key-hereDon't have an API key yet? Request one by following the steps in our Get Started guide.
Rate Limiting
| Endpoint | Limit |
|---|---|
GET /api/v1/health | 10 req / 1 hour |
GET /api/v1/chains | 60 req / 1 min |
GET /api/v1/:blockchain/:token/:address/token-balances | 4 req / 10s |
GET /api/v1/:blockchain/:token/:address/token-transfers | 8 req / 10s |
POST /api/v1/batch/token-transfers | 8 req / 10s |
POST /api/v1/batch/token-balances | 4 req / 10s |
API Endpoints
GET /api/v1/health
Check API server status
GET /api/v1/chains
Get list of supported chains and tokens
GET /api/v1/{blockchain}/{token}/{address}/token-transfers
Get token transfer history for an address
GET /api/v1/{blockchain}/{token}/{address}/token-balances
Get current token balance for an address
POST /api/v1/batch/token-transfers
Get batch token transfers for multiple addresses
POST /api/v1/batch/token-balances
Get batch token balances for multiple addresses
Error Handling
The API returns standard HTTP error codes:
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 404 | Not Found - Resource not found |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
Error Response Format
{
"error": "error_type",
"message": "Detailed error message"
}Next Steps
- Get Started - Quick start guide with setup instructions
- React Native Starter - See it in action