Install
openclaw skills install massive-api-dataFetch real-time and historical market data from Massive (formerly Polygon.io) for use in OpenClaw's trading decisions. Use this skill whenever OpenClaw needs stock quotes, options chains, futures prices, crypto prices, OHLCV bars, trades, or any other market data. Triggers on any request for price data, market data, historical bars, real-time streaming, or backtesting data across stocks, options, futures, indices, forex, and crypto.
openclaw skills install massive-api-dataMarket data for OpenClaw. Does not execute trades — pair with snaptrade-trading for execution.
| Method | Best For |
|---|---|
| REST API | On-demand quotes, OHLCV bars, historical records |
| WebSocket | Real-time streaming — live trades, quotes, minute bars |
| Flat Files | Bulk historical CSVs — backtesting, ML datasets |
bash scripts/setup.sh
source .venv-massive/bin/activate
API keys: https://massive.com/dashboard/keys
import os
from massive import Client
client = Client(api_key=os.environ["MASSIVE_API_KEY"])
import requests
API_KEY = os.environ["MASSIVE_API_KEY"]
BASE_URL = "https://api.massive.com/v1"
resp = requests.get(f"{BASE_URL}/stocks/trades",
params={"apiKey": API_KEY, "ticker": "AAPL"})
| Task | Read |
|---|---|
| Stocks — quotes, trades, OHLCV, fundamentals | references/stocks.md |
| Options — chains, Greeks, trades, quotes | references/options.md |
| Futures — prices, historical bars | references/futures.md |
| Crypto — prices, trades, OHLCV | references/crypto.md |
| Real-time streaming | references/websocket.md |
| Bulk historical CSV downloads | references/flat-files.md |
{ "status": "OK", "count": 10, "results": [ ... ] }
Always check status == "OK" before using results.