GET /api/v1/market/get-markets
Auth required: No
Returns a paginated list of prediction markets. Supports filtering by status, category, tags, and sorting.
Query Parameters
Items per page. Maximum 50.
Filter by tag slug (e.g., crypto, politics).
Filter by market status: running, settling, ended.
Sort order: hot, newest, ending_soon, volume.
Filter by trending keywords.
Only return markets the authenticated user follows. Requires auth.
Only recently created markets.
Markets ending within 24 hours.
Filter by base collateral token address.
Response
Total number of markets matching the filter criteria.
Array of market objects.
On-chain market contract address.
running, settling, or ended.
Total trading volume in base token units.
Number of unique traders.
ISO 8601 market end time.
Option token contract address.
Option label (e.g., “Yes”, “No”).
Current price (0–1 range).
Option-specific trading volume.
ISO 8601 creation timestamp.
Examples
curl "https://api-staging.promethex.market/api/v1/market/get-markets?page=1&pageSize=5&sortType=hot"
Response:
{
"code": 0,
"data": {
"totalCount": 142,
"markets": [
{
"marketAddress": "0x1234...abcd",
"title": "Will BTC exceed $100k by March 2026?",
"description": "Resolves Yes if Bitcoin price...",
"status": "running",
"volume": "52340000000",
"participantCount": 1823,
"endTime": "2026-03-31T00:00:00Z",
"options": [
{
"optionAddress": "0xaaaa...1111",
"title": "Yes",
"price": "0.65",
"volume": "34000000000"
},
{
"optionAddress": "0xbbbb...2222",
"title": "No",
"price": "0.35",
"volume": "18340000000"
}
],
"tags": ["crypto", "bitcoin"],
"categoryId": "1",
"createdAt": "2026-02-01T10:00:00Z"
}
]
}
}