Zum Inhalt springen
API-ReferenzLese-API

Locations

Venues: address, coordinates, accessibility, opening hours.

Get locations as GeoJSON

GET
/v1/locations/geojson

All published locations with coordinates as a plain GeoJSON FeatureCollection (application/geo+json). eventCount counts the dates inside your scope that are not cancelled.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Query Parameters

lang?string
Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
regionId?string
Formatuuid
regionType?string
Value in"country""state""county""municipality""city""district""neighborhood"
regionIds?string

Comma-separated region UUIDs (browse filter parity).

region?string

Region name (exact match) — resolves to region(s).

Length1 <= length
near?string

latitude,longitude — within radius km.

radius?number
Range0 < value <= 500
search?string

Full-text search (name + address).

Length1 <= length
limit?integer
Range1 <= value <= 5000
Default500
timeRange?string
Value in"all""past30""past90""past365""future30""future90""future365"
startDate?string
Match^\d{4}-\d{2}-\d{2}
endDate?string
Match^\d{4}-\d{2}-\d{2}

Response Body

Successful response

application/geo+json
  1. response
type*"FeatureCollection"
Value in"FeatureCollection"
features*array<>
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/locations/geojson'
Example Response
{  "type": "FeatureCollection",  "features": [    {      "type": "Feature",      "id": "string",      "properties": {        "property1": null,        "property2": null      },      "geometry": {        "property1": null,        "property2": null      }    }  ]}

Get event series locations as GeoJSON

GET
/v1/locations/geojson/event-series

Locations with dates inside your scope as a plain GeoJSON FeatureCollection (application/geo+json), with date and event series counts. Cancelled dates are not counted.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Query Parameters

lang?string
Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
regionId?string
Formatuuid
regionType?string
Value in"country""state""county""municipality""city""district""neighborhood"
timeRange?string
Default"all"
Value in"all""past30""past90""past365""future30""future90""future365"
startDate?string
Match^\d{4}-\d{2}-\d{2}
endDate?string
Match^\d{4}-\d{2}-\d{2}
limit?integer
Range1 <= value <= 10000
Default2000

Response Body

Successful response

application/geo+json
  1. response
type*"FeatureCollection"
Value in"FeatureCollection"
features*array<>
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/locations/geojson/event-series'
Example Response
{  "type": "FeatureCollection",  "features": [    {      "type": "Feature",      "id": "string",      "properties": {        "property1": null,        "property2": null      },      "geometry": {        "property1": null,        "property2": null      }    }  ]}

Get locations in a region

GET
/v1/locations/by-region/{regionId}

The venues in a region, ordered by name. pagination.totalItems counts every venue in the region within your area.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Path Parameters

regionId*string
Formatuuid

Query Parameters

lang?string
Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
limit?integer
Range1 <= value <= 200
Default20
page?integer
Range1 <= value
Default1

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/locations/by-region/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "data": [    {      "id": "string",      "name": "string",      "city": "string",      "address": "string",      "slug": "string",      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true,    "totalItems": 0  }}

List locations

GET
/v1/locations

List venues with filtering and pagination.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Query Parameters

limit?number
Range1 <= value <= 100
Default50
page?number
Range1 <= value
Default1
lang?string
Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
search?string

Full-text search (name + address).

Length1 <= length
regionIds?string

Comma-separated region UUIDs — venues inside these regions (any admin level: state/county/municipality/district).

region?string

Region name, whole name, any language, case-insensitive (Wien, Vienna). Every region with that name matches (a city and its state can share one); add regionType to pick one.

Length1 <= length
regionType?string

Narrow the region name match to a region type.

Value in"country""state""county""municipality""city""district""neighborhood"
near?string

latitude,longitude — only venues within radius km of this point.

radius?number

Radius in km for near (default 20).

Range0 < value <= 500
updatedSince?string

Only records changed at or after this instant (compare with updatedAt). Removed records are listed by GET /changes.

Formatdate-time
sort?"ranking"

Sort axis. ranking = most relevant first; your organisation's own ranking of a record wins.

Value in"ranking"
format?string

jsonld = schema.org JSON-LD (application/ld+json), json = the JSON shape (default). Wins over the Accept header; without it, JSON-LD is sent only when Accept prefers application/ld+json over application/json and */*.

Value in"json""jsonld"

Response Body

Successful response

  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/locations'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "string",      "name": "string",      "subtitle": "string",      "description": "string",      "address": "string",      "city": "string",      "country": "string",      "images": [],      "matchScore": 0,      "qualityScore": 0,      "website": "string",      "capacity": 0,      "isWheelchairAccessible": true,      "wheelchairStatus": "yes",      "seatingType": "fixed",      "priceCategory": "free",      "weatherSuitability": "indoor",      "latitude": 0,      "longitude": 0,      "openingTimes": null,      "openingPeriods": [],      "openingExceptions": [],      "businessStatus": null,      "lang": "string",      "updatedAt": "string",      "scores": {        "experience": {},        "audience": {},        "expertise": {},        "environment": {},        "accessibility": {          "wheelchair": 0,          "hearing": 0,          "visual": 0,          "cognitive": 0,          "mobility": 0        },        "inclusivity": {          "lgbtq": 0,          "cultural": 0,          "economic": 0,          "age": 0,          "language": 0        },        "mood": {},        "activity": {},        "audio": {}      }    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Get location by ID or slug

GET
/v1/locations/{id}

Get a single location by ID (UUID) or slug. A merged record answers 301 with Location set to the record it was merged into.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Path Parameters

id*string

Query Parameters

lang?string
Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
easyRead?boolean
format?string

jsonld = schema.org JSON-LD (application/ld+json), json = the JSON shape (default). Wins over the Accept header; without it, JSON-LD is sent only when Accept prefers application/ld+json over application/json and */*.

Value in"json""jsonld"

Response Body

Successful response

  1. response
data*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/locations/string'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "slug": "string",    "name": "string",    "subtitle": "string",    "description": "string",    "address": "string",    "city": "string",    "country": "string",    "images": [],    "matchScore": 0,    "qualityScore": 0,    "website": "string",    "capacity": 0,    "isWheelchairAccessible": true,    "wheelchairStatus": "yes",    "seatingType": "fixed",    "priceCategory": "free",    "weatherSuitability": "indoor",    "latitude": 0,    "longitude": 0,    "openingTimes": null,    "openingPeriods": [],    "openingExceptions": [],    "businessStatus": null,    "lang": "string",    "updatedAt": "string",    "scores": {      "experience": {},      "audience": {},      "expertise": {},      "environment": {},      "accessibility": {        "wheelchair": 0,        "hearing": 0,        "visual": 0,        "cognitive": 0,        "mobility": 0      },      "inclusivity": {        "lgbtq": 0,        "cultural": 0,        "economic": 0,        "age": 0,        "language": 0      },      "mood": {},      "activity": {},      "audio": {}    }  }}