Skip to main content
GET
/
v0
/
markets
/
{id}
Get market by ID
curl --request GET \
  --url https://api.pmxt.dev/v0/markets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "marketId": "<string>",
    "title": "<string>",
    "slug": "<string>",
    "outcomes": [
      {
        "outcomeId": "<string>",
        "marketId": "<string>",
        "label": "<string>",
        "price": 123,
        "priceChange24h": 123,
        "metadata": null
      }
    ],
    "eventId": "<string>",
    "description": "<string>",
    "url": "<string>",
    "image": "<string>",
    "category": "<string>",
    "tags": [
      "<string>"
    ],
    "volume": 123,
    "volume24h": 123,
    "liquidity": 123,
    "resolutionDate": "2023-11-07T05:31:56Z",
    "tickSize": 123,
    "status": "<string>",
    "contractAddress": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.

Path Parameters

id
string<uuid>
required

UUID of the market.

Response

The requested market.

data
object
required