API
REST API Reference
The REST API exposes the datasets behind the terminal plus your own journal. Base URL: https://www.analytics-fx.com/api/v1.
Authentication
Every request needs an API key in the Authorization header as a bearer token. Create and manage keys at /dashboard/api. The raw key is shown once at creation; store it securely.
Authorization: Bearer afx_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxRequests without a valid key return 401.
Usage and credits
Anyone can test the API for free with a small monthly allowance. An active Analytics plan includes 1000 credits every month. Beyond that, requests draw from your prepaid credit balance, and different endpoints cost different amounts.
When the allowance and balance are exhausted, requests return 429 with reset headers. Check usage at GET /api/v1/usage or on the dashboard.
Endpoints
Every endpoint returns the standard envelope and counts against your credits as shown. Lists are paginated where noted.
/api/v1/symbolsFree/api/v1/seasonality/{symbol}1 credit/api/v1/cot/{currency}1 credit/api/v1/journal/trades2 credits · owner-scoped/api/v1/journal/trades1 credit · owner-scoped/api/v1/journal/trades1 credit · owner-scoped/api/v1/journal/accounts5 credits · owner-scoped/api/v1/journal/trades/screenshot2 credits · owner-scoped/api/v1/usageFree · owner-scoped/api/v1/gex/{symbol}2 credits/api/v1/zeta/{asset}1 credit/api/v1/ml/{currency}1 credit/api/v1/news1 credit/api/v1/screener/{symbol}2 credits/api/v1/montecarlo2 creditsFor machines
Machine-readable OpenAPI 3.1 spec: /api/v1/openapi.json. AI agents can also read /llms.txt.
Notes
Journal endpoints only ever return data owned by the key holder. Dataset responses are versioned under /api/v1 and are independent of the internal terminal routes, so they will not change underneath you without a version bump.
