Skip to main content
GET
/
v1
/
account
/
usage
Get credit usage history
curl --request GET \
  --url https://api.urltodata.ai/v1/account/usage \
  --header 'Authorization: Bearer <token>'
{
  "transactions": [
    {
      "id": "<string>",
      "amount": 123,
      "type": "<string>",
      "description": "<string>",
      "job_id": "<string>",
      "created_at": 123
    }
  ],
  "limit": 123,
  "offset": 123,
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:your-api-key
required

API key as Bearer token (e.g. Bearer mp_abc123_secret)

Query Parameters

limit
integer
default:50

Max transactions to return

offset
integer
default:0

Pagination offset

type
string

Filter by transaction type (grant, purchase, settled, clawback, etc.)

Response

Usage history

transactions
object[]
limit
integer
offset
integer
total
integer