xpay-sh Rda API

The Rda API from xpay-sh — 2 operation(s) for rda.

Operations 2

GET /rda/{identifier} Get RDA details #
POST /rda Create an RDA #

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/xpay-sh:xpay-sh-rda-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

xpay-sh-rda-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: xpay Hub Rda API
  description: REST API for the xpay Hub marketplace. Run AI agents, tools, and prompts (RDAs) with pay-per-use USDC pricing.
  version: 1.0.0
  contact:
    name: xpay Support
    email: support@xpay.sh
    url: https://docs.xpay.sh
  license:
    name: Proprietary
servers:
- url: https://api.xpay.sh/hub
  description: Production
security:
- bearerAuth: []
tags:
- name: Rda
paths:
  /rda/{identifier}:
    get:
      summary: Get RDA details
      description: Retrieve detailed information about a specific RDA by slug or ID.
      operationId: getRda
      security: []
      parameters:
      - name: identifier
        in: path
        required: true
        description: RDA slug or ID
        schema:
          type: string
      responses:
        '200':
          description: RDA details
          content:
            application/json:
              schema:
                type: object
                properties:
                  rda:
                    $ref: '#/components/schemas/RdaDetail'
        '404':
          description: RDA not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rda
  /rda:
    post:
      summary: Create an RDA
      description: Create a new RDA in the marketplace.
      operationId: createRda
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRdaRequest'
      responses:
        '201':
          description: RDA created
          content:
            application/json:
              schema:
                type: object
                properties:
                  rda:
                    $ref: '#/components/schemas/RdaDetail'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rda
components:
  schemas:
    InputField:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        type:
          type: string
          enum:
          - text
          - textarea
          - number
          - select
          - boolean
        required:
          type: boolean
        placeholder:
          type: string
        options:
          type: array
          items:
            type: string
    Pricing:
      type: object
      properties:
        model:
          type: string
          enum:
          - per-run
          - per-token
        amount:
          type: number
        currency:
          type: string
          enum:
          - USDC
        estimatedCost:
          type: string
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          type: object
    RdaSummary:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        name:
          type: string
        description:
          type: string
        type:
          type: string
          enum:
          - prompt
          - agent
          - tool
        status:
          type: string
          enum:
          - draft
          - published
          - archived
        verified:
          type: boolean
        featured:
          type: boolean
        trending:
          type: boolean
        coverImage:
          type: string
        pricing:
          $ref: '#/components/schemas/Pricing'
        stats:
          $ref: '#/components/schemas/Stats'
        ownerId:
          type: string
        ownerName:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Stats:
      type: object
      properties:
        totalRuns:
          type: integer
        totalRevenue:
          type: number
        averageRating:
          type: number
        totalRatings:
          type: integer
        successRate:
          type: number
        averageLatency:
          type: integer
          description: Average execution time in ms
    RdaDetail:
      allOf:
      - $ref: '#/components/schemas/RdaSummary'
      - type: object
        properties:
          longDescription:
            type: string
          tags:
            type: array
            items:
              type: string
          codeSnippet:
            type: string
          codeLanguage:
            type: string
          version:
            type: string
          schema:
            type: object
            properties:
              inputs:
                type: array
                items:
                  $ref: '#/components/schemas/InputField'
              outputs:
                type: object
                properties:
                  type:
                    type: string
          promptConfig:
            type: object
            properties:
              allowedModels:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    tier:
                      type: string
              defaultModelId:
                type: string
          ownerVerified:
            type: boolean
          publishedAt:
            type: string
            format: date-time
    CreateRdaRequest:
      type: object
      required:
      - slug
      - type
      - name
      - description
      - inputSchema
      properties:
        slug:
          type: string
          description: URL-friendly identifier
        type:
          type: string
          enum:
          - prompt
          - agent
          - tool
        name:
          type: string
        description:
          type: string
        longDescription:
          type: string
        tags:
          type: array
          items:
            type: string
        coverImage:
          type: string
        codeSnippet:
          type: string
        codeLanguage:
          type: string
        inputSchema:
          type: array
          items:
            $ref: '#/components/schemas/InputField'
        outputSchema:
          type: object
        promptConfig:
          type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Privy authentication token