

/api/v1/usageYour current period credit usage and balance. Free (costs 0 credits). Pass period=YYYY-MM to read a past month.
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
| period | query | string (YYYY-MM) | no | Read a specific month. Defaults to the current UTC month. |
curl -H "Authorization: Bearer afx_live_xxx" \
"https://www.analytics-fx.com/api/v1/usage"{
"apiVersion": "v1",
"data": { "period": "2026-06", "creditsUsed": 16, "monthlyIncluded": 1000,
"balance": 0, "remaining": 984 },
"meta": { "requestId": "req_kl12", "credits": { "cost": 0, "remaining": 984 } }
}