XFlux

Authentication

Every /api/v1/* request requires an API key. Keys are prefixed with xflux_ and created in the Dashboard.

Create an API key

  1. Register or sign in
  2. Open Dashboard → API Keys
  3. 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_KEY

Example

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.

Authentication