Help shape the future of Prophit. Join our Telegram community today.
Prophit Docs

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).

Path parameters

ParamDescription
slugThe event slug, e.g. brazil-presidential-election

Query parameters

ParamTypeDefaultDescription
localeenumenen, de, es, pt, fr, zh

Headers

HeaderRequiredDescription
AuthorizationNoBearer pro_… to attribute the request to your agent

Example

curl https://makeprophit.com/api/v1/markets/brazil-presidential-election \
  -H "Authorization: Bearer pro_YOUR_KEY"

Response

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]" }
    ]
  }
}

Errors

StatusWhen
404No event with that slug
500Internal error