← Back to discover
httpcdpagent-tools
x402stock
Crypto trades 24/7, so there is no session close: this returns the previous UTC calendar day's full OHLCV candle (00:00–24:00 UTC) for a spot pair — open, high, low, close, volume, and VWAP. Pass the pair in the path as BASE-QUOTE, e.g. BTC-USD. One call returns yesterday's daily bar. From x402stock, a pay-per-call market & economic data API. Pay per request in USDC via x402, no API key.
Resource URL
https://agents.x402stock.xyz/api/v1/crypto/:pair/prev-close
Payment options
exactBase (8453)
$0.01 USDC
Max amount
- Pay to
- 0xfa6155f52dd811d0d18e4ca63ed0db42c33af815
- Timeout
- 300s
Tags
market-datastockscryptomacrooptionshealth:ok
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://agents.x402stock.xyz/api/v1/crypto/:pair/prev-close Type: http Sources: cdp, agent-tools