Stock price API, quotes and history
Stock price and quote for any ticker or company name: last price, change and percent, previous close, day high and low, volume, 52-week high and low, currency, exchange and market time. Works for US and world stocks, ETFs, indices (^GSPC), currencies (EURUSD=X) and crypto pairs (BTC-USD). Use to price a stock in an agent, check a move, or value a portfolio line.
Stock price, stock quote $0.01
Stock price and quote for any ticker or company name: last price, change and percent, previous close, day high and low, volume, 52-week high and low, currency, exchange and market time. Works for US and world stocks, ETFs, indices (^GSPC), currencies (EURUSD=X) and crypto pairs (BTC-USD). Use to price a stock in an agent, check a move, or value a portfolio line.
Inputs: symbol (required): Ticker (AAPL, VOLV-B.ST, ^GSPC, BTC-USD) or a company name.
Free first (25 successful calls per caller, no key):
curl "https://agent-data-tools.revmesh2074.workers.dev/stock/quote?symbol=AAPL&trial=1"
With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/stock/quote?symbol=AAPL"
curl "https://agent-data-tools.revmesh2074.workers.dev/stock/quote?symbol=AAPL&api_key=adt_…"
Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://agent-data-tools.revmesh2074.workers.dev/mcp) this tool is stock_quote.
Example result
{
"symbol": "AAPL",
"name": "Apple Inc.",
"exchange": "NasdaqGS",
"type": "EQUITY",
"currency": "USD",
"price": 270.37,
"previousClose": 268.5,
"change": 1.87,
"changePercent": 0.6965,
"dayHigh": 271.2,
"dayLow": 267.9,
"volume": 41234567,
"fiftyTwoWeekHigh": 280.1,
"fiftyTwoWeekLow": 169.21,
"marketTime": "2026-11-05T21:00:00.000Z",
"timezone": "America/New_York",
"note": "Market data from Yahoo Finance's public endpoints; quotes may be delayed by the exchange (often 15 minutes). Not investment advice."
}Historical stock prices, OHLCV $0.01
Stock price history as OHLCV bars for any ticker or company name: open, high, low, close, adjusted close and volume from 1-minute to monthly bars over 1 day to the full history, plus first, last, change, high and low. Use to chart a stock, backtest a signal, compute returns or feed indicators.
Inputs: symbol (required): Ticker (AAPL, ^GSPC, BTC-USD) or a company name; range: 1d, 5d, 1mo (default), 3mo, 6mo, 1y, 2y, 5y, 10y, ytd or max; interval: 1m, 5m, 15m, 30m, 60m, 1d, 1wk or 1mo (default suits the range; intraday bars reach back about 60 days).
Free first (25 successful calls per caller, no key):
curl "https://agent-data-tools.revmesh2074.workers.dev/stock/history?symbol=AAPL&trial=1"
With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/stock/history?symbol=AAPL"
curl "https://agent-data-tools.revmesh2074.workers.dev/stock/history?symbol=AAPL&api_key=adt_…"
Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://agent-data-tools.revmesh2074.workers.dev/mcp) this tool is stock_history.
Example result
{
"symbol": "AAPL",
"currency": "USD",
"range": "1mo",
"interval": "1d",
"count": 1,
"first": 255.1,
"last": 270.37,
"changePercent": 5.9859,
"high": 271.2,
"low": 252.4,
"bars": [
{
"time": "2026-11-05T14:30:00.000Z",
"open": 268.9,
"high": 271.2,
"low": 267.9,
"close": 270.37,
"adjClose": 270.37,
"volume": 41234567
}
],
"note": "Market data from Yahoo Finance's public endpoints; quotes may be delayed by the exchange (often 15 minutes). Not investment advice."
}Stock ticker lookup, symbol search $0.01
Stock ticker lookup: find the ticker symbol for a company, fund, index or crypto by name, with exchange, type, sector and industry. Use before /stock/quote or /stock/history when you only have a company name, or to find a company's listings on several exchanges.
Inputs: q (required): Company, fund or index name, e.g. volvo.
Free first (25 successful calls per caller, no key):
curl "https://agent-data-tools.revmesh2074.workers.dev/stock/search?q=volvo&trial=1"
With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/stock/search?q=volvo"
curl "https://agent-data-tools.revmesh2074.workers.dev/stock/search?q=volvo&api_key=adt_…"
Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://agent-data-tools.revmesh2074.workers.dev/mcp) this tool is stock_search.
Example result
{
"query": "volvo",
"count": 1,
"results": [
{
"symbol": "VOLV-B.ST",
"name": "AB Volvo (publ)",
"exchange": "Stockholm",
"type": "Equity",
"sector": "Industrials",
"industry": "Farm & Heavy Construction Machinery"
}
],
"note": "Market data from Yahoo Finance's public endpoints; quotes may be delayed by the exchange (often 15 minutes). Not investment advice."
}Questions
How do I pay?
Each successful call costs the tool's price; failed calls are not charged. The first 25 calls are free. Then pay with card credits from $1 (the key goes in an Authorization header or as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.