Sandbox version
For experimental use only. Proceed with caution.
network
List ledger headers
get
/network/ledger-info
operationId: network-ledgerInfo

Returns indexed ledger headers ordered newest-first, optionally constrained to an inclusive [startIndex, endIndex] range. Each row is a ledger-level record (close time, transaction count, fee summary); use the trade, NFT, or token endpoints for per-transaction views.

Unlock protected endpoints

Enter your Bearer token once to enable every protected route in this API reference.

HTTP bearer

Saved for this browser tab only. The credential is never sent until you test an endpoint.

Authorizations
NameLocationDetails
BearerAuthAuthorization header · bearerJWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`.
Query Parameters
NameTypeDefaultDescription
cursor
string
limit
integer20
startIndex
integer
endIndex
integer
Responses
200
application/json
Successful response
FieldTypeDescription
items
object[]
Page of results.
items[].id
string
UUID — part of the composite PK (id, close_time).
items[].ledgerIndex
integer
XRPL ledger sequence number.
items[].ledgerHash
string
SHA-512Half hash of this ledger.
items[].parentHash
string
Hash of the previous ledger.
items[].accountHash
object
items[].transactionHash
object
items[].closeTime
integer
When the ledger was validated, Unix-seconds.
items[].closeTimeResolution
integer
Close time granularity in seconds.
items[].closeFlags
integer
Ledger close flags bitmask.
items[].closeDuration
object
items[].totalCoins
string
Total XRP in existence, in drops.
items[].transactionCount
integer
Total transactions in this ledger.
items[].successfulTxCount
integer
Transactions that applied successfully (tes codes).
items[].failedTxCount
integer
Transactions that failed (tec/tef/tem/ter codes).
items[].totalFees
string
Sum of all transaction fees in this ledger, in drops.
items[].baseFee
string
Network base fee at this ledger, in drops.
items[].medianFee
string
Median transaction fee in this ledger, in drops.
items[].minFee
string
Lowest transaction fee in this ledger, in drops.
items[].maxFee
string
Highest transaction fee in this ledger, in drops.
items[].reserveBase
string
Account reserve requirement, in drops.
items[].reserveIncrement
string
Per-object reserve increment, in drops.
items[].accountsCreated
integer
New accounts funded in this ledger.
items[].accountsDeleted
integer
Accounts deleted in this ledger.
items[].createdAt
integer
Record creation timestamp, Unix-seconds.
nextCursor
object
Cursor to fetch the next page, or null if this is the last page.
Example
Json
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "ledgerIndex": 0,
      "ledgerHash": "string",
      "parentHash": "string",
      "accountHash": "string",
      "transactionHash": "string",
      "closeTime": 1745798400,
      "closeTimeResolution": 0,
      "closeFlags": 0,
      "closeDuration": 0,
      "totalCoins": "string",
      "transactionCount": 0,
      "successfulTxCount": 0,
      "failedTxCount": 0,
      "totalFees": "string",
      "baseFee": "string",
      "medianFee": "string",
      "minFee": "string",
      "maxFee": "string",
      "reserveBase": "string",
      "reserveIncrement": "string",
      "accountsCreated": 0,
      "accountsDeleted": 0,
      "createdAt": 1745798400
    }
  ],
  "nextCursor": "string"
}
400
application/json
Invalid input data
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
401
application/json
Authorization not provided
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
403
application/json
Insufficient access
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
404
application/json
Not found
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
500
application/json
Internal server error
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}