{"uid":"cap_zaB6zjGvZ41H4UQwbMWwO","slug":"leo-shi-market-prices-api-97ef9af1","name":"Leo Shi Market Prices API","description":"一个人的思考、创作与成长记录。关于生活、技术、商业和一切有趣的事。","url":"https://leoshi-blog.vercel.app/api/market/prices?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"symbols":{"type":"string","description":"Comma-separated token symbols, up to 10, e.g. eth,btc,usdc"}}},"responseSchema":{"type":"json","example":{"prices":{"btc":67000.1,"eth":3500.42,"usdc":1}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B9aL0uNT7fup9nzEEm5XX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current spot prices for BTC, ETH, and USDC cryptocurrency pairs","exampleAgentPrompt":"What are the current spot prices for Bitcoin, Ethereum, and USDC right now?","exampleUseCases":[{"title":"Real-time crypto portfolio valuation","prompt":"Give me the current prices of BTC and ETH so I can calculate how much my crypto holdings are worth right now."},{"title":"DeFi arbitrage price check","prompt":"Fetch the latest BTC and ETH spot prices — I need to compare them against another exchange to spot any arbitrage opportunity."},{"title":"Crypto payment conversion","prompt":"I need to know the current BTC price in USD so I can figure out how much Bitcoin to send for a $500 payment."}],"resultDescription":"A JSON object containing a 'prices' map with keys for each supported asset (btc, eth, usdc) and their current USD spot prices as floating-point numbers, e.g. {\"prices\":{\"btc\":67000.1,\"eth\":3500.42,\"usdc\":1}}.","failureModes":["Service unavailable if underlying price feed is down, returning 5xx error","Stale or cached prices if market data provider is delayed","Rate limiting may occur under high request volumes","Missing asset keys if a particular market feed is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.02 USDC) spot price lookup for BTC, ETH, or USDC and do not require tick-by-tick streaming data, order book depth, or historical price series. It is well-suited for lightweight agents that need to convert or compare cryptocurrency values on demand without integrating a full exchange API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:36:40.692Z","isFirstParty":false,"canonicalSlug":"leo-shi-market-prices-api-97ef9af1"}