Fetch the latest events from the Polymarket prediction market platform.
Use this skill when the user:
Use web_fetch (or curl via Bash) to call the Polymarket Gamma API. No API key or authentication is required.
curl -s "https://gamma-api.polymarket.com/events?active=true&closed=false&limit=10&order=createdAt&ascending=false"
Or with web_fetch:
web_fetch url="https://gamma-api.polymarket.com/events?active=true&closed=false&limit=10&order=createdAt&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 |
| startDate | Event start date |
| createdAt | When the event was created |
| volume | Total trading volume |
| liquidity | Available liquidity |
| markets | Array of sub-markets with outcomes and prices |
| tags | Category tags |
The Polymarket URL for each event is:
https://polymarket.com/event/{slug}
Each event has a markets array. Each market contains:
Present the results as a clean list:
You can customize the API query:
https://gamma-api.polymarket.com/tags?limit=100)共 1 个版本