{"uid":"cap_eNapXA_dfPAtdSPAYaMcc","slug":"x402-bazaar-rank-in-stocks-discovery-248c24c0","name":"x402 Bazaar Rank – In-Stocks Discovery","description":"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.","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-stocks","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":"stocks"}},"route":"/in-stocks","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.008","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_KNnRvIAPlXXemBGOChKlK","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 stock-tagged x402 services sorted by real 30-day call volume and unique paying-wallet counts, with a signed snapshot receipt.","exampleAgentPrompt":"Show me the top 25 stock-related x402 services ranked by paying wallets over the last 30 days, so I can find the most trusted paid stock data APIs on the x402 bazaar.","exampleUseCases":[{"title":"Sourcing live stock forecast APIs","prompt":"I want to build an agent that uses paid stock data — can you pull the top stock-tagged x402 services ranked by unique payers so I can see which ones are actually being used and trusted?"},{"title":"Comparing x402 stock API pricing","prompt":"Which stock data services on the x402 bazaar are the most called in the last 30 days, and what are their prices? I want to compare options before wiring up my trading bot."},{"title":"Auditing x402 stock service market health","prompt":"Pull the current leaderboard of x402 APIs tagged as stocks — I need the call counts, payer counts, and the snapshot hash so I can verify the data provenance for my market report."}],"resultDescription":"A JSON object containing: the total matched service count, the query parameters used (tag, operator, limit), the route called, and an array of ranked services each with name, network, 30-day calls, price in USD, resource URL, and 30-day unique payers — plus a declaredBy field, generatedAt timestamp, and a receipt with snapshot hash and scoring revision for auditability.","failureModes":["No services indexed under the stocks tag — returns empty services array with count 0","Snapshot hash unavailable if index is being rebuilt — may return stale or partial results","Rate limiting at the Cloudflare Worker level if called too frequently without payment","Payment failure (x402) if the $0.001 USDC micropayment is not properly attached, resulting in a 402 response","Network/worker downtime on the workers.dev domain returning 5xx"],"whenToPreferThis":"Choose this endpoint when you need a ranked, usage-weighted leaderboard of x402 services in the stocks category specifically, with verifiable provenance via snapshot hash. It is preferable over generic x402 discovery endpoints when you want real 30-day activity signals (calls and unique payers) rather than just static metadata listings. Ideal for agents building financial data pipelines that want to surface the most trusted and active paid stock APIs on the x402 network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:50:03.527Z","isFirstParty":false}