Skip to main content

Base URL

https://api.fluxrate.co/api/v1
For self-hosted deployments:
http://localhost:8000/api/v1

Authentication

Fluxrate uses two authentication methods:

Response Format

All responses use JSON. List endpoints return paginated results:
{
  "data": [...],
  "meta": {
    "page": 1,
    "page_size": 20,
    "total": 342,
    "total_pages": 18
  }
}

Error Responses

{
  "detail": "Customer not found"
}

HTTP Status Codes

CodeMeaning
200Success
201Created
204No Content (successful delete)
400Bad Request — invalid parameters
401Unauthorized — missing or invalid auth
403Forbidden — insufficient permissions
404Not Found
409Conflict — duplicate resource
422Unprocessable Entity — validation error
500Internal Server Error

Pagination

All list endpoints support:
ParameterDefaultMaxDescription
page1Page number (1-indexed)
page_size20100Items per page

Interactive Playground

Access the interactive Swagger UI:
http://localhost:8000/docs
Or ReDoc:
http://localhost:8000/redoc

API Versioning

The current API version is v1. All endpoints are prefixed with /api/v1.