Skip to main content
GET
/
markets
/
{market_id}
Get market details
curl --request GET \
  --url https://api.polyrouter.io/functions/v1/markets/{market_id} \
  --header 'X-API-Key: <api-key>'
{
  "markets": [
    {
      "id": "<string>",
      "platform": "polymarket",
      "platform_id": "<string>",
      "event_id": "<string>",
      "event_name": "<string>",
      "event_slug": "<string>",
      "title": "<string>",
      "market_slug": "<string>",
      "description": "<string>",
      "subcategory": "<string>",
      "source_url": "<string>",
      "status": "open",
      "market_type": "binary",
      "category": "<string>",
      "tags": [
        "<string>"
      ],
      "outcomes": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "current_prices": {},
      "volume_24h": 123,
      "volume_7d": 123,
      "volume_total": 123,
      "liquidity": 123,
      "liquidity_score": 0.5,
      "open_interest": 123,
      "unique_traders": 123,
      "fee_rate": 123,
      "trading_fee": 123,
      "withdrawal_fee": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "trading_start_at": "2023-11-07T05:31:56Z",
      "trading_end_at": "2023-11-07T05:31:56Z",
      "resolution_date": "2023-11-07T05:31:56Z",
      "resolved_at": "2023-11-07T05:31:56Z",
      "resolution_criteria": "<string>",
      "resolution_source": "<string>",
      "price_24h_changes": {},
      "price_7d_changes": {},
      "last_trades": {},
      "metadata": {},
      "raw_data": {},
      "last_synced_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "has_more": true,
    "next_offset": 123
  },
  "meta": {
    "request_time": 123,
    "cache_hit": true,
    "data_freshness": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

market_id
string
required

Platform-native market identifier

Query Parameters

include_raw
boolean

Include raw data from the platform API

Response

Market details retrieved successfully

markets
object[]
pagination
object
meta
object