prediction-markets-dome
Prediction markets data - Polymarket, Kalshi markets, prices, positions, and trades
npx skills add gooseworks-ai/goose-skills --skill prediction-markets-dome --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Fetches data from prediction markets (Polymarket, Kalshi) including prices, orderbooks, trades, positions, wallets, activity, candlesticks, and related market mappings.
How it works
- Sets up access via credentials from ~/.gooseworks/credentials.json and uses Bearer auth with the API key.
- Provides endpoints for: market price by token_id and by market_ticker; orderbook history for Kalshi markets and assets; trade history with filtering; sport/date and matching markets across platforms; positions for a Polymarket proxy wallet; Binance and Chainlink price histories; wallet information with optional metrics; candlesticks by condition_id; crypto prices history; activity data for a user; market searches with multiple filters; polymarket/wallet and polymarket/markets and polymarket/orderbooks requests.
- Each usage example shows a curl POST to $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run with api set to "dome" and specific path such as "/kalshi/orderbooks", "/polymarket/markets", "/polymarket/trades", etc., and a JSON query payload.
When to use it
Use when you need historical or current data for prediction-market instruments and related analytics, such as price histories, orderbook snapshots, trades, market listings, and user activity, across Polymarket and Kalshi.
What it can touch
- Tools: "claude-code", "codex", "cursor" (as declared in the skill).
- API: Dome endpoints under "/kalshi/", "/polymarket/", "/crypto-prices/", "/polymarket/" for markets, trades, orders, wallets, activity, candlesticks, and prices.
Caveats
- Credentials are read from a local file and Bearer auth is used for all endpoints.
- All timestamps are specified in seconds or milliseconds depending on endpoint; ensure correct unit when filtering.
- Some endpoints have optional parameters (start_time, end_time, limit, offset) and defaults are noted in the usage sections.
# Dome - Prediction Markets API ## Setup Read your credentials from ~/.gooseworks/credentials.json: ```bash export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])") export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))") ``` If ~/.gooseworks/credentials.json does not exist, tell the user to run: `npx gooseworks login` All endpoints use Bearer auth: `-H "Authorization: Bearer $GOOSEWORKS_API_KEY"` Access data from Polymarket and Kalshi prediction markets. ## Capabilities - **Orderbook History**: Fetches historical orderbook snapshots for a specific Kalshi market (ticker) over a specified time range - **Market Price**: Fetches the current market price for a market by token_id - **Market Price**: Fetches the current market price for a Kalshi market by market_ticker - **Trade History**: Fetches historical trade data for Kalshi markets with optional filtering by ticker and time range - **Sport by Date**: Find equivalent markets across different prediction market platforms (Polymarket, Kalshi, etc - **Sports**: Find e
- Setup
- Capabilities
- Usage
- Orderbook History
- Market Price
- Trade History
- Sport by Date
- Sports
- Positions
- Binance Prices
- Activity
- Markets
- Wallet
- Candlesticks
export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/search \
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/details \What does the prediction-markets-dome skill do?
Prediction markets data - Polymarket, Kalshi markets, prices, positions, and trades
How do I install it?
Run `npx skills add gooseworks-ai/goose-skills --skill prediction-markets-dome --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From gooseworks-ai/goose-skills, a repository with 1,091 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
