{"uid":"cap_491uBQb-1JB4OxW-UDUvu","slug":"x402stock-crypto-previous-close-price-0441ce77","name":"x402stock Crypto Previous Close Price","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. This document is the source of truth for agents: it lists the complete verified paid surface with each operation's live price in its x-payment-info. Endpoints not listed here are not part of the supported 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.","url":"https://agents.x402stock.xyz/api/v1/crypto/%7Bpair%7D/prev-close","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"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_UEY1S0_RrPwpMiAxLt415","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 previous trading session's closing price data for a specified cryptocurrency pair","exampleAgentPrompt":"What was yesterday's closing price for BTC/USD? Pay with USDC if needed.","exampleUseCases":[{"title":"Daily crypto portfolio recap","prompt":"What did ETH/USD close at yesterday? I want to compare it to today's price for my daily portfolio report."},{"title":"Trading strategy backreference","prompt":"What was the previous session's closing price for SOL/USDT? I need it as a reference point for my momentum trading strategy."},{"title":"Crypto price alert baseline","prompt":"Look up the prior close for BTC/USD — I want to set an alert if today's price moves more than 3% from yesterday's close."}],"resultDescription":"Returns the previous trading session's closing price data for the specified cryptocurrency pair, including the closing price value and relevant session metadata. Delivered as a JSON response after a $0.01 USDC micropayment via x402 protocol.","failureModes":["Invalid or unsupported currency pair symbol returns an error","Pair not found in the data catalog returns a 404 or similar error","Payment failure or insufficient USDC balance blocks the request","Market data unavailable for a given pair on the previous session (e.g. illiquid or delisted pair)","Malformed pair parameter format causes a bad request error"],"whenToPreferThis":"Use this endpoint when you need reliable previous-session closing prices for crypto pairs without managing API keys or subscriptions. Ideal for AI agents operating autonomously that can handle x402 micropayments in USDC. Prefer this over free alternatives when you need a consistent, pay-per-use model with no rate-limit surprises or account setup overhead. Best suited for single-pair lookups rather than bulk historical data retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:11.871Z","isFirstParty":false}