Browse documentation
API referenceGET/v1/account/ledgerFree
Try it

List recent account ledger entries

GET /v1/account/ledger

Returns recent balance history, topups, debit events, and adjustment audit trails.

When to use it

Use this endpoint for customer-facing usage pages and internal credit-audit tools.

Authentication and billing

  • Requires X-API-Key or api_key.
  • Credit cost: Free. Non-billable account route.
  • See pricing for plan allowances and full billing details.

Request

This endpoint does not require a request body.

FieldLocationRequiredNotes
limitqueryNoHow many most-recent ledger rows to return. Defaults to 50.
api_keyqueryNoOptional alternative to the X-API-Key header. Prefer the header for server-side applications.

Response

Returns ledger entries newest first.

Successful Responseapplication/json
{
  "data": [
    {
      "account_id": "acct_acme_growth",
      "amount": 12,
      "api_key": "ak_live_growth_primary",
      "balance_after": 12240,
      "created_at": "2026-05-11T10:25:14+00:00",
      "entry_id": "ledg_20260511_0001",
      "entry_type": "debit",
      "metadata": {
        "page": 1,
        "symbols": [
          "MEDIASSIST",
          "TCS"
        ]
      },
      "reference_id": "req_7f91ab2c",
      "request_details_available": true,
      "request_id": "1f8f0be3c14e4c2a9c0dc0bb8f1d2e3f",
      "route_id": "announcements_summary"
    }
  ]
}

Code examples

SDK examples use a client created as in the Python, JavaScript / TypeScript, Java, PHP, or C# SDK guide. Java examples import com.fasterxml.jackson.databind.JsonNode and in.manasija.drishti.params.*. C# examples use using Manasija.Drishti.Params;.

ledger = client.get_account_ledger(limit=25)

Try it

Send this request from the Drishti API playground with your own API key. It shows the credit cost before you send and gives you the matching cURL command. For schemas and the full OpenAPI contract, use the Scalar API client.