# XRPL.to API Ledger & Tx API

**Canonical:** https://apis.io/apis/xrpl-to/xrpl-to-ledger-tx-api/  
**Provider:** XRPL.to API — https://apis.io/providers/xrpl-to/  
**Base URL:** https://api.xrpl.to/v1  
**Documentation:** https://xrpl.to/docs/reference

XRPL.to API Ledger & Tx API is one of 40 APIs that [XRPL.to API](https://apis.io/providers/xrpl-to/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Ledger & Tx. The published artifact set on APIs.io includes an OpenAPI specification.

The Ledger & Tx API from XRPL.to API — 5 operation(s) for ledger & tx.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/ledger` | Current validated ledger info |
| GET | `/ledger/{index}` | Ledger by index with transactions |
| GET | `/ledger/entry` | Fetch specific ledger object |
| GET | `/tx/{hash}` | Transaction by hash (64-char hex) |
| GET | `/ledger/at` | Resolve a datetime to the last ledger closed at or before it (binary search). |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/xrpl-to/openapi/xrpl-to-ledger-tx-api-openapi.yml

## Other XRPL.to API APIs (12)

- [XRPL.to API Account API](https://apis.io/apis/xrpl-to/xrpl-to-account-api/)
- [XRPL.to API Account Tx Explain API](https://apis.io/apis/xrpl-to/xrpl-to-account-tx-explain-api/)
- [XRPL.to API AI API](https://apis.io/apis/xrpl-to/xrpl-to-ai-api/)
- [XRPL.to API Analytics API](https://apis.io/apis/xrpl-to/xrpl-to-analytics-api/)
- [XRPL.to API Boost API](https://apis.io/apis/xrpl-to/xrpl-to-boost-api/)
- [XRPL.to API Bridge API](https://apis.io/apis/xrpl-to/xrpl-to-bridge-api/)
- [XRPL.to API Charts & Analytics API](https://apis.io/apis/xrpl-to/xrpl-to-charts-analytics-api/)
- [XRPL.to API Charts API](https://apis.io/apis/xrpl-to/xrpl-to-charts-api/)
- [XRPL.to API Chat API](https://apis.io/apis/xrpl-to/xrpl-to-chat-api/)
- [XRPL.to API Creator Activity API](https://apis.io/apis/xrpl-to/xrpl-to-creator-activity-api/)
- [XRPL.to API Embed API](https://apis.io/apis/xrpl-to/xrpl-to-embed-api/)
- [XRPL.to API Keys API](https://apis.io/apis/xrpl-to/xrpl-to-keys-api/)

## Tags

Ledger & Tx

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/xrpl-to` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/xrpl-to/xrpl-to-ledger-tx-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/xrpl-to/.
