{"uid":"cap_k-QdgWVr-w5LeorTAa5lZ","slug":"p0-agent-economy-index-rag-tagged-service-discovery-f3687d94","name":"P0 Agent Economy Index – RAG-Tagged Service Discovery","description":"An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-rag?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"count":25,"query":{"by":"payers","op":"top","limit":25,"where":{"tag":"rag"}},"route":"/in-rag","matched":359,"services":[{"name":"forecast api","network":"eip155:8453","calls30d":310,"priceUsd":0.01,"resource":"https://api.example.com/forecast","payers30d":42}],"declaredBy":"agent","generatedAt":"2026-09-17T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.032","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7hBnJUn2o88KjRUu4GgqD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of the top x402 services tagged 'rag', scored by real 30-day payer counts, for agent-to-agent service discovery.","exampleAgentPrompt":"Show me the top 25 RAG services in the x402 agent economy ranked by number of paying wallets over the last 30 days, so I can pick the most battle-tested one for my pipeline.","exampleUseCases":[{"title":"Choosing a RAG backend for an agent","prompt":"I'm building an AI agent that needs a retrieval-augmented generation service — can you pull the top-ranked RAG APIs from the x402 bazaar sorted by payer count so I know which ones real agents are actually paying for?"},{"title":"Competitive benchmarking of RAG services","prompt":"I want to benchmark the RAG service market on x402 — fetch the ranked list of the top 25 RAG services by 30-day payers so I can compare their prices and usage volumes."},{"title":"Due diligence before integrating a paid RAG API","prompt":"Before I integrate a RAG API into my workflow, show me which x402 RAG services have the most active paying wallets in the last month so I can pick something proven and not a ghost service."}],"resultDescription":"A JSON object containing a count of returned services (up to 25), the query parameters used, the route hit (/in-rag), total matched services, and an array of service objects each with name, network (e.g. eip155:8453), 30-day call count, price in USD, resource URL, and 30-day payer count. Also includes a declaredBy field and a generatedAt ISO timestamp anchoring the snapshot.","failureModes":["No services matched the rag tag — returns empty services array with count 0","Payment not received — x402 payment of $0.008 USDC required before response is served","Stale index — generatedAt timestamp may reflect a snapshot hours old if indexing is delayed","Network errors from the Cloudflare Worker — may return 5xx if the worker is overloaded","Schema mismatch — input schema is loosely defined so malformed queries may return unexpected subsets"],"whenToPreferThis":"Use this endpoint when you need a ranked, real-usage-backed leaderboard of x402-compatible RAG services filtered by actual paying-wallet activity over 30 days — not self-reported counts. Prefer this over general API directories when you specifically want machine-to-machine (agent economy) services that accept micropayments, and when the 'rag' tag is the relevant capability scope you're shopping for.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:35:24.056Z","isFirstParty":false,"canonicalSlug":"p0-agent-economy-index-rag-tagged-service-discovery-f3687d94"}