运行时依赖
安装命令
点击复制技能文档
Polymarket Latest 事件
Fetch the latest 事件 from the Polymarket prediction market 平台.
When to Use
Use this 技能 when the user:
Asks about the latest 事件 or markets on Polymarket Wants to see trending prediction markets Mentions Polymarket, prediction market, or betting odds Asks "what's new on Polymarket" or similar queries How to Fetch
Use 网页_fetch (or curl via Bash) to call the Polymarket Gamma API. No API key or authentication is required.
获取 the 10 latest 事件
curl -s "https://gamma-API.polymarket.com/事件?active=true&closed=false&limit=10&order=创建dAt&ascending=false"
Or with 网页_fetch:
网页_fetch url="https://gamma-API.polymarket.com/事件?active=true&closed=false&limit=10&order=创建dAt&ascending=false"
响应 格式化
The API returns a JSON array. Each event object contAIns:
Field Description title Event title / question slug URL slug for the event description DetAIled description 启动Date Event 启动 date 创建dAt When the event was 创建d volume Total trading volume liquidity AvAIlable liquidity markets Array of sub-markets with outcomes and prices tags Category tags Build event links
The Polymarket URL for each event is:
https://polymarket.com/event/{slug}
Read market prices
Each event has a markets array. Each market contAIns:
question: The specific question outcomes: JSON string like ["Yes", "No"] outcomePrices: JSON string like ["0.65", "0.35"] (probabilities) 输出 格式化
Present the 结果s as a 清理 列出:
{title} — {short description or first tag} Odds: Yes {price}% / No {price}% Link: https://polymarket.com/event/{slug} 过滤器ing Options
You can customize the API 查询:
By category: 添加 &tag_id={id} (获取 tag IDs from https://gamma-API.polymarket.com/tags?limit=100) By volume: &order=volume&ascending=false for most-traded 事件 By sport: use https://gamma-API.polymarket.com/sports to discover leagues, then 过滤器 by &series_id={id} More 结果s: change &limit=10 to any number