XRPL.to API User API

The User API from XRPL.to API — 20 operation(s) for user.

GitHub OpenAPI

Operations 23

GET /user/tiers User tiers with pricing (member, vip, nova, diamond, verified) #
GET /user/{account} Get user profile #
POST /user/{account} Create user profile #
PUT /user/{account} Update username (VIP+ required to change an existing one; tier field is… #
GET /user/{account}/perks Resolved perks (tier + roles merged) #
GET /user/{account}/badges All unlocked badges #
GET /user/{account}/labels Get your own wallet labels — private data, owner-authenticated #
POST /user/{account}/labels Create/update a wallet label (per-tier cap; 402 when limit reached) #
GET /user/{account}/nfts NFTs owned (with thumbnails) #
GET /user/badges/meta Badge system metadata #
GET /user/badges/{badge}/holders Users holding a specific badge #
PUT /user/{account}/display-badge Set displayed badge (must be unlocked) #
GET /user/{account}/labels/watched Only actively-watched wallet labels — private data, owner-authenticated #
PUT /user/{account}/labels/{wallet}/watch Toggle live-watch on a label (per-tier watcher cap) #
DELETE /user/{account}/labels/{wallet} Delete a wallet label #
PUT /user/{account}/avatar Set avatar from an owned NFT #
POST /user/tier/purchase Create XRP invoice for user tier (expires 30 min) #
GET /user/tier/verify/{invoiceId} Verify tier XRP payment (scans fee collector; expired invoices honored if exact… #
POST /user/tier/stripe Stripe checkout for user tier #
GET /user/tier/stripe/{sessionId} Check Stripe tier payment status #
POST /user/tier/gift/purchase Gift a tier via XRP invoice #
GET /user/tier/gift/verify/{invoiceId} Verify gift tier payment #
POST /user/tier/gift/stripe Gift a tier via Stripe #

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-user-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-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XRPL.to User 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: User
paths:
  /user/tiers:
    get:
      tags:
      - User
      summary: User tiers with pricing (member, vip, nova, diamond, verified)
      operationId: get_user_tiers
      responses:
        '200':
          description: Success
      parameters: []
  /user/{account}:
    get:
      tags:
      - User
      summary: Get user profile
      operationId: get_user_account
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
    post:
      tags:
      - User
      summary: Create user profile
      operationId: post_user_account
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ username?, referredBy? }'
      security:
      - WalletSignature: []
    put:
      tags:
      - User
      summary: Update username (VIP+ required to change an existing one; tier field is…
      operationId: put_user_account
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ username? }'
      security:
      - WalletSignature: []
  /user/{account}/perks:
    get:
      tags:
      - User
      summary: Resolved perks (tier + roles merged)
      operationId: get_user_account_perks
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /user/{account}/badges:
    get:
      tags:
      - User
      summary: All unlocked badges
      operationId: get_user_account_badges
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /user/{account}/labels:
    get:
      tags:
      - User
      summary: Get your own wallet labels — private data, owner-authenticated
      operationId: get_user_account_labels
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
    post:
      tags:
      - User
      summary: Create/update a wallet label (per-tier cap; 402 when limit reached)
      operationId: post_user_account_labels
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ wallet, label (1-50 chars), watching? }'
      security:
      - WalletSignature: []
  /user/{account}/nfts:
    get:
      tags:
      - User
      summary: NFTs owned (with thumbnails)
      operationId: get_user_account_nfts
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: int (max 100)
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: int
        schema:
          type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, count, total, nfts[] }'
  /user/badges/meta:
    get:
      tags:
      - User
      summary: Badge system metadata
      operationId: get_user_badges_meta
      responses:
        '200':
          description: Success
      parameters: []
  /user/badges/{badge}/holders:
    get:
      tags:
      - User
      summary: Users holding a specific badge
      operationId: get_user_badges_badge_holders
      parameters:
      - name: badge
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: int (max 500)
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: int
        schema:
          type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, badge, count, total, holders[] }'
  /user/{account}/display-badge:
    put:
      tags:
      - User
      summary: Set displayed badge (must be unlocked)
      operationId: put_user_account_display_badge
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ badge: "category:id" | null }'
      security:
      - WalletSignature: []
  /user/{account}/labels/watched:
    get:
      tags:
      - User
      summary: Only actively-watched wallet labels — private data, owner-authenticated
      operationId: get_user_account_labels_watched
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /user/{account}/labels/{wallet}/watch:
    put:
      tags:
      - User
      summary: Toggle live-watch on a label (per-tier watcher cap)
      operationId: put_user_account_labels_wallet_watch
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ watching: bool }'
      security:
      - WalletSignature: []
  /user/{account}/labels/{wallet}:
    delete:
      tags:
      - User
      summary: Delete a wallet label
      operationId: delete_user_account_labels_wallet
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /user/{account}/avatar:
    put:
      tags:
      - User
      summary: Set avatar from an owned NFT
      operationId: put_user_account_avatar
      description: 'Auth: wallet signature'
      parameters:
      - name: account
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ nftId: 64-hex }'
      security:
      - WalletSignature: []
  /user/tier/purchase:
    post:
      tags:
      - User
      summary: Create XRP invoice for user tier (expires 30 min)
      operationId: post_user_tier_purchase
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ tier: "vip|nova|diamond", address }'
      parameters: []
  /user/tier/verify/{invoiceId}:
    get:
      tags:
      - User
      summary: Verify tier XRP payment (scans fee collector; expired invoices honored if exact…
      operationId: get_user_tier_verify_invoiceId
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /user/tier/stripe:
    post:
      tags:
      - User
      summary: Stripe checkout for user tier
      operationId: post_user_tier_stripe
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ tier, address }'
      parameters: []
  /user/tier/stripe/{sessionId}:
    get:
      tags:
      - User
      summary: Check Stripe tier payment status
      operationId: get_user_tier_stripe_sessionId
      parameters:
      - name: sessionId
        in: path
        required: true
        schema:
          type: string
      - name: wallet
        in: query
        required: false
        description: required
        schema:
          type: string
      responses:
        '200':
          description: Success
  /user/tier/gift/purchase:
    post:
      tags:
      - User
      summary: Gift a tier via XRP invoice
      operationId: post_user_tier_gift_purchase
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ gifterAddress, recipientAddress, tier }'
      parameters: []
  /user/tier/gift/verify/{invoiceId}:
    get:
      tags:
      - User
      summary: Verify gift tier payment
      operationId: get_user_tier_gift_verify_invoiceId
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /user/tier/gift/stripe:
    post:
      tags:
      - User
      summary: Gift a tier via Stripe
      operationId: post_user_tier_gift_stripe
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ gifterAddress, recipientAddress, tier }'
      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