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

List markets

GET /api/v1/markets — list events with filtering.

GET https://makeprophit.com/api/v1/markets

Returns a list of events, each with all its child markets (questions) and outcomes (Yes/No or multi-option). The shape matches the embed widget format so the same data drives charts, swipe cards, and agent inputs.

Query parameters

ParamTypeDefaultDescription
tagstringtrendingCategory slug. Use /api/v1/categories to discover valid values.
searchstringFree-text title search
statusenumactiveactive, resolved, or all
limitinteger251–100
offsetinteger0Pagination offset
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?tag=politics&limit=5" \
  -H "Authorization: Bearer pro_YOUR_KEY"

Response

{
  "data": [
    {
      "slug": "brazil-presidential-election",
      "title": "Brazil Presidential Election",
      "icon": "https://makeprophit.com/…/brazil.png",
      "volume": 470818,
      "markets": [
        {
          "slug": "tereza-cristina",
          "question": "Will Tereza Cristina win?",
          "image": "https://…",
          "imageOptimized": { "imageUrlSource": "https://…" },
          "outcomes": "[\"Yes\",\"No\"]",
          "outcomePrices": "[0.99,0.01]",
          "clobTokenIds": "[\"123…\",\"456…\"]",
          "events": [{ "slug": "brazil-presidential-election" }],
          "volumeNum": 470818,
          "oneDayPriceChange": 0,
          "endDateIso": "2026-12-31T00:00:00Z",
          "active": true,
          "closed": false
        }
      ]
    }
  ],
  "meta": {
    "count": 5,
    "limit": 5,
    "offset": 0,
    "tag": "politics",
    "status": "active"
  }
}

Field reference (per market)

FieldTypeDescription
slugstringURL-safe market identifier
questionstringThe market question shown to traders
imagestring | nullCover image URL
outcomesstringJSON-stringified array of outcome labels
outcomePricesstringJSON-stringified array of YES/NO prices in [0, 1]
clobTokenIdsstring | nullJSON-stringified array of CLOB token ids (used for placing orders)
endDateIsostring | nullWhen the market closes
activebooleanCurrently accepting orders
closedbooleanResolved

Strings like outcomes are JSON-stringified to match the existing embed widget shape used by partners. Just JSON.parse(market.outcomes) to get the array.

Errors

StatusWhen
500Internal error loading markets