Search K
Appearance
Gets a list with tickets for a specific event. Filters can optionally be applied
Number of items per page
50
Current page
1
ticket_validfrom (yyyy-mm-dd)
ticket_validuntil (yyyy-mm-dd)
face_value for end-customer
available stock
venue_id
event_id
Enum: eticket, appticket, paper-ticket, collection-stadium, other
Enum: available, disabled, error, returned
city
supplier type
supplier id
organiser id
category id
sub category such as sun_regular or weekend_youth
Enum: grandstand, generaladmission, busparking, carparking, camping, transfer, hospitality, extras
Enum: marketplace, external, xs2event
is relisted ticket
show deleted tickets
Enum: singleday, twoday, other, weekend, fourday
Enum: high, low, middle, none
high
curl -X GET \
'https://api.xs2event.com/v1/tickets?vat_category=high' \
-H "Content-Type: application/json"
fetch('https://api.xs2event.com/v1/tickets?vat_category=high', {headers:{'Content-Type':'application/json'}})
.then(response => response.json())
.then(data => console.log(data));
<?php
$url = 'https://api.xs2event.com/v1/tickets';
$method = 'GET';
$headers = [
'Content-Type' => 'application/json',
];
$query = http_build_query([
'vat_category' => 'high',
]);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url . '?' . $query);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = 'https://api.xs2event.com/v1/tickets'
params = {
'vat_category': 'high'
}
headers = {
'Content-Type': 'application/json'
}
response = requests.get(url, params=params, headers=headers)
print(response.json())