Skip to main content
GET
/
api
/
v1
/
balance
curl https://api.arouter.ai/api/v1/balance \
  -H "Authorization: Bearer lr_live_xxxx"
import requests

resp = requests.get(
    "https://api.arouter.ai/api/v1/balance",
    headers={"Authorization": "Bearer lr_live_xxxx"},
)
print(resp.json())
const response = await fetch("https://api.arouter.ai/api/v1/balance", {
  headers: {
    Authorization: "Bearer lr_live_xxxx",
  },
});

console.log(await response.json());
curl https://api.arouter.ai/api/v1/balance \
  -H "Authorization: Bearer lr_live_xxxx"
import requests

resp = requests.get(
    "https://api.arouter.ai/api/v1/balance",
    headers={"Authorization": "Bearer lr_live_xxxx"},
)
print(resp.json())
const response = await fetch("https://api.arouter.ai/api/v1/balance", {
  headers: {
    Authorization: "Bearer lr_live_xxxx",
  },
});

console.log(await response.json());

Response

{
  "balance": 42.50,
  "currency": "USD"
}
FieldDescription
balanceRemaining prepaid credits in USD
currencyCurrency used for display and accounting

Notes

  • This endpoint returns the account-level balance associated with the provided API key.
  • If your account has pending top-ups, the visible balance may update shortly after settlement completes.
  • For billing policy details, see Billing & Credits.