Market Bars
Historical OHLCV bars.
Historical OHLCV bars. Free via public data (best-effort); BYOK Alpaca for reliable IEX bars. Returns {ok, symbol, source, count, bars:[{t,o,h,l,c,v}]}.
Pricing and limits: /pricing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | required | ticker |
range | string | optional | free-tier window: 1d/5d/1mo/3mo/6mo/1y/… (default 1mo) |
interval | string | optional | free-tier bar size: 1m/5m/1h/1d/1wk/… (default 1d) |
timeframe | string | optional | BYOK Alpaca bar size: 1Min/1Hour/1Day/… (default 1Day) |
limit | integer | optional | BYOK Alpaca: max bars (default 200) |
alpaca_key_id | string | optional | |
alpaca_secret | string | optional | |
key_ref | string | optional | |
handle | string | optional | |
secret | string | optional |
Call it over MCP (JSON-RPC 2.0)
curl -s https://agent.wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "market_bars", "arguments": {"symbol": "AAPL"}}}'Or plain HTTP
curl -s https://wingmanprotocol.com/tools/market_bars \
-H 'Content-Type: application/json' \
-d '{"symbol": "AAPL"}'Try it live
Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/market_bars from your browser.
This call needs a key or credits. The 402 response below says what it accepts. A free key adds 10,000 calls a month, no card, no crypto: get one at /pricing, which also has the current prices.
Related tools in Markets
markets
Market News
Latest market headlines from MarketWatch (free, keyless).
markets
Market Quote
Latest price for a stock/ETF/crypto symbol.
markets
Market Snapshot
One-call macro dashboard: major indexes, rates, commodities, crypto, VIX
markets
Options Chain
Options contracts for a symbol — BYOK Alpaca only (requires an options-enabled key).