/v1/markets/metadataGet Market Metadata
Durable descriptive metadata, including for CLOSED markets: question, end_date, slug, event_title and neg_risk_id. Once a market resolves the row also carries its SETTLED RESULT: `resolution_status` (resolved/unresolved), `resolved_outcome` (the WINNING outcome label, e.g. "Up"/"Yes"/"No"), `outcome_prices` (settled prices aligned to `outcomes` — ["1","0"] means outcomes[0] won) and `resolved_at`. Note `outcomes` is the list of CHOICES; `resolved_outcome` is which one won. `neg_risk_id` is the key shared by every leg of one event — the three legs of a football fixture (TeamA / TeamB / Draw), the temperature buckets of one weather event, the strike ladder of one equities event — so you can reassemble an event long after it settled. For sports, `end_date` is the scheduled KICKOFF, which anchors in-game time windows. Pass group_by_event=true to get one row per event with its legs nested.
Query Parameters
formatstringdefault:jsonmarket_idstringneg_risk_idstringslugstringcategorystringsubcategorystringcryptostringtimeframestringresolution_statusstringgroup_by_eventbooleanlimitintegerResponse
Successful Response
curl -X GET "https://api.resolvedmarkets.com/v1/markets/metadata" \ -H "X-API-Key: YOUR_API_KEY"
{
"count": 1,
"events": [
{
"neg_risk_id": "0x6dfb9f38...",
"event_title": "France vs. Spain",
"slug": "fifwc-fra-esp-2026-07-14",
"category": "sports",
"subcategory": "FIFA",
"end_date": "2026-07-14 19:00:00.000",
"legs": [
{ "market_id": "0x20fac1c9...", "label": "France", "question": "Will France win on 2026-07-14?",
"outcomes": ["Yes", "No"], "token_ids": ["6982...", "1198..."],
"resolution_status": "resolved", "resolved_outcome": "Yes",
"outcome_prices": ["1", "0"], "resolved_at": "2026-07-14 21:04:11.000" },
{ "market_id": "0xaa23528a...", "label": "Spain", "question": "Will Spain win on 2026-07-14?",
"outcomes": ["Yes", "No"], "token_ids": ["8827...", "3341..."],
"resolution_status": "resolved", "resolved_outcome": "No",
"outcome_prices": ["0", "1"], "resolved_at": "2026-07-14 21:04:11.000" },
{ "market_id": "0x3b9204e0...", "label": "Draw (France vs. Spain)", "question": "Will France vs. Spain end in a draw?",
"outcomes": ["Yes", "No"], "token_ids": ["5510...", "9925..."],
"resolution_status": "resolved", "resolved_outcome": "No",
"outcome_prices": ["0", "1"], "resolved_at": "2026-07-14 21:04:11.000" }
]
}
]
}
