Authentication
Every /api/v1/* request requires an API key. Keys are prefixed with xflux_ and created in the Dashboard.
Create an API key
- Register or sign in
- Open Dashboard → API Keys
- Copy the key once — treat it like a password
Request headers
Use either header (not both required):
Authorization: Bearer xflux_YOUR_API_KEY
# or
X-API-Key: xflux_YOUR_API_KEYExample
curl "https://www.xfluxapi.com/api/v1/users/elonmusk" \
-H "Authorization: Bearer xflux_YOUR_API_KEY"Quota
Authenticated calls count against your monthly plan quota and per-minute rate limit. See Plans & Limits. Monitor polling does not consume API quota.MCP / agents
Set XFLUX_API_KEY in your MCP client env. Details: MCP server.
Auth errors
Missing or invalid keys return HTTP 401 with code UNAUTHORIZED. Full table: Errors.