REST API — Transactions
List, filter, and aggregate agent spend events.
GET
/v1/transactionsGET
/v1/transactions/:idGET
/v1/transactions/statsGET /v1/transactions — Query parameters
| Parameter | Type | Default | Description | |
|---|---|---|---|---|
| agentId | string | optional | — | Filter by agent. |
| status | string | optional | all | pending | approved | settled | rejected |
| from | string | optional | — | ISO-8601 start date. |
| to | string | optional | — | ISO-8601 end date. |
| recipient | string | optional | — | Filter by recipient hostname or address. |
| limit | number | optional | 50 | Max 200. |
Transaction object
jsonnomiqon.com
{
"id": "txn_01jx...",
"agentId": "ag_01jx...",
"amount": "0.025000",
"currency": "USDC",
"recipient": "api.openai.com",
"status": "settled",
"signature": "3dK8r...solana-tx-signature",
"blockTime": 1716548400,
"rejectCode": null,
"createdAt": "2026-05-24T12:01:00.000Z",
"settledAt": "2026-05-24T12:01:13.000Z"
}GET /v1/transactions/stats
bashnomiqon.com
GET /v1/transactions/stats?agentId=ag_01jx...&from=2026-05-01&to=2026-05-31jsonnomiqon.com
{
"data": {
"totalSpent": "142.087500",
"transactionCount": 4821,
"rejectedCount": 23,
"topRecipients": [
{ "hostname": "api.openai.com", "totalUsdc": "98.32" },
{ "hostname": "api.anthropic.com", "totalUsdc": "31.10" }
]
}
}