{"uid":"cap_4p4qFxGatIOpz-ilUVb8T","slug":"agent-commerce-desk-market-ohlcv-feed-2d8ce7a2","name":"Agent Commerce Desk Market OHLCV Feed","description":"Checks Base wallets for USDC receiving readiness, publishes paid x402 data APIs, and sells fixed-price agent payment, developer-tool, VPS, wallet-risk, and QA implementation work.","url":"https://x402-wallet-readiness-service.vercel.app/api/x402/market/ohlcv","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"],"type":"string"},"queryParams":{"type":"object","properties":{"days":{"type":"integer","maximum":365,"minimum":1},"pairs":{"type":"string","description":"Comma-separated Coinbase pairs. Supported: BTC-USD, ETH-USD, SOL-USD."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"markets":[{"pair":"BTC-USD","count":365,"candles":[{"low":74197.11,"date":"2026-05-23","high":77305,"open":75446.99,"close":76650,"volume":5619.0521439}]}],"request":{"days":365,"pairs":["BTC-USD","ETH-USD"],"granularity":"1d"},"service":"Agent Commerce Desk Market Feed"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"days":7,"pairs":"BTC-USD,ETH-USD"}}},"response":{"auth":{"mode":"demo_unlocked","acceptedHeaders":[]},"cache":{"strategy":"in-memory per deployment instance","ttlSeconds":900},"source":"Coinbase Exchange public candles API","markets":[{"base":"BTC","pair":"BTC-USD","count":7,"quote":"USD","start":"2026-06-11T00:00:00.000Z","candles":[{"low":61449.47,"date":"2026-06-11","high":63866.82,"open":61449.47,"close":63563.42,"volume":9449.25103044,"timestamp":"2026-06-11T00:00:00.000Z"},{"low":62739.81,"date":"2026-06-12","high":64347.32,"open":63563.44,"close":63538.43,"volume":8179.86676422,"timestamp":"2026-06-12T00:00:00.000Z"},{"low":63400.92,"date":"2026-06-13","high":64727.27,"open":63538.44,"close":64429.99,"volume":4146.44545759,"timestamp":"2026-06-13T00:00:00.000Z"},{"low":63640,"date":"2026-06-14","high":65764.16,"open":64424.98,"close":65706.62,"volume":4719.21113394,"timestamp":"2026-06-14T00:00:00.000Z"},{"low":65302.08,"date":"2026-06-15","high":67264,"open":65704.23,"close":66276.8,"volume":8071.56079236,"timestamp":"2026-06-15T00:00:00.000Z"},{"low":65300.03,"date":"2026-06-16","high":66944,"open":66276.79,"close":65616.64,"volume":6347.81359553,"timestamp":"2026-06-16T00:00:00.000Z"},{"low":63851.02,"date":"2026-06-17","high":66384.01,"open":65616.64,"close":64446.04,"volume":7644.1962471,"timestamp":"2026-06-17T00:00:00.000Z"}],"cacheHit":false,"refreshedAt":"2026-06-18T06:19:26.673Z","endExclusive":"2026-06-18T00:00:00.000Z","daysRequested":7,"granularitySeconds":86400},{"base":"ETH","pair":"ETH-USD","count":7,"quote":"USD","start":"2026-06-11T00:00:00.000Z","candles":[{"low":1619.96,"date":"2026-06-11","high":1691.86,"open":1619.96,"close":1671.94,"volume":153835.9553949,"timestamp":"2026-06-11T00:00:00.000Z"},{"low":1650,"date":"2026-06-12","high":1689.95,"open":1671.84,"close":1665.52,"volume":104730.69571056,"timestamp":"2026-06-12T00:00:00.000Z"},{"low":1661.33,"date":"2026-06-13","high":1696.27,"open":1665.5,"close":1680.3,"volume":48967.87286664,"timestamp":"2026-06-13T00:00:00.000Z"},{"low":1651.74,"date":"2026-06-14","high":1731.39,"open":1680.36,"close":1724.73,"volume":74935.04569191,"timestamp":"2026-06-14T00:00:00.000Z"},{"low":1708.89,"date":"2026-06-15","high":1848.42,"open":1724.73,"close":1795.01,"volume":155590.45111945,"timestamp":"2026-06-15T00:00:00.000Z"},{"low":1757.61,"date":"2026-06-16","high":1838,"open":1795,"close":1791.24,"volume":119036.05169935,"timestamp":"2026-06-16T00:00:00.000Z"},{"low":1723.78,"date":"2026-06-17","high":1809.05,"open":1791.24,"close":1749,"volume":116224.29075813,"timestamp":"2026-06-17T00:00:00.000Z"}],"cacheHit":false,"refreshedAt":"2026-06-18T06:19:26.725Z","endExclusive":"2026-06-18T00:00:00.000Z","daysRequested":7,"granularitySeconds":86400}],"request":{"days":7,"pairs":["BTC-USD","ETH-USD"],"granularity":"1d"},"service":"Agent Commerce Desk Market Feed","version":"0.11.8","latencyMs":110,"generatedAt":"2026-06-18T06:19:26.725Z"}},"exampleRequest":{"days":7,"pairs":"BTC-USD,ETH-USD"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_KVfJxTfv9R7CLAid-U76V","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 daily OHLCV (open/high/low/close/volume) candlestick data for major crypto pairs (BTC-USD, ETH-USD, SOL-USD) over a specified number of days, paid via x402 micro-payment.","exampleAgentPrompt":"Can you pull the daily OHLCV candles for BTC-USD and ETH-USD over the last 90 days from the Agent Commerce Desk Market Feed?","exampleUseCases":null,"resultDescription":"A JSON object containing an array of markets, each with the trading pair name, total candle count, and an array of daily candles (date, open, high, low, close, volume), plus a request summary echoing back the queried pairs, days, and granularity.","failureModes":["Unsupported pair requested (only BTC-USD, ETH-USD, SOL-USD supported) — returns error or empty result","days parameter out of range (must be 1–365) — schema validation error","Payment not provided or insufficient USDC — 402 Payment Required response","Coinbase upstream data unavailable — may return partial or empty candle arrays","Missing required query parameters — returns 400 or schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need structured daily OHLCV candlestick data for BTC, ETH, or SOL and want to pay per-call via x402 micro-payment in USDC with no API key or subscription required. Ideal for AI agents doing lightweight market analysis or backtesting without needing a full exchange integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:23.178Z","isFirstParty":false}