GET /v1/usage

Updated

What does GET /v1/usage do?

Your recent row consumption and the rows left in your monthly quota. Returns your own recent usage: rows billed per day over the recent window, and the rows remaining in your monthly quota. Use it to watch spend and to reconcile against your own call log.

The agent rail and the /v1 endpoints debit the same monthly row quota, so this figure is the whole account’s consumption, however the rows were read.

Authentication

API key required. Set $BF to the API base and pass your key in $BLACKFORGE_API_KEY.

Parameters

None. GET /v1/usage takes no query parameters.

Example request

curl -H "x-api-key: $BLACKFORGE_API_KEY" \
  "$BF/v1/usage"

Example response

Real response, captured (trimmed for reading; values move every window)
{
  "days": [
    {
      "date": "2026-08-23",
      "count": 47,
      "lastAt": "2026-08-23T05:47:14.609Z"
    },
    {
      "date": "2026-08-22",
      "count": 47,
      "lastAt": "2026-08-22T05:44:21.780Z"
    },
    {
      "date": "2026-08-21",
      "count": 47,
      "lastAt": "2026-08-21T05:49:49.592Z"
    }
  ],
  "rowsRemaining": 499947908
}

Returns

A JSON object with a days array (each day’s date, row count and last-call time) and rowsRemaining, the rows left in the monthly quota.

Responses and errors

Status codes for /v1/usage
StatusWhen
401The x-api-key header is missing or not a valid key.

← All endpoints · How the data is measured · Pricing

See it on the pairs you actually trade

Tell us which exchanges and pairs you watch. We open a dashboard with your history already loaded. Private beta, no card.

9 exchanges · ~11,800 pairs · 120 columns per pair · 5-minute windows

Request access

Request access to the forge

BlackForge is in private beta: 9 spot exchanges and 120 columns per pair, for humans and agents. Drop your email and we’ll reach out when your access is ready.

Contact

Talk to us

Questions about coverage, the API or a plan. We read everything.

Prefer email? hello@blackforge.so

Cookies on BlackForge

We use strictly necessary storage to run this site and remember this choice. With your consent we also measure how the site is used, including session replay with every field you type masked, to improve the product. We load nothing optional until you allow it, and you can withdraw at any time. See our cookie policy.