XRPL.to API Keys API

The Keys API from XRPL.to API — 20 operation(s) for keys.

GitHub OpenAPI

Operations 21

POST /keys Create new API key (1 active key on free tier, 5 on paid tiers) #
GET /keys/{wallet} List API keys for wallet #
PUT /keys/{wallet}/{id} Rename an active API key (metadata only) #
DELETE /keys/{wallet}/{id} Revoke API key (first call revokes; calling again on a revoked key permanently… #
GET /keys/{wallet}/credits Remaining credits and billing info #
GET /keys/{wallet}/usage Usage breakdown by key and endpoint #
GET /keys/{wallet}/subscription Subscription details, available upgrades and partnerRequest { status… #
POST /feedback Tell us an endpoint, field or parameter you needed and did not get, or a value… #
POST /keys/{wallet}/partner-request Apply for the free Partner tier (see usagePolicy.partner) #
GET /keys/tiers Available API tiers with live XRP pricing. #
GET /keys/packages Credit top-up packages with pricing #
GET /keys/costs Per-endpoint credit costs #
POST /keys/purchase Create XRP payment request #
POST /keys/verify-payment Verify XRP payment and apply credits/tier #
GET /keys/xrp/status/{txHash} Check XRP payment status #
POST /keys/stripe/checkout Create Stripe checkout session #
GET /keys/stripe/status/{sessionId} Check Stripe payment status #
GET /keys/payment/{txHash} Look up processed payment by tx hash #
GET /keys/{wallet}/logs Recent API request logs for a wallet #
GET /keys/payments/{wallet} Payment history for wallet #
GET /keys/invoices/{paymentId} Invoice detail for a payment (sequential INV-YYYY-NNNNN number assigned on… #

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-keys-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-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XRPL.to Keys 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: Keys
paths:
  /keys:
    post:
      tags:
      - Keys
      summary: Create new API key (1 active key on free tier, 5 on paid tiers)
      operationId: post_keys
      description: Requires wallet signature. Save the API key immediately - it cannot be retrieved later. The project block and agreePolicy record which project the key serves and that it accepted the usage policy (attribution, no redistribution); the agreement is stamped server-side. Legacy name-only bodies are still accepted for now.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: '{ success, apiKey, keyPrefix, wallet, credits, project }'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ name?: string, project: { name, url: "https://...", category: "wallet|explorer|trading_bot|analytics|ai_agent|other", description, expectedDaily: "lt1k|1k-10k|10k-100k|100k+", contact?: "email or @handle" }, agreePolicy: true } - project + agreePolicy record which project the key serves and that it accepted the usage policy (attribution, no redistribution); the agreement is stamped server-side. Legacy name-only bodies are still accepted for now.'
      parameters: []
  /keys/{wallet}:
    get:
      tags:
      - Keys
      summary: List API keys for wallet
      operationId: get_keys_wallet
      description: 'Auth: wallet signature'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /keys/{wallet}/{id}:
    put:
      tags:
      - Keys
      summary: Rename an active API key (metadata only)
      operationId: put_keys_wallet_id
      description: 'Auth: wallet signature. Headers: X-Wallet, X-Signature, X-Timestamp, X-Public-Key'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ name: string (1-64) }'
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
    delete:
      tags:
      - Keys
      summary: Revoke API key (first call revokes; calling again on a revoked key permanently…
      operationId: delete_keys_wallet_id
      description: 'Auth: wallet signature. Headers: X-Wallet, X-Signature, X-Timestamp, X-Public-Key'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /keys/{wallet}/credits:
    get:
      tags:
      - Keys
      summary: Remaining credits and billing info
      operationId: get_keys_wallet_credits
      description: 'Auth: wallet signature'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /keys/{wallet}/usage:
    get:
      tags:
      - Keys
      summary: Usage breakdown by key and endpoint
      operationId: get_keys_wallet_usage
      description: 'Auth: wallet signature'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /keys/{wallet}/subscription:
    get:
      tags:
      - Keys
      summary: Subscription details, available upgrades and partnerRequest { status…
      operationId: get_keys_wallet_subscription
      description: 'Auth: wallet signature'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /feedback:
    post:
      tags:
      - Keys
      summary: Tell us an endpoint, field or parameter you needed and did not get, or a value…
      operationId: post_feedback
      responses:
        '200':
          description: 'Report recorded: { success, took, received { kind, method, route, name, verified, status }, reports }'
        '400':
          description: A field is missing, unknown or out of shape
        '401':
          description: No API key
        '403':
          description: A shared key (use your own)
        '429':
          description: Over 10 a minute, or 50 different reports for this wallet today
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - kind
              properties:
                kind:
                  type: string
                  enum:
                  - missing_endpoint
                  - missing_field
                  - missing_param
                  - wrong_value
                  - null_field
                  - stale_data
                  - error
                  - slow
                  - docs_mismatch
                requestId:
                  type: string
                  pattern: ^[0-9a-fA-F]{32}$
                  description: The X-Request-ID header of the call the report is about
                path:
                  type: string
                  maxLength: 300
                  description: The path called, when there is no requestId
                method:
                  type: string
                  enum:
                  - GET
                  - POST
                  - PUT
                  - PATCH
                  - DELETE
                name:
                  type: string
                  maxLength: 64
                  pattern: ^[A-Za-z_][A-Za-z0-9_]{0,39}(\.[A-Za-z_][A-Za-z0-9_]{0,39}){0,3}$
                  description: The field or parameter the report is about
      security:
      - ApiKeyAuth: []
      description: 'Every response carries X-Request-ID, and a 404 or 500 body carries a ready-made feedback block. With a requestId from your last 50 requests the method, route and status are read from our own log (verified: true); otherwise the path you send is used (verified: false). name is required for missing_field, missing_param, wrong_value and null_field, optional for stale_data and docs_mismatch, refused otherwise. Unknown fields are refused. Sending the same report again the same day adds to its count. Limits: 10 a minute, 50 different reports per wallet a day. A person reads the counts and decides; nothing is changed automatically'
      parameters: []
  /keys/{wallet}/partner-request:
    post:
      tags:
      - Keys
      summary: Apply for the free Partner tier (see usagePolicy.partner)
      operationId: post_keys_wallet_partner_request
      description: Needs an active key created with project details that has made real requests; one open request per wallet (409 while pending). A person reviews the request (opening creditUrl when given), and approving upgrades every active key on the wallet. Result appears in GET /keys/{wallet}/subscription.
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Request filed
        '400':
          description: Not eligible yet or invalid body
        '409':
          description: A request is already pending
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ creditUrl?: "https://... page where the Data by xrpl.to credit is visible (optional if your app is not public yet)", contact: "email or @handle" }'
      security:
      - WalletSignature: []
  /keys/tiers:
    get:
      tags:
      - Keys
      summary: Available API tiers with live XRP pricing.
      operationId: get_keys_tiers
      responses:
        '200':
          description: Success
      parameters: []
  /keys/packages:
    get:
      tags:
      - Keys
      summary: Credit top-up packages with pricing
      operationId: get_keys_packages
      responses:
        '200':
          description: Success
      parameters: []
  /keys/costs:
    get:
      tags:
      - Keys
      summary: Per-endpoint credit costs
      operationId: get_keys_costs
      responses:
        '200':
          description: Success
      parameters: []
  /keys/purchase:
    post:
      tags:
      - Keys
      summary: Create XRP payment request
      operationId: post_keys_purchase
      description: Invoice expires in 30 minutes. After payment, call POST /keys/verify-payment with the tx hash.
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ wallet, type: "credits"|"tier", package?: "starter|standard|bulk|mega", tier?: "developer|business|professional", billing?: "monthly|yearly" }'
      parameters: []
  /keys/verify-payment:
    post:
      tags:
      - Keys
      summary: Verify XRP payment and apply credits/tier
      operationId: post_keys_verify_payment
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ txHash: "64-char hex" }'
      parameters: []
  /keys/xrp/status/{txHash}:
    get:
      tags:
      - Keys
      summary: Check XRP payment status
      operationId: get_keys_xrp_status_txHash
      parameters:
      - name: txHash
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /keys/stripe/checkout:
    post:
      tags:
      - Keys
      summary: Create Stripe checkout session
      operationId: post_keys_stripe_checkout
      responses:
        '200':
          description: Success
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: '{ wallet, type, package?, tier?, billing? }'
      parameters: []
  /keys/stripe/status/{sessionId}:
    get:
      tags:
      - Keys
      summary: Check Stripe payment status
      operationId: get_keys_stripe_status_sessionId
      parameters:
      - name: sessionId
        in: path
        required: true
        schema:
          type: string
      - name: wallet
        in: query
        required: false
        description: XRPL address that created the session (required)
        schema:
          type: string
      responses:
        '200':
          description: Success
  /keys/payment/{txHash}:
    get:
      tags:
      - Keys
      summary: Look up processed payment by tx hash
      operationId: get_keys_payment_txHash
      description: 'Auth: wallet signature'
      parameters:
      - name: txHash
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /keys/{wallet}/logs:
    get:
      tags:
      - Keys
      summary: Recent API request logs for a wallet
      operationId: get_keys_wallet_logs
      description: 'Auth: wallet signature'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
  /keys/payments/{wallet}:
    get:
      tags:
      - Keys
      summary: Payment history for wallet
      operationId: get_keys_payments_wallet
      description: 'Auth: wallet signature'
      parameters:
      - name: wallet
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: int (max 200, default 200)
        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, total, payments[] }'
      security:
      - WalletSignature: []
  /keys/invoices/{paymentId}:
    get:
      tags:
      - Keys
      summary: Invoice detail for a payment (sequential INV-YYYY-NNNNN number assigned on…
      operationId: get_keys_invoices_paymentId
      description: 'Auth: wallet signature'
      parameters:
      - name: paymentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - WalletSignature: []
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