Usage broken down by day
For a chart, or for checking an invoice line against the day it came from.
Authorization
apiKey Authorization: Bearer fx_live_<id>_<secret>.
A key is shown once, at creation. We cannot show it again or recover it for you.
Keys carry a label (live or test) in the key itself, so each configuration is easy to tell
apart. Both reach real brokers: test with a broker demo account.
Scopes are per key. A key without accounts:write can read accounts and nothing else.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/billing/usage/daily"{ "data": [ { "day": "string", "metric": "string", "count": 0 } ]}This month's usage and what it would cost GET
Counted as it happens rather than derived at the end of the month, so this is the same number the invoice will use. **Over quota, opening is refused and closing is always allowed.** A billing problem must never hold you in a position you cannot exit — an order to close comes back `201` however far over the plan you are, and only opening returns `402 QUOTA_EXCEEDED`.
What is paying for the plan GET
The workspace's subscription, if it has one: plan, card or crypto, status, the current paid period and whether it ends at period end. Null when nothing is being paid for.