Skip to main content
GET
/
v0
/
events
/
{id}
Get event by ID
curl --request GET \
  --url https://api.pmxt.dev/v0/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "title": "<string>",
    "slug": "<string>",
    "markets": [
      {
        "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>"
      }
    ],
    "description": "<string>",
    "volume24h": 123,
    "volume": 123,
    "url": "<string>",
    "image": "<string>",
    "category": "<string>",
    "tags": [
      "<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 event.

Response

The requested event.

data
object
required