Skip to main content
The Flux API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

Base URL

Authentication

The Flux API uses API keys to authenticate requests. Include your key in the Authorization header:
All API requests must be made over HTTPS. Requests over HTTP will fail.

Request Format

For POST and PUT requests, encode parameters as JSON:

Response Format

All responses return JSON. Successful responses include the requested resource:
List endpoints return paginated results:

Errors

Errors return a consistent structure with an error code and message:

HTTP Status Codes

Pagination

List endpoints support cursor-based pagination:

Rate Limiting

The API is rate limited based on your plan. When rate limited, you’ll receive a 429 response with a Retry-After header indicating when to retry.