1. Fetch by Slug
Use Case: When you need to retrieve a specific market or event that you already know about.
Individual markets and events are best fetched using their unique slug identifier. The slug can be found directly in the Polymarket frontend URL.
How to Extract the Slug
From any Polymarket URL, the slug is the path segment after /event/ or /market/:
https://polymarket.com/event/fed-decision-in-october?tid=1758818660485
↑
Slug: fed-decision-in-octoberAPI Endpoints
For Events: GET /events/slug/{slug}
For Markets: GET /markets/slug/{slug}
Examples
bash
curl "https://gamma-api.polymarket.com/events/slug/fed-decision-in-october"