Skip to Content
🚀 {xpay✦} is building the future of x402 payments - Join the developer beta →

List RDAs

Retrieve a list of RDAs from the marketplace.

Endpoint

GET /rdas

Authentication

Optional. Some filters may require authentication.

Query Parameters

ParameterTypeDefaultDescription
typestring-Filter by type (prompt, agent, tool)
statusstringpublishedFilter by status
verifiedboolean-Only verified RDAs
featuredboolean-Only featured RDAs
trendingboolean-Only trending RDAs
ownerIdstring-Filter by creator
searchstring-Search in name/description
limitnumber20Results per page (max 100)
offsetnumber0Pagination offset

Response

Success (200)

{ "rdas": [ { "id": "rda_abc123", "slug": "research-report-generator", "name": "AI Research Report Generator", "description": "Generate comprehensive research reports on any topic", "type": "prompt", "status": "published", "verified": true, "featured": false, "trending": true, "coverImage": "https://...", "pricing": { "model": "per-run", "amount": 0.05, "currency": "USDC" }, "stats": { "totalRuns": 1250, "averageRating": 4.8, "successRate": 98.5 }, "ownerId": "user_xyz", "ownerName": "ResearchLabs", "createdAt": "2024-01-01T00:00:00Z", "updatedAt": "2024-01-15T00:00:00Z" } ], "total": 150, "limit": 20, "offset": 0 }

Response Fields

FieldTypeDescription
rdasarrayList of RDA objects
totalnumberTotal matching RDAs
limitnumberResults per page
offsetnumberCurrent offset

RDA Object

FieldTypeDescription
idstringUnique identifier
slugstringURL-friendly identifier
namestringDisplay name
descriptionstringShort description
typestringprompt, agent, or tool
statusstringdraft, published, archived
verifiedbooleanVerification status
featuredbooleanFeatured status
trendingbooleanTrending status
pricingobjectPricing configuration
statsobjectUsage statistics
ownerIdstringCreator ID
ownerNamestringCreator display name

Examples

List All Published RDAs

curl https://api.xpay.sh/hub/rdas

Filter by Type

curl "https://api.xpay.sh/hub/rdas?type=prompt"
curl "https://api.xpay.sh/hub/rdas?search=research%20report"

Pagination

curl "https://api.xpay.sh/hub/rdas?limit=10&offset=20"

Multiple Filters

curl "https://api.xpay.sh/hub/rdas?type=agent&verified=true"

Code Examples

JavaScript

const params = new URLSearchParams({ type: 'prompt', limit: '20' }) const response = await fetch(`https://api.xpay.sh/hub/rdas?${params}`) const { rdas, total } = await response.json() console.log(`Found ${total} RDAs`) rdas.forEach(r => console.log(r.name))

Python

import requests response = requests.get( 'https://api.xpay.sh/hub/rdas', params={ 'type': 'prompt', 'limit': 20 } ) data = response.json() print(f"Found {data['total']} RDAs") for rda in data['rdas']: print(rda['name'])

Notes

  • Public endpoint, no auth required
  • Results sorted by relevance/trending by default
  • Maximum 100 results per request
  • Use pagination for large result sets
Last updated on: