Get Market By Slug
Returns a single Gamma-compatible market by slug
Path Parameters
slug*string
Resource slug.
Query Parameters
creator?string
Optional creator filter. Use a creator wallet address or a site identifier to scope results to markets available on that site.
Response Body
application/json
application/json
curl -X GET "https://gamma-api.axes.co/markets/slug/presidential-election-winner-2028"{
"id": "string",
"question": "string",
"conditionId": "string",
"slug": "string",
"resolutionSource": "string",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"image": "string",
"icon": "string",
"description": "string",
"outcomes": "string",
"clobTokenIds": "string",
"active": true,
"closed": true,
"archived": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"questionID": "string",
"events": [
{
"id": "string",
"ticker": "string",
"slug": "string",
"title": "string",
"description": "string",
"resolutionSource": "string",
"startDate": "2019-08-24T14:15:22Z",
"creationDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"image": "string",
"icon": "string",
"active": true,
"closed": true,
"archived": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}{
"type": "not found error",
"error": "slug not found"
}