Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: XRPL.to Submit API
description: 'XRPL token analytics, market data, NFT, trading, and on-chain account API.
## Usage policy
Applies to every caller — no key, Free, and every paid tier alike.
- **Attribution is required.** Any app, website, bot, or dashboard that displays xrpl.to data must show a visible, clickable credit to xrpl.to on the same screen as that data — not buried in an about page. Use: `Data by xrpl.to`
- **Redistribution needs permission.** Storing our data and re-serving it from your own API, dataset, or public dashboard requires written permission first. Email hello@xrpl.to — the answer is usually yes, we just need to know who is doing it.
- **Indexers and aggregators:** use the paginated list endpoints instead of looping one item at a time, cache what you fetch, and honour `Retry-After` on a 429 — a repeated 429 means back off, not retry. Get a key rather than running anonymous so we can raise your limits instead of blocking you.
- **Partner tier** (invitation-only, free): 100 req/sec, 200M credits/mo, direct support — for integrations that credit us properly. Email hello@xrpl.to or DM @xrplto on X.
Successful responses on the tiers that pay nothing (anonymous, free, partner) carry an `attribution` string right after `success`, restating this requirement. It is informational — safe to ignore in code, but not optional to comply with.'
version: '1.20'
contact:
name: XRPL.to
url: https://xrpl.to
servers:
- url: https://api.xrpl.to/v1
description: Production (canonical)
- url: https://api.xrpl.to/api
description: Production (alias — identical API, prefer /v1)
tags:
- name: Submit
paths:
/submit:
post:
tags:
- Submit
summary: Submit signed transaction
operationId: post_submit
description: 'engine_result is PRELIMINARY — only a validated ledger is final (xrpl.org, Finality of Results); success means applied to the open ledger, which includes a tec that burned the fee. outcome:"unknown" (on a 502, a 409 duplicate, or a 200 without engine_result) means the transaction may still apply: resolve it by hash until a validated ledger passes its LastLedgerSequence, never by re-signing on a fresh Sequence. A 400 with error_code is rippled refusing it before processing. Every response carries hash. The same tx_blob again within 30s returns 409.'
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: '{ success, took, engine_result, engine_result_code, engine_result_message, tx_json, hash, accepted, applied, broadcast, kept, queued }'
requestBody:
required: true
content:
application/json:
schema:
type: object
description: '{ tx_blob, fail_hard? }'
parameters: []
/submit/preview:
post:
tags:
- Submit
summary: Dry-run transaction preview (400 on invalid tx input); under fee escalation a…
operationId: post_submit_preview
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: '{ success, took, engine_result, engine_result_message, meta, tx_json, sender_after }'
requestBody:
required: true
content:
application/json:
schema:
type: object
description: '{ tx_json } or { tx_blob }'
parameters: []
/submit/types:
get:
tags:
- Submit
summary: Every transaction type POST /submit relays, each with an example…
operationId: get_submit_types
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: '{ success, types[], pool_size }'
parameters: []
/submit/fee:
get:
tags:
- Submit
summary: Current network fees
operationId: get_submit_fee
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: '{ success, base_fee, median_fee, minimum_fee, open_ledger_fee, current_ledger, current_queue_size, max_queue_size }'
parameters: []
/submit/account/{address}/sequence:
get:
tags:
- Submit
summary: Account sequence number
operationId: get_submit_account_address_sequence
parameters:
- name: address
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: '{ success, sequence, ledger_index, balance, ownerCount, flags, regularKey, cached? }'
/submit/account/{address}/inbound-tags:
get:
tags:
- Submit
summary: Destination-tag usage of recent inbound payments (send-screening advisory…
operationId: get_submit_account_address_inbound_tags
parameters:
- name: address
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: '{ success, took, account, sampleSize, tagged, taggedPct, distinctSenders, tagsExpected }'
/submit/tx/{hash}:
get:
tags:
- Submit
summary: Lookup a submitted XRPL transaction by hash
operationId: get_submit_tx_hash
parameters:
- name: hash
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/submit/ledger-entry/check/{checkId}:
get:
tags:
- Submit
summary: Lookup a Check ledger entry by id
operationId: get_submit_ledger_entry_check_checkId
parameters:
- name: checkId
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/rpc:
post:
tags:
- Submit
operationId: post_rpc
parameters: []
responses:
'200':
description: '{ success, took, method, result (the node''s own result, verbatim) }'
summary: The XRP Ledger's own READ commands against MAINNET — the twin of POST…
description: 'Same list as /testnet/rpc: account_channels, account_currencies, account_info, account_lines, account_nfts, account_objects, account_offers, account_tx, amm_info, book_changes, book_offers, channel_verify, deposit_authorized, feature, fee, gateway_balances, get_aggregate_price, ledger, ledger_closed, ledger_current, ledger_data, ledger_entry, ledger_header, ledger_index, manifest, mpt_holders, nft_buy_offers, nft_history, nft_info, nft_sell_offers, nfts_by_issuer, noripple_check, owner_info, ping, random, ripple_path_find, server_definitions, server_info, server_state, simulate, transaction_entry, tx, tx_history, tx_reduce_relay, vault_info, version. subscribe, unsubscribe and path_find need a session — use the WebSocket. History (account_tx, tx, tx_history, transaction_entry, nft_history), nft_info, nfts_by_issuer, mpt_holders, ripple_path_find and any read pinned to a ledger older than our node keeps (a few days) are answered by full-history nodes, back to the ledger''s start; everything else by our own node'
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-Api-Key
WalletSignature:
type: apiKey
in: header
name: X-Signature
description: Send X-Wallet, X-Timestamp, X-Signature, X-Public-Key headers.
AdminKey:
type: apiKey
in: header
name: X-Admin-Key