Prediction Market Odds
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install goose-skills-prediction-market-oddsWhat this does: Get prediction market odds and prices from Polymarket and Kalshi
Manual setup by platform
Claude Code
~/.claude/skills/goose-skills-prediction-market-odds/SKILL.md
Instructions
Prediction Market Odds
Setup
Read your credentials from ~/.gooseworks/credentials.json:
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"
Get current odds, prices, and market data from prediction markets like Polymarket and Kalshi.
When to Use
- User asks about prediction market odds
- User wants to know probability of an event
- User asks "what are the odds of [event]?"
- Research on market sentiment
- Election or event probability checks
How It Works
Uses the Dome API to aggregate prediction market data from Polymarket and Kalshi.
Usage
Get Polymarket Markets
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/markets","query":{"status":"open"}}'
curl -X POST "https://api.orth.sh/v1/run" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/markets"}'
Search Markets
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/markets","query":{"search":"election"}}'
Get Kalshi Markets
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/kalshi/markets"}'
Get Polymarket Activity
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/activity"}'
Get Market Orders
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/orders"}'
Get Sports Markets
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/matching-markets/sports"}'
Get Specific Sport Markets
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/matching-markets/sports/nba"}'
Supported Sports
- nba
- nfl
- mlb
- nhl
- soccer
- tennis
Response
Markets Response (/polymarket/markets, /kalshi/markets)
Returns markets array:
- title (string) - Market question (e.g., "Will Trump nationalize elections?")
- market_slug (string) - URL-friendly identifier
- condition_id (string) - Blockchain condition ID
- start_time / end_time (integer) - Unix timestamps
- completed_time (integer|null) - Null if still open
- tags (array) - Category tags (e.g.,
["politics", "us election"]) - volume_1_week / volume_1_month / volume_1_year / volume_total (number) - Trading volume in USD
- side_a / side_b (object) -
idandlabel(typically "Yes"/"No") - winning_side (object|null) - Null if unresolved
- image (string) - Market thumbnail URL
Activity Response (/polymarket/activity)
Returns activities array:
- title (string) - Market title
- market_slug (string) - Market identifier
- side (string) - Trade side:
BUY,SELL, orMERGE - shares (integer) - Raw share amount
- shares_normalized (number) - Human-readable share amount
- price (number) - Trade price (0-1, represents probability)
- timestamp (integer) - Unix timestamp of the trade
- user (string) - Wallet address of the trader
- tx_hash (string) - Blockchain transaction hash
Examples
User: "What are the odds on Polymarket right now?"
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/markets","query":{"status":"open"}}'
User: "Show me Kalshi prediction markets"
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/kalshi/markets"}'
User: "What's happening in prediction markets?"
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/polymarket/activity"}'
User: "Any sports betting markets?"
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"dome","path":"/matching-markets/sports"}'
Understanding Odds
- Prices are shown as decimals (0.65 = 65% probability)
- "Yes" price = probability market thinks event will happen
- Higher volume = more confidence/liquidity
- Prices change based on trading activity
Error Handling
- 400 -
searchrequiresstatusparameter (openorclosed) β always include both - 401 - Invalid API key
- 429 - Rate limit β wait and retry
- Empty
marketsarray means no markets match the search term - Activity endpoint returns recent trades globally β no filters required
Tips
- Check multiple markets for the same event
- Volume indicates market confidence
- Recent activity shows sentiment shifts
- Polymarket focuses on politics/world events, Kalshi on finance/weather
Security
Reviews (0)
Related skills
Browse all βMore from goose-skills
View source βMore Build skills
Browse category βFrequently asked questions about prediction-market-odds
What does the prediction-market-odds skill do?
Get prediction market odds and prices from Polymarket and Kalshi It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the prediction-market-odds skill?
Run `npx @skills-hub-ai/cli install goose-skills-prediction-market-odds` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/goose-skills-prediction-market-odds/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does prediction-market-odds work with?
prediction-market-odds runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the prediction-market-odds skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use prediction-market-odds after installing it?
In Claude Code, type `/goose-skills-prediction-market-odds` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the prediction-market-odds skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.