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>"
]
}
}Returns a single unified event with its nested markets and outcomes.
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>"
]
}
}Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.
UUID of the event.
The requested event.
Show child attributes
Was this page helpful?