Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: XRPL.to Promotion 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: Promotion
paths:
/promotion/pool/{md5}:
get:
tags:
- Promotion
summary: Get promotion pool info (status, amounts, expiry)
operationId: get_promotion_pool_md5
parameters:
- name: md5
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/promotion/reward/{md5}/{account}:
get:
tags:
- Promotion
summary: Get reward status for a token
operationId: get_promotion_reward_md5_account
parameters:
- name: md5
in: path
required: true
schema:
type: string
- name: account
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/promotion/leaderboard/{md5}:
get:
tags:
- Promotion
summary: Per-token promoter leaderboard
operationId: get_promotion_leaderboard_md5
parameters:
- name: md5
in: path
required: true
schema:
type: string
- name: offset
in: query
required: false
description: int (default 0)
schema:
type: integer
- name: limit
in: query
required: false
description: int (default 20, max 1000)
schema:
type: integer
responses:
'200':
description: Success
/promotion/profile/{account}:
get:
tags:
- Promotion
summary: Global promotion stats
operationId: get_promotion_profile_account
parameters:
- name: account
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/promotion/tiers:
get:
tags:
- Promotion
summary: Promoter tier metadata
operationId: get_promotion_tiers
responses:
'200':
description: Success
parameters: []
/promotion/claim:
post:
tags:
- Promotion
summary: Claim earned promotion rewards (paid in XRP)
operationId: post_promotion_claim
responses:
'200':
description: Success
requestBody:
required: true
content:
application/json:
schema:
type: object
description: '{ md5, account }'
parameters: []
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