US stock market data,
priced for agents.
Prices, fundamentals, news, corporate actions, and technical indicators across every US ticker. No API keys. No accounts. Your agent pays a few cents per request in USDC — and gets clean JSON back.
Try it with AgentCash
Point any x402-aware agent at a URL and it just works — the wallet handles the 402 challenge, signs a gasless USDC transfer, and retries. Works from AgentCash, Claude Code, Cursor, or Codex.
# 1 · onboard your agent (free starter credit)
npx agentcash onboard
# 2 · free call — current market status
npx agentcash call https://x402stock.xyz/api/v1/market-status
# 3 · pay $0.01 — last price for AAPL
npx agentcash call https://x402stock.xyz/api/v1/quote/AAPL
# 4 · save the service so your agent reuses it
npx agentcash save https://x402stock.xyzHow it works
The whole flow is one HTTP round-trip the agent's wallet completes automatically.
- 01Request
Agent calls an endpoint with no payment header.
- 02402 challenge
Server replies HTTP 402 with the asset, amount, and payTo.
- 03Sign & retry
Wallet signs a gasless USDC transfer and retries the request.
- 04Settle & serve
Facilitator settles on Base; the handler returns JSON.
Endpoints
23 paid endpoints from $0.01, plus free market status. Every response is shaped { ticker, data, source, as_of }.
Prices & snapshots
Last price, full snapshots, daily bars, and the day's movers.
Last price for a US stock (15-minute delayed)
Full ticker snapshot (last quote, last trade, OHLC, prev close, %change)
Previous trading day's OHLC bar
Daily open/close (+ pre/after-hours) for a specific date
Top gaining US stocks today
Top losing US stocks today
Whole-market daily OHLC for one date
Charts & indicators
OHLC aggregates and computed technical indicators.
OHLC aggregate bars (any timespan, any range)
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Relative Strength Index (RSI)
Moving Average Convergence/Divergence (MACD)
Fundamentals & corporate actions
Financial statements, dividends, splits, and corporate events.
Fundamentals — income, balance sheet & cash-flow statements
Dividend history (cash amount, ex-date, pay date, frequency)
Stock split history
Corporate events (ticker changes, etc.)
Reference & search
Company data, ticker search, peers, and market reference catalogs.
Company / ticker reference data
Search / list US-listed tickers
Related / peer companies
US stock exchanges & market centers reference
Trade & quote condition codes reference
Ticker type codes reference (CS, ETF, ADRC, …)
News & market
Headlines and free market-status / holiday calendars.
Latest news articles, optionally filtered by ticker
Current US market status (open / closed / pre / post)
Upcoming US market holidays & early closes
Prices in USDC, settled on Base via x402. Data sourced from Massive with 100% US market coverage. quote is currently 15-minute delayed; real-time lands on the next data-plan upgrade.
Discovery
Machine-readable surfaces so agents can find and price the API on their own.