New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Get prediction market odds and prices from Polymarket

by gooseworks-ai · MIT license · ★ 1,220 on GitHub · updated Sep 21

Prediction market odds cover

Get prediction market odds and prices from Polymarket and Kalshi

---
name: prediction-market-odds
description: Get prediction market odds and prices from Polymarket and Kalshi
source: orthogonal
---


# Prediction Market Odds

## 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`

Overview

If ~/.gooseworks/credentials.json does not exist, tell the user to run: npx gooseworks login

Manual install (npx, ZIP)
Claude Codenpx skills add gooseworks-ai/goose-skills --skill prediction-market-odds -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/gooseworks-ai/goose-skills/tar.gz/615c685f34f8 \ | tar -xz -C ~/.claude/skills --strip-components=4 goose-skills-615c685f34f8/skills/research-tools/capabilities/prediction-market-odds
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/cb736ec50abd223a847f/prediction-market-odds.zip" -OutFile "$env:TEMP\prediction-market-odds.zip"; Expand-Archive "$env:TEMP\prediction-market-odds.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md6.2 KB
  • skill.meta.json299 B
Read the files here
gooseworks-ai/615c6852 files
SKILL.md
Show the full text204 lines

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 equivalent
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) - id and label (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, or MERGE
  • 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 - search requires status parameter (open or closed) — always include both
  • 401 - Invalid API key
  • 429 - Rate limit — wait and retry
  • Empty markets array 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
1---
2name: prediction-market-odds
3description: Get prediction market odds and prices from Polymarket and Kalshi
4source: orthogonal
5---
6 
7 
8# Prediction Market Odds
9 
10## Setup
11 
12Read your credentials from ~/.gooseworks/credentials.json:
13```bash
14export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
15export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")
16```
17 
18If ~/.gooseworks/credentials.json does not exist, tell the user to run: `npx gooseworks login`
19 
20All endpoints use Bearer auth: `-H "Authorization: Bearer $GOOSEWORKS_API_KEY"`
21 
22 
23Get current odds, prices, and market data from prediction markets like Polymarket and Kalshi.
24 
25## When to Use
26 
27- User asks about prediction market odds
28- User wants to know probability of an event
29- User asks "what are the odds of [event]?"
30- Research on market sentiment
31- Election or event probability checks
32 
33## How It Works
34 
35Uses the Dome API to aggregate prediction market data from Polymarket and Kalshi.
36 
37## Usage
38 
39### Get Polymarket Markets
40 
41```bash
42curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
43 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
44 -H "Content-Type: application/json" \
45 -d '{"api":"dome","path":"/polymarket/markets","query":{"status":"open"}}'
46```
47 
48<details>
49<summary>curl equivalent</summary>
50 
51```bash
52curl -X POST "https://api.orth.sh/v1/run" \
53 
54 -H "Content-Type: application/json" \
55 -d '{"api":"dome","path":"/polymarket/markets"}'
56```
57</details>
58 
59### Search Markets
60 
61```bash
62curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
63 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
64 -H "Content-Type: application/json" \
65 -d '{"api":"dome","path":"/polymarket/markets","query":{"search":"election"}}'
66```
67 
68### Get Kalshi Markets
69 
70```bash
71curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
72 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
73 -H "Content-Type: application/json" \
74 -d '{"api":"dome","path":"/kalshi/markets"}'
75```
76 
77### Get Polymarket Activity
78 
79```bash
80curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
81 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
82 -H "Content-Type: application/json" \
83 -d '{"api":"dome","path":"/polymarket/activity"}'
84```
85 
86### Get Market Orders
87 
88```bash
89curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
90 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
91 -H "Content-Type: application/json" \
92 -d '{"api":"dome","path":"/polymarket/orders"}'
93```
94 
95### Get Sports Markets
96 
97```bash
98curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
99 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
100 -H "Content-Type: application/json" \
101 -d '{"api":"dome","path":"/matching-markets/sports"}'
102```
103 
104### Get Specific Sport Markets
105 
106```bash
107curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
108 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
109 -H "Content-Type: application/json" \
110 -d '{"api":"dome","path":"/matching-markets/sports/nba"}'
111```
112 
113## Supported Sports
114 
115- nba
116- nfl
117- mlb
118- nhl
119- soccer
120- tennis
121 
122## Response
123 
124### Markets Response (`/polymarket/markets`, `/kalshi/markets`)
125Returns `markets` array:
126- **title** (string) - Market question (e.g., "Will Trump nationalize elections?")
127- **market_slug** (string) - URL-friendly identifier
128- **condition_id** (string) - Blockchain condition ID
129- **start_time** / **end_time** (integer) - Unix timestamps
130- **completed_time** (integer|null) - Null if still open
131- **tags** (array) - Category tags (e.g., `["politics", "us election"]`)
132- **volume_1_week** / **volume_1_month** / **volume_1_year** / **volume_total** (number) - Trading volume in USD
133- **side_a** / **side_b** (object) - `id` and `label` (typically "Yes"/"No")
134- **winning_side** (object|null) - Null if unresolved
135- **image** (string) - Market thumbnail URL
136 
137### Activity Response (`/polymarket/activity`)
138Returns `activities` array:
139- **title** (string) - Market title
140- **market_slug** (string) - Market identifier
141- **side** (string) - Trade side: `BUY`, `SELL`, or `MERGE`
142- **shares** (integer) - Raw share amount
143- **shares_normalized** (number) - Human-readable share amount
144- **price** (number) - Trade price (0-1, represents probability)
145- **timestamp** (integer) - Unix timestamp of the trade
146- **user** (string) - Wallet address of the trader
147- **tx_hash** (string) - Blockchain transaction hash
148 
149## Examples
150 
151**User:** "What are the odds on Polymarket right now?"
152```bash
153curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
154 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
155 -H "Content-Type: application/json" \
156 -d '{"api":"dome","path":"/polymarket/markets","query":{"status":"open"}}'
157```
158 
159**User:** "Show me Kalshi prediction markets"
160```bash
161curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
162 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
163 -H "Content-Type: application/json" \
164 -d '{"api":"dome","path":"/kalshi/markets"}'
165```
166 
167**User:** "What's happening in prediction markets?"
168```bash
169curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
170 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
171 -H "Content-Type: application/json" \
172 -d '{"api":"dome","path":"/polymarket/activity"}'
173```
174 
175**User:** "Any sports betting markets?"
176```bash
177curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
178 -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
179 -H "Content-Type: application/json" \
180 -d '{"api":"dome","path":"/matching-markets/sports"}'
181```
182 
183## Understanding Odds
184 
185- Prices are shown as decimals (0.65 = 65% probability)
186- "Yes" price = probability market thinks event will happen
187- Higher volume = more confidence/liquidity
188- Prices change based on trading activity
189 
190## Error Handling
191 
192- **400** - `search` requires `status` parameter (`open` or `closed`) — always include both
193- **401** - Invalid API key
194- **429** - Rate limit — wait and retry
195- Empty `markets` array means no markets match the search term
196- Activity endpoint returns recent trades globally — no filters required
197 
198## Tips
199 
200- Check multiple markets for the same event
201- Volume indicates market confidence
202- Recent activity shows sentiment shifts
203- Polymarket focuses on politics/world events, Kalshi on finance/weather
204 
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 1,220
Checked
Source
gooseworks-ai/goose-skills ↗
Creator
gooseworks-ai · 206 listings
View creator

Made with prediction-market-odds

Prediction market odds — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)
Prediction market odds — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)

by gooseworks-ai

Similar skills

See all →
SkillGuides stable API and interface designaddyosmani/agent-skills · by addyosmaniGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.★ 98.7k GitHub starsMCPPulls up-to-date, version-specific library docsContext7upstash/context7 · by upstashPulls up-to-date, version-specific library docs and code examples into the prompt so the AI stops inventing old APIs.★ 62.3k GitHub starsSkillFetch up-to-date documentation and code examples for anyContext7 Documentation Lookupupstash/context7 · by upstashFetch up-to-date documentation and code examples for any library, framework, SDK, CLI tool, or cloud service. Use whenever the user asks about a specific library — even well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot — because training data may not reflect recent API changes or version updates. Always use for: API syntax questions, configuration options, version migration issues, "how do I" questions mentioning a library name, debugging that involves library-specific behavior, setup instructions, and CLI tool usage. Use even when you think you know the answer. Do not rely on training data for API details, signatures, or configuration options — they are frequently out of date. Prefer this over web search for library documentation.★ 62.3k GitHub starsSkillHow to use the Adaptyv Bio Foundry API and Python SDKK-Dense-AI/scientific-agent-skills · by K-Dense-AIHow to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.★ 46k GitHub starsSkillMaster C/.NET backend development patterns for buildingwshobson/agents · by wshobsonMaster C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.★ 39.9k GitHub starsSkillGuides the usage of Gemini Interactions API on GeminiGemini Interactions API Skillgoogle/skills · by googleGuides the usage of Gemini Interactions API on Gemini Enterprise Agent Platform. Use when the user wants to use the stateful, server-managed Interactions API for multi-turn conversations, background execution, streaming, structured output, and function calling on the Agent Platform.★ 20.9k GitHub stars

More from gooseworks-ai

SkillMine the highest-converting ad angles from customer reviewsAd angle minergooseworks-ai/goose-skills · by gooseworks-aiMine the highest-converting ad angles from customer reviews, Reddit complaints, support tickets, and competitor ads. Extracts actual pain language, competitor weaknesses, and outcome phrases that real buyers use. Outputs a ranked angle bank with proof quotes and recommended ad formats per angle.★ 1.2k GitHub starsSkillAnalyze ad campaign performance data to identify what'sAd campaign analyzergooseworks-ai/goose-skills · by gooseworks-aiAnalyze ad campaign performance data (Google, Meta, LinkedIn) to identify what's working, what's wasting budget, and specific cut/scale/test recommendations. Runs statistical analysis, funnel diagnostics, and multi-channel budget reallocation with specific dollar-amount shift recommendations and scenario modeling.★ 1.2k GitHub starsSkillFor paid lead-gen and participant-recruitment adsAd lead quality analyzergooseworks-ai/goose-skills · by gooseworks-aiFor paid lead-gen and participant-recruitment ads, replaces vanity CPA with true CAC per qualified lead by joining ad-platform data with downstream funnel events, surfaces tracking gaps, and classifies every creative into Scale / Keep / Investigate / Cut.★ 1.2k GitHub starsSkillAnalyze the message match between your ads and landing pagesAd to landing page auditorgooseworks-ai/goose-skills · by gooseworks-aiAnalyze the message match between your ads and landing pages. Checks if the promise in the ad copy carries through to the landing page headline, body, and CTA. Flags disconnects that kill conversion rates. Works with Google, Meta, and LinkedIn ads.★ 1.2k GitHub starsSkillCheck and improve your brand's visibility across AI searchAeogooseworks-ai/goose-skills · by gooseworks-aiCheck and improve your brand's visibility across AI search engines (ChatGPT, Perplexity, Gemini, Grok, Claude, DeepSeek). Set up tracking, run visibility analyses, audit your website for AI readability, and get actionable recommendations. Uses the npx goose-aeo@latest CLI.★ 1.2k GitHub starsSkillSearch Amazon products - find items, compare pricesAmazon Product Searchgooseworks-ai/goose-skills · by gooseworks-aiSearch Amazon products - find items, compare prices, read reviews★ 1.2k GitHub stars