curl https://api.arouter.ai/api/v1/transactions \
-H "Authorization: Bearer lr_live_xxxx"
import requests
resp = requests.get(
"https://api.arouter.ai/api/v1/transactions",
headers={"Authorization": "Bearer lr_live_xxxx"},
)
print(resp.json())
const response = await fetch("https://api.arouter.ai/api/v1/transactions", {
headers: {
Authorization: "Bearer lr_live_xxxx",
},
});
console.log(await response.json());
Billing
List Transactions
List recent billing transactions, including usage charges and credit purchases.
GET
/
api
/
v1
/
transactions
curl https://api.arouter.ai/api/v1/transactions \
-H "Authorization: Bearer lr_live_xxxx"
import requests
resp = requests.get(
"https://api.arouter.ai/api/v1/transactions",
headers={"Authorization": "Bearer lr_live_xxxx"},
)
print(resp.json())
const response = await fetch("https://api.arouter.ai/api/v1/transactions", {
headers: {
Authorization: "Bearer lr_live_xxxx",
},
});
console.log(await response.json());
curl https://api.arouter.ai/api/v1/transactions \
-H "Authorization: Bearer lr_live_xxxx"
import requests
resp = requests.get(
"https://api.arouter.ai/api/v1/transactions",
headers={"Authorization": "Bearer lr_live_xxxx"},
)
print(resp.json())
const response = await fetch("https://api.arouter.ai/api/v1/transactions", {
headers: {
Authorization: "Bearer lr_live_xxxx",
},
});
console.log(await response.json());
Response
{
"transactions": [
{
"id": "txn_xxx",
"type": "usage",
"amount": -0.0042,
"description": "openai/gpt-5.4 - 500 input tokens, 200 output tokens",
"created_at": "2026-04-03T10:00:00Z"
},
{
"id": "txn_yyy",
"type": "credit",
"amount": 50.0,
"description": "Credit purchase",
"created_at": "2026-04-01T09:00:00Z"
}
]
}
| Field | Description |
|---|---|
id | Unique transaction ID |
type | Transaction type, such as usage or credit |
amount | Positive for credit purchases, negative for usage charges |
description | Human-readable description of the transaction |
created_at | RFC3339 timestamp for when the transaction was recorded |
Notes
- Results are ordered from newest to oldest.
- Usage charges reflect normalized ARouter accounting, including cached tokens and reasoning tokens when applicable.
- For dashboard exports and grouping by model or API key, see Activity Export.