Alpaca Market Data
live MarketsFinanceReal-time US stock market data with your free Alpaca account keys — live quotes and snapshots including pre-market and after-hours prices, historical bars with per-bar VWAP, and one-call intraday session VWAP with above/below signal.
Tools
alpaca_snapshot Real-time US stock snapshot with extended-hours coverage: latest trade price, bid/ask quote, today's OHLCV, previous close, change and change % vs previous close, plus the latest minute bar with its V
No parameters required.
Try it
alpaca_bars Historical US stock OHLCV bars with per-bar VWAP and trade count. Timeframes 1Min/5Min/15Min/1Hour/1Day; intraday bars include pre-market and after-hours sessions on the IEX feed. Each bar: {t, o, h,
No parameters required.
Try it
alpaca_intraday_vwap Current session VWAP for US stocks — is the price above or below VWAP right now? Fetches today's 1-minute bars from 04:00 ET (pre-market included), computes the cumulative volume-weighted average pric
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/alpaca/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/alpaca/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"alpaca_snapshot","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("alpaca_snapshot", {}); // Or ask in plain English:
const answer = await px.ask("real-time us stock market data with your free alpaca account keys — live quotes and snapshots including pre-market and after-hours prices, historical bars with per-bar vwap, and one-call intraday session vwap with above/below signal");