{"uid":"cap_1rr4tVeU_vDNk5lrrShUa","slug":"x402-crypto-portfolio-price-api-44f8be38","name":"x402 Crypto Portfolio Price API","description":"Agent-commerce trust/audit API for x402 challenge correctness, receipts, replay/context binding, failed payout triage, mandate readiness, and MCP/A2A discoverability.","url":"https://x402.167-172-95-184.nip.io/portfolio","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"network":"base","portfolio":{"BTC":{"usd":100000},"ETH":{"usd":3500},"SOL":{"usd":150}},"timestamp":1780000000,"total_market_cap":2500000000000},"description":"Multi-coin BTC/ETH/SOL/BNB/XRP market snapshot and aggregate market cap."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SFUggVggSbeGweSVvJu1B","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a multi-coin market snapshot (BTC, ETH, SOL, BNB, XRP) with individual USD prices and aggregate market cap, payable per-call with USDC via x402 protocol","exampleAgentPrompt":"Can you pull the current prices for BTC, ETH, and SOL along with the total crypto market cap — I want a portfolio snapshot right now?","exampleUseCases":null,"resultDescription":"A JSON object with per-coin USD prices for BTC, ETH, SOL, BNB, and XRP, a Unix timestamp of when the snapshot was taken, and a total_market_cap figure in USD. Payment of $0.05 USDC on Base is processed automatically via x402 before the data is returned.","failureModes":["402 Payment Required — insufficient USDC balance or x402 payment not configured","503/timeout — upstream price feed unavailable","Invalid network — payment attempted on wrong chain (must be Base)","Rate limit or payment failure — facilitator rejects transaction"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a quick, multi-coin USD price snapshot across the top 5 crypto assets (BTC, ETH, SOL, BNB, XRP) and total market cap in a single call, and is capable of autonomous micropayment via the x402 protocol on Base. Ideal for agents that need programmatic, pay-per-use price data without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:44.685Z","isFirstParty":false}