9d9e7e89d9
Polymarket results now rank by text similarity, volume, liquidity, price movement, and competitive score instead of API return position. Also fixes pagination (DEPTH_CONFIG now controls page count, not a no-op limit param) and caps results after re-ranking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
218 lines
6.1 KiB
JSON
218 lines
6.1 KiB
JSON
{
|
|
"events": [
|
|
{
|
|
"id": "evt-arizona-big12",
|
|
"title": "Will Arizona win the Big 12 Championship?",
|
|
"slug": "arizona-big-12-championship",
|
|
"active": true,
|
|
"closed": false,
|
|
"updatedAt": "2026-02-24T18:30:00.000Z",
|
|
"volume24hr": 342000,
|
|
"volume1wk": 1200000,
|
|
"volume1mo": 3500000,
|
|
"volume": 5000000,
|
|
"liquidity": 2100000,
|
|
"competitive": 0.92,
|
|
"commentCount": 15,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-arizona-big12-1",
|
|
"question": "Will Arizona win the Big 12 Championship?",
|
|
"active": true,
|
|
"closed": false,
|
|
"outcomes": "[\"Yes\", \"No\"]",
|
|
"outcomePrices": "[\"0.64\", \"0.36\"]",
|
|
"volume": "1500000",
|
|
"volume24hr": "342000",
|
|
"liquidity": "2100000",
|
|
"oneDayPriceChange": 0.03,
|
|
"oneWeekPriceChange": 0.225,
|
|
"oneMonthPriceChange": 0.15,
|
|
"endDate": "2026-03-15T00:00:00.000Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "evt-arizona-ncaa",
|
|
"title": "Will Arizona win the NCAA Tournament?",
|
|
"slug": "arizona-ncaa-tournament",
|
|
"active": true,
|
|
"closed": false,
|
|
"updatedAt": "2026-02-23T12:00:00.000Z",
|
|
"volume24hr": 89000,
|
|
"volume1wk": 400000,
|
|
"volume1mo": 800000,
|
|
"volume": 1200000,
|
|
"liquidity": 450000,
|
|
"competitive": 0.76,
|
|
"commentCount": 8,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-arizona-ncaa-1",
|
|
"question": "Will Arizona win the NCAA Tournament?",
|
|
"active": true,
|
|
"closed": false,
|
|
"outcomes": "[\"Yes\", \"No\"]",
|
|
"outcomePrices": "[\"0.12\", \"0.88\"]",
|
|
"volume": "800000",
|
|
"volume24hr": "89000",
|
|
"liquidity": "450000",
|
|
"oneDayPriceChange": -0.005,
|
|
"oneWeekPriceChange": -0.02,
|
|
"oneMonthPriceChange": -0.117,
|
|
"endDate": "2026-04-07T00:00:00.000Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "evt-closed-resolved",
|
|
"title": "Resolved Event (should be filtered)",
|
|
"slug": "resolved-event",
|
|
"active": true,
|
|
"closed": true,
|
|
"updatedAt": "2026-02-20T10:00:00.000Z",
|
|
"volume24hr": 0,
|
|
"volume1mo": 0,
|
|
"liquidity": 0,
|
|
"competitive": 0,
|
|
"commentCount": 0,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-resolved-1",
|
|
"question": "Already resolved?",
|
|
"active": true,
|
|
"closed": true,
|
|
"outcomes": "[\"Yes\", \"No\"]",
|
|
"outcomePrices": "[\"1\", \"0\"]",
|
|
"volume": "500000",
|
|
"volume24hr": "0",
|
|
"liquidity": "0",
|
|
"oneDayPriceChange": 0,
|
|
"oneWeekPriceChange": 0,
|
|
"oneMonthPriceChange": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "evt-multi-outcome",
|
|
"title": "Who will win the Big 12 Tournament?",
|
|
"slug": "big-12-tournament-winner",
|
|
"active": true,
|
|
"closed": false,
|
|
"updatedAt": "2026-02-24T20:00:00.000Z",
|
|
"volume24hr": 150000,
|
|
"volume1wk": 800000,
|
|
"volume1mo": 2000000,
|
|
"volume": 4000000,
|
|
"liquidity": 1800000,
|
|
"competitive": 0.99,
|
|
"commentCount": 22,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-multi-1",
|
|
"question": "Who will win the Big 12 Tournament?",
|
|
"active": true,
|
|
"closed": false,
|
|
"outcomes": "[\"Arizona\", \"Kansas\", \"Houston\", \"Iowa State\", \"BYU\"]",
|
|
"outcomePrices": "[\"0.35\", \"0.22\", \"0.18\", \"0.15\", \"0.10\"]",
|
|
"volume": "2000000",
|
|
"volume24hr": "150000",
|
|
"liquidity": "1800000",
|
|
"oneDayPriceChange": 0.05,
|
|
"oneWeekPriceChange": 0.08,
|
|
"oneMonthPriceChange": 0.12
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "evt-no-liquidity",
|
|
"title": "Dead market (no liquidity)",
|
|
"slug": "dead-market",
|
|
"active": true,
|
|
"closed": false,
|
|
"updatedAt": "2026-02-10T00:00:00.000Z",
|
|
"volume24hr": 0,
|
|
"volume1mo": 0,
|
|
"liquidity": 0,
|
|
"competitive": 0,
|
|
"commentCount": 0,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-dead-1",
|
|
"question": "Dead market?",
|
|
"active": true,
|
|
"closed": false,
|
|
"outcomes": "[\"Yes\", \"No\"]",
|
|
"outcomePrices": "[\"0.50\", \"0.50\"]",
|
|
"volume": "100",
|
|
"volume24hr": "0",
|
|
"liquidity": "0",
|
|
"oneDayPriceChange": 0,
|
|
"oneWeekPriceChange": 0,
|
|
"oneMonthPriceChange": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "evt-malformed",
|
|
"title": "Malformed prices",
|
|
"slug": "malformed-prices",
|
|
"active": true,
|
|
"closed": false,
|
|
"updatedAt": "2026-02-22T08:00:00.000Z",
|
|
"volume24hr": 5000,
|
|
"volume1mo": 50000,
|
|
"liquidity": 30000,
|
|
"competitive": 0.5,
|
|
"commentCount": 1,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-malformed-1",
|
|
"question": "Malformed outcomes?",
|
|
"active": true,
|
|
"closed": false,
|
|
"outcomes": "not valid json",
|
|
"outcomePrices": "also not valid json",
|
|
"volume": "50000",
|
|
"volume24hr": "5000",
|
|
"liquidity": "30000",
|
|
"oneDayPriceChange": 0,
|
|
"oneWeekPriceChange": 0,
|
|
"oneMonthPriceChange": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "evt-tangential",
|
|
"title": "Will AI regulation pass in 2026?",
|
|
"slug": "ai-regulation-2026",
|
|
"active": true,
|
|
"closed": false,
|
|
"updatedAt": "2026-02-24T10:00:00.000Z",
|
|
"volume24hr": 500000,
|
|
"volume1wk": 2000000,
|
|
"volume1mo": 8000000,
|
|
"volume": 15000000,
|
|
"liquidity": 5000000,
|
|
"competitive": 0.95,
|
|
"commentCount": 50,
|
|
"markets": [
|
|
{
|
|
"id": "mkt-tangential-1",
|
|
"question": "Will AI regulation pass in 2026?",
|
|
"active": true,
|
|
"closed": false,
|
|
"outcomes": "[\"Yes\", \"No\"]",
|
|
"outcomePrices": "[\"0.30\", \"0.70\"]",
|
|
"volume": "8000000",
|
|
"volume24hr": "500000",
|
|
"liquidity": "5000000",
|
|
"oneDayPriceChange": -0.02,
|
|
"oneWeekPriceChange": 0.05,
|
|
"oneMonthPriceChange": 0.08
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|