Base URL
The API gateway is accessible at:API Versioning
All API endpoints are versioned and prefixed with/api/v1.
Example:
Required Headers
All API requests require authentication headers:Your API key for authentication. Configured via
API_GATEWAY_API_KEYS environment variable.Optional tenant identifier for multi-tenant deployments. Use
* for wildcard access.Common Headers
Response Envelope
All API responses follow a standardized envelope structure for consistent error handling:HTTP Methods
The API uses standard HTTP methods:- GET - Retrieve resources
- POST - Create resources or execute actions
- PUT - Update existing resources
- DELETE - Remove resources (limited use)
Rate Limiting
API requests are rate-limited per API key:- Default: 120 requests per minute
- Configure via:
API_GATEWAY_RATE_LIMIT_PER_MINUTE - Rate limit headers included in responses:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
Pagination
List endpoints support pagination via query parameters:Maximum number of items to return (max: 100)
Number of items to skip
Idempotency
Transaction creation supports idempotency keys to prevent duplicate operations:Health Check
Verify API availability:SDK Support
TypeScript SDK available atpackages/sdk:
Next Steps
Authentication
Learn about API key and scope management
Response Format
Understand the response envelope structure
Errors
Handle errors and error codes
Wallets
Start with wallet operations