Surreal Events API (0.1.0)
Download OpenAPI specification:Download
Create events API key
Create a new API Key for access to the Surreal Events API. To do this you need to log into a Surreal user with access to the venue(s)/group you want to access and use the app access token from the developer console to generate yourself a machine to machine API Key. Note that this URL is different to the others
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
{- "key": "evt_3ZbRu1bfEPFaqd29w8fK8uUu",
- "keyId": "key_3qD8vo2yzsvpRuBWsHqtgS5Absa"
}List performances
Return a list of performances for the requested venue(s) or venue group
Authorizations:
query Parameters
| groupId | string <uuid> Example: groupId=1cddc97d-9b5a-4a74-8a15-2dd26671c536 UUID of the group you want to fetch events for |
| venueIds | string <uuid> Example: venueIds=1cddc97d-9b5a-4a74-8a15-2dd26671c536 One or more venueId UUIDs to fetch results for |
| startDateTime | string Example: startDateTime=2024-07-01T00:20:00.0Z UTC ISO Date or Datetime string that an event must start after to be included |
| endDateTime | string Example: endDateTime=2024-07-28T00:20:00.0Z UTC ISO Date or Datetime string that an event must start before to be included |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
{- "performances": [
- {
- "performanceId": "1cddc97d-9b5a-4a74-8a15-2dd26671c536",
- "eventId": "1cddc97d-9b5a-4a74-8a15-2dd26671c536",
- "name": "Blargh",
- "imageUrlVariants": {
}, - "genres": [
- "Psytrance",
- "Electronic",
- "Power metal"
], - "performerType": "Group",
- "tempos": [
- "mid"
], - "times": {
- "timezone": "Australia/Brisbane",
- "date": "2024-07-17",
- "startTime": "22:00",
- "endTime": "00:00",
- "startDatetime": "2024-07-17T12:00:00.000Z",
- "endDatetime": "2024-07-17T14:00:00.000Z",
- "dayOfWeek": "Wednesday",
- "formattedEventDate": "Wednesday, 17th Jul 2024"
}, - "performer": {
- "id": "1cddc97d-9b5a-4a74-8a15-2dd26671c536",
- "handle": "abba",
- "name": "A-A-RON",
- "socialLinks": [ ],
}, - "venue": {
- "id": "1cddc97d-9b5a-4a74-8a15-2dd26671c536",
- "handle": "Example-hotel",
- "name": "Example Hotel",
- "googlePlaceId": "string",
- "venueCoords": {
- "lat": -100,
- "lng": 150
}, - "address": "123 Fake St, Melbourne VIC 3000, Australia",
}, - "isCancelled": true
}
]
}Response samples
- 200
- 400
- 401
- 403
- 429
- 500
{- "venues": [
- {
- "id": "1cddc97d-9b5a-4a74-8a15-2dd26671c536",
- "handle": "example-hotel",
- "name": "Example Hotel",
- "googlePlaceId": "string",
- "venueCoords": {
- "lat": -100,
- "lng": 150
}, - "address": "123 Fake St, Melbourne VIC 3000, Australia",
}
]
}List group venues
Return list of venues in a venue group
Authorizations:
path Parameters
| groupId | string <uuid> Example: 1cddc97d-9b5a-4a74-8a15-2dd26671c536 UUID of the group you want to fetch events for |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
{- "venues": [
- {
- "id": "1cddc97d-9b5a-4a74-8a15-2dd26671c536",
- "handle": "example-hotel",
- "name": "Example Hotel",
- "googlePlaceId": "string",
- "venueCoords": {
- "lat": -100,
- "lng": 150
}, - "address": "123 Fake St, Melbourne VIC 3000, Australia",
}
]
}