Skip to main content
GET
Your credits, cap and the plan that fits
Call it with your key to see where your account stands; it costs no credits, so it also answers once your credits are used up. Without a key it shows the keyless allowance from your IP and the call that gets a free key. /v1/me, /v1/me/usage, /v1/account and /v1/credits give the same answer.
recommended_plan is the cheapest plan that fits what your account does: Explorer, or Builder when your pace is past Explorer’s credits; from Builder up, the next plan (Pro). A free key whose account may try Explorer for 7 days (it used up its credits, or its first key is 48 hours old and used 200 credits) gets trial.start, the call that starts it, and trial.message says what the trial gives or why the account may not start it yet.

Authorizations

Authorization
string
header
required

Ironflow API key, format if_xxxx. Free keys at https://ironflow.sh/key. Optional on read endpoints.

Response

The caller's credits, cap, trial and the plan that fits.

GET /v1/usage: the caller's credits, cap, trial and the cheapest plan that fits.

message
string
required

The answer in plain sentences an agent can pass on

tier
enum<string>
required
Available options:
anon,
free,
liquidations,
explorer,
builder,
pro,
enterprise
keyless
boolean
required

true without a key

requests_per_minute
integer
required
history
string
required

How far back the tier reads: "14 days", "full history"

credits
object | null
required

Null for an account with no credit quota (Enterprise).

cap
object
required
plans
string<uri>
required

Every plan and its limits

docs
string<uri>
required
trial
object

The 7-day Explorer trial, on free keys.

The cheapest plan that fits: a free key without a key; on free Explorer, or Builder when the pace is past Explorer's credits; the next plan above. Same shape as upgrade on a limit error (terms: the yearly plan).

upgrade
object

The upgrade object a JSON answer to a key carries from 80% of its daily or monthly credits: what is left of the quota that runs out first, when it comes back, and the plan with its pay link and buy call. Never on shared-cache answers.

get_key
object

Without a key, the one call that gets a free key.

agent
string

While the account is capped or past 80% of its daily or monthly credits (or runs out before the reset at this pace), an instruction written to an AI agent acting for a person: what to tell them, the trial call when eligible, the recommended plan's pay link and the x402 buy call. Same wording as error.agent on a refusal.