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}]}.
Metered access — free-key quota or x402 pay-per-call (USDC on Base). Details at /pricing.
| 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 |
curl -s https://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"}}}'curl -s https://wingmanprotocol.com/tools/market_bars \
-H 'Content-Type: application/json' \
-d '{"symbol": "AAPL"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/market_bars from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).