Skip to main content

How it works

All list endpoints return paginated results using cursor-based pagination.

Query parameters

ParameterTypeDefaultDescription
limitinteger50Number of items per page (max 200)
cursorstringCursor from the previous response’s nextCursor

Response format

{
  "ok": true,
  "data": {
    "items": [...],
    "nextCursor": "eyJ..."
  }
}
When nextCursor is null, there are no more pages.

Example

# First page
curl -sS "https://api.ledger.so/v1/transactions?limit=10" \
  -H "Authorization: Bearer $LEDGER_API_KEY"

# Next page
curl -sS "https://api.ledger.so/v1/transactions?limit=10&cursor=eyJ..." \
  -H "Authorization: Bearer $LEDGER_API_KEY"