Terminal API
XRPL Lending Terminal is a lending-market explorer developed by XRPL Lending Network for the XRP Ledger Lending Protocol.
The Terminal brings together onchain lending data, calculated market metrics, and financial reports prepared by the Network using information obtained from Brokers and reviewed through its verification procedures.
It provides a consolidated view of Vaults, Loan Brokers, outstanding loans, liquidity, repayments, credit exposure, and lending performance.
The Terminal is under development against the XRPL Lending Devnet. The public GitHub repository documents its architecture, data model, and target protocol coverage. The production indexing infrastructure, analytics engine, and internal APIs remain private.

Protocol Data
The Terminal is designed to index validated XRP Ledger data associated with three Lending Protocol ledger entry types.
Source | Target Coverage |
|---|---|
| Supported asset, total and available assets, MPT issuance, withdrawal policy, and Vault lifecycle |
| Associated Vault, outstanding debt, lending limits, fees, and First-Loss Capital |
| Borrower, outstanding balances, loan terms, repayment schedule, and ledger flags |
Lending transactions | Deposits, withdrawals, loan origination, repayments, and changes to ledger state |
Validated ledger entries provide the recorded state of each object. Transaction metadata identifies the changes made by individual transactions.
The Terminal normalizes identifiers, asset amounts, and timestamps, and links transaction events to the affected ledger entries.
For field definitions and mappings, see the Data Model.
LendingProtocolV1_1
Target coverage includes the closed-ended Vault lifecycle introduced by LendingProtocolV1_1.
The amendment adds VaultKind, SubscriptionDate, and RedemptionDate to define a Vault's lifecycle:
- Subscription β Deposits are permitted until the subscription period ends.
- Investment β The period during which capital can be deployed through lending.
- Redemption β The period when assets become available for redemption under the protocol's lifecycle rules.
The lifecycle phase is derived from the Vault schedule and ledger close time, rather than stored as a separate ledger field.
LendingProtocolV1_1 also introduces cash-basis accounting. Support for these changes remains part of the Terminal's development scope and depends on the protocol implementation available on the target network.
See the Development Status for current coverage.
Market Analytics
The Terminal is designed to calculate lending metrics from recorded ledger data.
Category | Target Output |
|---|---|
Utilization | Proportion of pooled capital deployed in loans |
Lending Capacity | Remaining lending capacity based on Vault liquidity and Loan Broker limits |
Cover Ratios | First-Loss Capital relative to outstanding debt and required coverage levels |
Repayment Activity | Payment history and performance against scheduled obligations |
Market Aggregates | Aggregated data across Vaults, Loan Brokers, and supported assets |
Historical Data | Changes in lending balances, activity, and calculated metrics over time |
These metrics are calculated by the Terminal and are not native ledger fields.
Unavailable values must not be represented as zero. Derived metrics must remain distinguishable from recorded ledger data.
Loan Status
Loan payment status is determined from repayment schedules and recorded transactions.
A loan becomes overdue when a scheduled payment remains unpaid after its due date. Impairment and default are separate states recorded through the corresponding Loan ledger flags.
Applications consuming Terminal data must preserve these distinctions. An overdue payment does not, by itself, establish that a loan has been impaired or defaulted.
For technical definitions, see the Loan ledger entry.
Network Reports
The Terminal is also designed to provide financial reporting and market information beyond what is recorded directly on the XRP Ledger.
This reporting incorporates information submitted by Brokers and reviewed by XRPL Lending Network, including:
- Vault financial performance and valuation.
- Credit portfolio composition and risk exposure.
- Liquidity positions and redemption obligations.
- Material credit events and operational developments.
Broker-submitted information is reviewed using supporting records, reconciliations, and independent sources where applicable, in accordance with the Network's Reporting Requirements.
Network reports supplement the onchain record with financial and operational information. They remain distinct from validated ledger data and metrics calculated directly from it.
Data Access
Terminal data access is available by request during development. No public Terminal API has been released.
Available datasets, delivery formats, update frequency, and integration specifications are provided to preview partners based on the supported implementation.
For technical documentation and planned coverage, see the Terminal GitHub repository.
Get Access
To request Devnet preview access and integration materials, email [email protected].
Include the following information:
Subject: Developer preview request: [project name]
- Company or project:
- Project description:
- Application type: Wallet / Application / Analytics / Other
- Requested components: Partner SDK / Network API / Terminal Data
- Integration use case:
- Public Devnet account address(es): If available
- Wallet and version: If applicable
- Contact name and email:
Preview requests are reviewed individually. Access scope and integration documentation are provided according to the project's requirements and available features.