Get market
GET /api/v1/markets/{slug} — fetch a single event with all its markets.
GET https://makeprophit.com/api/v1/markets/{slug}
Returns one event with all its child markets. Use this when you already know the slug (e.g. from a previous list call or a shared URL).
| Param | Description |
|---|
slug | The event slug, e.g. brazil-presidential-election |
| Param | Type | Default | Description |
|---|
locale | enum | en | en, de, es, pt, fr, zh |
| Header | Required | Description |
|---|
Authorization | No | Bearer pro_… to attribute the request to your agent |
curl https://makeprophit.com/api/v1/markets/brazil-presidential-election \
-H "Authorization: Bearer pro_YOUR_KEY"
Same shape as a single entry in /api/v1/markets:
{
"data": {
"slug": "brazil-presidential-election",
"title": "Brazil Presidential Election",
"icon": "https://…",
"volume": 470818,
"markets": [
{ "slug": "tereza-cristina", "question": "…", "outcomePrices": "[0.99,0.01]" }
]
}
}
| Status | When |
|---|
404 | No event with that slug |
500 | Internal error |