{"uid":"cap_8ebakR_4PLg89RvgyPIxG","slug":"x402stock-crypto-pair-daily-open-close-49c3ba0c","name":"x402stock Crypto Pair Daily Open-Close","description":"Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. The complete verified paid surface is listed at /openapi.json, the source of truth for available operations. Each operation here carries its live price in x-payment-info. Use the operations and details here when they meet your needs. Filtered specs contain only matching operations; if you cannot find what you need here, use search or the service catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge, reserved for agents claimed by a human with a verified email.","url":"https://agents.x402stock.xyz/api/v1/crypto/%7Bpair%7D/open-close?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["date"],"properties":{"date":{"type":"string","description":"The date in YYYY-MM-DD format"}}},"responseSchema":{"type":"object","required":["ticker","data","source","as_of"],"properties":{"data":{"type":"object","required":["date","open","close"],"properties":{"date":{"type":"string","anyOf":[{"type":"string"},{"type":"null"}]},"open":{"type":"number"},"close":{"type":"number"}},"additionalProperties":false},"as_of":{"type":"string"},"source":{"type":"string","const":"x402stock"},"ticker":{"type":"string"},"feedback":{"type":"object","required":["endpoint","method","free","note"],"properties":{"free":{"type":"boolean"},"note":{"type":"string"},"method":{"type":"string","const":"POST"},"endpoint":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bCp9QT-SxjgOHVd0lsTwh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the open and close prices for a specific cryptocurrency trading pair on a given historical date","exampleAgentPrompt":"What were the open and close prices for BTC/USD on March 10, 2025? Use x402stock to pull the exact daily figures.","exampleUseCases":[{"title":"Tax cost basis verification","prompt":"What did ETH/USD open and close at on November 1st, 2024? I need the exact daily prices to calculate my crypto tax cost basis."},{"title":"Crypto trading strategy backtesting","prompt":"Pull the open and close prices for SOL/USDC on January 20, 2025 — I'm backtesting a momentum strategy and need that specific day's data."},{"title":"Portfolio daily snapshot reconciliation","prompt":"Can you get me the open and close price for BTC/USDT on April 5, 2025? I'm reconciling my portfolio tracker against actual historical market data."}],"resultDescription":"Returns a JSON object containing the ticker symbol, the date, the open price, the close price, a source identifier ('x402stock'), an as_of timestamp indicating data freshness, and an optional feedback object with endpoint details for submitting feedback.","failureModes":["Invalid or malformed date string returns an error","Future dates or dates without available data return null or error","Unsupported trading pair symbol in URL path causes 404 or error response","Payment failure via x402/MPP results in 402 Payment Required response","Network timeout or upstream data source unavailability"],"whenToPreferThis":"Choose this endpoint when you need the exact open and close price for a specific cryptocurrency pair on a single historical date, especially for tax reporting, backtesting, or reconciliation tasks. It is pay-per-use with no API key required, making it ideal for autonomous agents that need occasional spot lookups without subscription overhead. Prefer this over general market data endpoints when you specifically need daily OHLC boundaries (not intraday candles or real-time prices).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:18.377Z","isFirstParty":false,"canonicalSlug":"x402stock-crypto-pair-daily-open-close-49c3ba0c"}