XRPL.to API Traders API

The Traders API from XRPL.to API — 5 operation(s) for traders.

GitHub OpenAPI

Operations 5

GET /traders/{account} Full trader profile #
GET /traders/token-traders/{id} Top traders for a token #
GET /traders/rotations Cross-token trader rotation analytics #
GET /traders/rotations/{tokenId} Trader rotations for a specific token #
GET /traders/{account}/rotations Per-account token rotation flow (XRP bought/sold per token in window) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xrpl-to:xrpl-to-traders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xrpl-to-traders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XRPL.to Traders 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: Traders
paths:
  /traders/{account}:
    get:
      tags:
      - Traders
      summary: Full trader profile
      operationId: get_traders_account
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: int (max 200, default 50)
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: int
        schema:
          type: integer
      - name: sortTokensBy
        in: query
        required: false
        description: volume|profit|trades|roi|lastTradeDate
        schema:
          type: string
      - name: tokenIds
        in: query
        required: false
        description: comma-separated token md5s (filter, skips pagination)
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, address, rank, totalTokensTraded, holdingValue, tokenPerformance[], recentTokens[], pagination: { totalTokens (servable, capped 500), lifetimeTokens, truncated, limit, offset, hasMore } }'
  /traders/token-traders/{id}:
    get:
      tags:
      - Traders
      summary: Top traders for a token
      operationId: get_traders_token_traders_id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: interval
        in: query
        required: false
        description: 24h|7d|30d|all
        schema:
          type: string
      - name: sortBy
        in: query
        required: false
        description: volume|pnl|trades|bought|sold|roi|wash|lastActive|unrealized|balance
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: int (max 500, default 50)
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: int
        schema:
          type: integer
      - name: minVolume
        in: query
        required: false
        description: float (filters all-time buyVolume)
        schema:
          type: number
      - name: search
        in: query
        required: false
        description: address prefix
        schema:
          type: string
      responses:
        '200':
          description: Success
  /traders/rotations:
    get:
      tags:
      - Traders
      summary: Cross-token trader rotation analytics
      operationId: get_traders_rotations
      parameters:
      - name: period
        in: query
        required: false
        description: 24h|7d|30d (default 24h)
        schema:
          type: string
      - name: minXrp
        in: query
        required: false
        description: float (default 1)
        schema:
          type: number
      - name: limit
        in: query
        required: false
        description: int (max 100, default 50)
        schema:
          type: integer
      responses:
        '200':
          description: Success
  /traders/rotations/{tokenId}:
    get:
      tags:
      - Traders
      summary: Trader rotations for a specific token
      operationId: get_traders_rotations_tokenId
      description: tokenId must be a raw md5 (no slug resolution)
      parameters:
      - name: tokenId
        in: path
        required: true
        schema:
          type: string
      - name: period
        in: query
        required: false
        description: 24h|7d|30d (default 24h)
        schema:
          type: string
      - name: minXrp
        in: query
        required: false
        description: float (default 1)
        schema:
          type: number
      responses:
        '200':
          description: Success
  /traders/{account}/rotations:
    get:
      tags:
      - Traders
      summary: Per-account token rotation flow (XRP bought/sold per token in window)
      operationId: get_traders_account_rotations
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      - name: period
        in: query
        required: false
        description: 24h|7d|30d (default 24h)
        schema:
          type: string
      - name: minXrp
        in: query
        required: false
        description: float (default 0.01)
        schema:
          type: number
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, period, account, totalTrades, tokensTraded, rotationCount, tokens[] }'
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