GET
/v1/markets/by-slug/:slugGet Market By Slug
Get a single market using its slug. Supports exact slugs, partial slugs (e.g. sol-updown-5m), and slugs with any timestamp. Falls back to ClickHouse for historical markets.
Path Parameters
slugstringrequiredMarket slug — full, partial, or with any timestamp
Response
200401403404500
Successful Response
Code Snippet
curl -X GET "https://api.resolvedmarkets.com/v1/markets/by-slug/:slug" \ -H "X-API-Key: YOUR_API_KEY"
200
{
"market_id": "0x778be094...",
"crypto": "BTC",
"timeframe": "5m",
"slug": "btc-updown-5m-...",
"question": "Bitcoin Up or Down?",
"active": true,
"expired": false,
"expires_in": 234000
}