Alpaca Market Data

live MarketsFinance

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.

3 tools
0ms auth
free tier 50 calls/day

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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/alpaca/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("alpaca_snapshot", {});
ask_pipeworx
// 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");