XRPL.to API Tokens API

The Tokens API from XRPL.to API — 8 operation(s) for tokens.

GitHub OpenAPI

Operations 8

GET /tokens List all tokens with metrics #
GET /tokens/slugs All token slugs #
GET /token/{id} Single token by id (see tokenFields for the token object dictionary) #
POST /search Search tokens, NFTs, collections, and accounts. #
GET /tags List all token tags, and every token origin (launchpads and issuers) with its… #
POST /token/{md5}/metadata Update token metadata. 3s per-token write cooldown #
POST /token/{md5}/image Upload token logo image. 3s per-token write cooldown #
GET /token/{md5}/related Related projects: other tokens and NFT collections that share the audience of… #

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-tokens-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-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XRPL.to Tokens 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: Tokens
paths:
  /tokens:
    get:
      tags:
      - Tokens
      summary: List all tokens with metrics
      operationId: get_tokens
      parameters:
      - name: limit
        in: query
        required: false
        description: int (max 100; default 100, or 50 with tag/filter/filterNe, 20 with sort=assessmentScore|pro5m|trendingScore)
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: int (default 0)
        schema:
          type: integer
      - name: sort
        in: query
        required: false
        description: 'token field name: vol24hxrp|marketcap|pro5m|pro1h|pro24h|pro7d|exch|holders|tvl|trendingScore|assessmentScore|dateon|athDistance|name (unknown field = no-op; a token with no value for the field is listed last in both orders; text is ordered from its first letter or digit)'
        schema:
          type: string
      - name: order
        in: query
        required: false
        description: 'asc|desc (default: desc)'
        schema:
          type: string
      - name: tag
        in: query
        required: false
        description: filter by tag (see /tags, case-insensitive)
        schema:
          type: string
      - name: filter
        in: query
        required: false
        description: text search on token name
        schema:
          type: string
      - name: watchlist
        in: query
        required: false
        description: watchlist owner account (r-address) — filters to that account's watchlist tokens
        schema:
          type: string
      - name: show_new
        in: query
        required: false
        description: bool - only tokens created in the last 7 days
        schema:
          type: boolean
      - name: show_slug
        in: query
        required: false
        description: bool - only tokens whose slug equals their md5
        schema:
          type: boolean
      - name: show_date
        in: query
        required: false
        description: bool - only tokens with missing/unknown date
        schema:
          type: boolean
      - name: tags
        in: query
        required: false
        description: yes - include tags array
        schema:
          type: string
      - name: token_type
        in: query
        required: false
        description: 'trustline|lp|mpt|xls14|demurrage|nonstandard (invalid value = no filter, echoed back as token_type: null)'
        schema:
          type: string
      - name: skip_metrics
        in: query
        required: false
        description: bool - skip the global metrics envelope (exch/H24/global) — combine with lightweight for the smallest payload
        schema:
          type: boolean
      - name: lightweight
        in: query
        required: false
        description: bool - strip each token to ~50 essential fields (~77% smaller per token; see tokenFields)
        schema:
          type: boolean
      - name: filterNe
        in: query
        required: false
        description: text - exclude matching tokens (negative filter)
        schema:
          type: string
      - name: min_vol24hxrp
        in: query
        required: false
        description: number - only tokens with at least this 24h volume in XRP; with sort=pro24h, the gainers that actually traded
        schema:
          type: number
          minimum: 0
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, took (integer ms), total (tokens matching the query, pre-pagination), count (tokens in this response), start, limit, tagName, sortBy, sortType, tokens[], exch, H24, global (metrics omitted when skip_metrics=true) }'
  /tokens/slugs:
    get:
      tags:
      - Tokens
      summary: All token slugs
      operationId: get_tokens_slugs
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, count, total, truncated, slugs[] }'
      parameters: []
  /token/{id}:
    get:
      tags:
      - Tokens
      summary: Single token by id (see tokenFields for the token object dictionary)
      operationId: get_token_id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: desc
        in: query
        required: false
        description: yes - include description
        schema:
          type: string
      - name: skip_metrics
        in: query
        required: false
        description: bool - omit the global metrics envelope (exch/total/H24/global)
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, took, total, exch, H24, global, token }'
  /search:
    post:
      tags:
      - Tokens
      summary: Search tokens, NFTs, collections, and accounts.
      operationId: post_search
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, took, tokens[], collections[], nfts[], account (set when search is an r-address), pagination: { offset, limit, total, hasMore, maxResults: 100 } }'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ search, offset?, limit? }'
      parameters: []
  /tags:
    get:
      tags:
      - Tokens
      summary: List all token tags, and every token origin (launchpads and issuers) with its…
      operationId: get_tags
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, took, exch, H24, global, tags }'
      parameters: []
  /token/{md5}/metadata:
    post:
      tags:
      - Tokens
      summary: Update token metadata. 3s per-token write cooldown
      operationId: post_token_md5_metadata
      description: 'Auth: wallet signature (token creator/issuer or admin)'
      parameters:
      - name: md5
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, updated[] }'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ user?, domain?, whitepaper?, description?, social?, tags? (max 15; origin/launchpad tags admin-only), linkedCollections? (max 10) }'
      security:
      - WalletSignature: []
  /token/{md5}/image:
    post:
      tags:
      - Tokens
      summary: Upload token logo image. 3s per-token write cooldown
      operationId: post_token_md5_image
      description: 'Auth: wallet signature (token creator/issuer or admin)'
      parameters:
      - name: md5
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, md5, imgUpdated }'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ imageData: base64 PNG/JPEG/GIF/WebP (max ~650KB decoded) }'
      security:
      - WalletSignature: []
  /token/{md5}/related:
    get:
      tags:
      - Tokens
      summary: 'Related projects: other tokens and NFT collections that share the audience of…'
      description: 'Related projects: other tokens and NFT collections that share the audience of this token. An edge means wallets hold both and accounts post about both — it is NOT a wallet link and does not assert a shared operator (see /token/review for that).'
      parameters:
      - name: md5
        in: path
        required: true
        schema:
          type: string
        description: Token md5
      responses:
        '200':
          description: Related projects (an empty list when there are none)
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  took:
                    type: integer
                    description: server-side elapsed ms
                  count:
                    type: integer
                    description: rows in this response
                  truncated:
                    type: boolean
                    description: true when the list was cut off — render as "N+"
                  subject:
                    type: object
                  related:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                          - token
                          - collection
                        md5:
                          type: string
                        collectionId:
                          type: string
                        slug:
                          type: string
                        name:
                          type: string
                        sharedHolders:
                          type: integer
                          description: wallets holding both
                        posters:
                          type: integer
                          description: distinct accounts that posted about both
                        wallets:
                          type: array
                          items:
                            type: string
                          description: a sample of the shared wallets
                        posts:
                          type: array
                          items:
                            type: object
                        sameProject:
                          type: boolean
                          description: true when on-chain data ties the two to one project
        '404':
          description: Token not found
      operationId: getTokenByMd5Related
      x-operation-id-source: derived
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