Skip to Content

Regions

Administrative areas (country to neighbourhood) used to filter by place. Reference data: answers may be kept for a day.

List regions

GET
/v1/regions

The complete list (no paging) of the regions of one type, or the children of parentId, or without either the countries; only regions in your area. Ordered by name. Each region includes its public images.

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Query Parameters

type?string

Only regions of this type.

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

Only the direct children of this region (when no type).

Formatuuid
externalIds?string

Comma-separated external IDs (GKZ/NUTS/LAU) — resolve a curated set of regions to canonical rows (exact match). Answers without images.

lang?string

Language of name (requested, then German, English, any; default de). With externalIds, name is the official name unless lang is sent.

Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
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/regions'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "string",      "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",      "externalId": "string",      "areaKm2": 0,      "population": 0,      "source": "string",      "validFrom": "string",      "validTo": "string",      "translations": {        "property1": {          "name": "string",          "shortDescription": "string",          "description": "string"        },        "property2": {          "name": "string",          "shortDescription": "string",          "description": "string"        }      },      "parentName": "string",      "images": [],      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Search regions by name

GET
/v1/regions/search

Search regions by name, optionally limited to region types. With withParent=true each match also names its parent region (e.g. to show "Innere Stadt (Wien)").

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Query Parameters

q*string

Part of the official name, case-insensitive.

Length1 <= length
types?string

Comma-separated region types: country, state, county, municipality, city, district, neighborhood.

limit?integer

Most matches to return (default 10).

Range1 <= value <= 50
withParent?boolean

Also send parentName, the name of the parent region, in a slim answer.

lang?string

Language of name (requested, then German, English, any) and of lang. Without it, name is the region's official name.

Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
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/regions/search?q=string'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "string",      "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",      "externalId": "string",      "areaKm2": 0,      "population": 0,      "source": "string",      "validFrom": "string",      "validTo": "string",      "translations": {        "property1": {          "name": "string",          "shortDescription": "string",          "description": "string"        },        "property2": {          "name": "string",          "shortDescription": "string",          "description": "string"        }      },      "parentName": "string",      "images": [],      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Get region types

GET
/v1/regions/types

Get all available region types

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/regions/types'
Example Response
{  "data": [    "country"  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}
GET
/v1/regions/containing-point

Find all regions containing a geographic point

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Query Parameters

longitude?|
Range-180 <= value <= 180
latitude?|
Range-90 <= value <= 90
types?string

Comma-separated region types: country, state, county, municipality, city, district, neighborhood.

lang?string

Language of name (requested, then German, English, any) and of lang. Without it, name is the region's official name.

Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
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/regions/containing-point'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "string",      "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",      "externalId": "string",      "areaKm2": 0,      "population": 0,      "source": "string",      "validFrom": "string",      "validTo": "string",      "translations": {        "property1": {          "name": "string",          "shortDescription": "string",          "description": "string"        },        "property2": {          "name": "string",          "shortDescription": "string",          "description": "string"        }      },      "parentName": "string",      "images": [],      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Get regions as GeoJSON

GET
/v1/regions/geojson

Get regions as GeoJSON FeatureCollection for map display

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Query Parameters

types?string

Comma-separated region types: country, state, county, municipality, city, district, neighborhood.

parentId?string

Only the direct children of this region.

Formatuuid
hasChildType?string

Only regions that have children of this type.

Value in"country""state""county""municipality""city""district""neighborhood"
limit?number

Most regions to return, by name (default 1000).

Range1 <= value <= 5000
Default1000

Response Body

Successful response

application/geo+json
  1. response
type*string
features*array<>
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/regions/geojson'
Example Response
{  "type": "string",  "features": [    {      "type": "Feature",      "id": "string",      "properties": {        "id": "string",        "name": "string",        "type": "string",        "parentId": "string",        "externalId": "string",        "areaKm2": 0,        "population": 0      },      "geometry": {        "property1": null,        "property2": null      }    }  ]}
GET
/v1/regions/compare

Side-by-side LeisureIndex comparison for 2-4 regions with deltas from average

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Query Parameters

ids*string

Comma-separated region UUIDs (2-4)

timeRange?string
Value in"all""past30""past90""past365""future30""future90""future365"

Response Body

Successful response

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/regions/compare?ids=string'
Example Response
{  "data": {    "regions": [      {        "regionId": "string",        "regionName": "string",        "regionType": "string",        "overall": 0,        "density": 0,        "diversity": 0,        "quality": 0,        "densityBreakdown": {          "event": 0,          "venue": 0        },        "diversityBreakdown": {          "richness": 0,          "evenness": 0,          "shannonH": 0,          "genreCount": 0        },        "qualityBreakdown": {          "content": 0,          "accessibility": 0,          "inclusivity": 0,          "accessibilityBreakdown": {            "wheelchair": 0,            "hearing": 0,            "visual": 0,            "cognitive": 0,            "mobility": 0          },          "inclusivityBreakdown": {            "lgbtq": 0,            "cultural": 0,            "economic": 0,            "age": 0,            "language": 0          }        },        "stats": {          "locationCount": 0,          "showtimeCount": 0,          "genreCount": 0,          "population": 0        },        "deltas": {          "overall": 0,          "density": 0,          "diversity": 0,          "quality": 0        }      }    ],    "averages": {      "overall": 0,      "density": 0,      "diversity": 0,      "quality": 0    }  }}
GET
/v1/regions/{id}/leisure-index

Calculate LeisureIndex scores for a specific region

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Path Parameters

id*string
Formatuuid

Query Parameters

timeRange?string
Value in"all""past30""past90""past365""future30""future90""future365"

Response Body

Successful response

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08/leisure-index'
Example Response
{  "data": {    "overall": 0,    "density": 0,    "diversity": 0,    "quality": 0,    "densityBreakdown": {      "event": 0,      "venue": 0    },    "diversityBreakdown": {      "richness": 0,      "evenness": 0,      "shannonH": 0,      "genreCount": 0    },    "qualityBreakdown": {      "content": 0,      "accessibility": 0,      "inclusivity": 0,      "accessibilityBreakdown": {        "wheelchair": 0,        "hearing": 0,        "visual": 0,        "cognitive": 0,        "mobility": 0      },      "inclusivityBreakdown": {        "lgbtq": 0,        "cultural": 0,        "economic": 0,        "age": 0,        "language": 0      }    },    "gaps": {      "weakest": {        "dimension": "string",        "subDimension": "string",        "score": 0,        "weight": 0,        "potentialGain": 0      },      "gaps": [        {          "dimension": "string",          "subDimension": "string",          "score": 0,          "weight": 0,          "potentialGain": 0        }      ]    },    "stats": {      "locationCount": 0,      "showtimeCount": 0,      "genreCount": 0,      "population": 0,      "areaKm2": 0    }  }}
GET
/v1/regions/{id}/leisure-index/history

The LeisureIndex of a region over time, from daily snapshots.

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Path Parameters

id*string
Formatuuid

Query Parameters

periods?integer
Range1 <= value <= 52
interval?string
Value in"week""month"

Response Body

Successful response

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08/leisure-index/history'
Example Response
{  "data": {    "history": [      {        "period": "string",        "startDate": "string",        "endDate": "string",        "overall": 0,        "density": 0,        "diversity": 0,        "quality": 0,        "showtimeCount": 0      }    ]  }}
GET
/v1/regions/scores

The overall LeisureIndex score and record counts of every region of the given types, e.g. to colour a map.

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Query Parameters

types?string

Comma-separated region types: country, state, county, municipality, city, district, neighborhood.

timeRange?string
Value in"all""past30""past90""past365""future30""future90""future365"

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/regions/scores'
Example Response
{  "data": [    {      "regionId": "string",      "overallScore": 0,      "eventCount": 0,      "locationCount": 0    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Get region by ID

GET
/v1/regions/{id}

One region with its public images. A region outside your area answers 404.

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Path Parameters

id*string
Formatuuid

Query Parameters

lang?string

Language of name (requested, then German, English, any; default de).

Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
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/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "type": "string",    "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",    "externalId": "string",    "areaKm2": 0,    "population": 0,    "source": "string",    "validFrom": "string",    "validTo": "string",    "translations": {      "property1": {        "name": "string",        "shortDescription": "string",        "description": "string"      },      "property2": {        "name": "string",        "shortDescription": "string",        "description": "string"      }    },    "parentName": "string",    "images": [],    "lang": "string"  }}

Get region children

GET
/v1/regions/{id}/children

The direct children of a region (complete list, no paging); only regions in your area.

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Path Parameters

id*string
Formatuuid

Query Parameters

lang?string

Language of name (requested, then German, English, any) and of lang. Without it, name is the region's official name.

Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
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/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08/children'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "string",      "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",      "externalId": "string",      "areaKm2": 0,      "population": 0,      "source": "string",      "validFrom": "string",      "validTo": "string",      "translations": {        "property1": {          "name": "string",          "shortDescription": "string",          "description": "string"        },        "property2": {          "name": "string",          "shortDescription": "string",          "description": "string"        }      },      "parentName": "string",      "images": [],      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Get region ancestors

GET
/v1/regions/{id}/ancestors

The parent chain of a region up to its country (complete list); only regions in your area.

Authorization

ApiKeyAuth
headerX-API-Key<token>

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

Path Parameters

id*string
Formatuuid

Query Parameters

lang?string

Language of name (requested, then German, English, any) and of lang. Without it, name is the region's official name.

Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"
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/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08/ancestors'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "string",      "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",      "externalId": "string",      "areaKm2": 0,      "population": 0,      "source": "string",      "validFrom": "string",      "validTo": "string",      "translations": {        "property1": {          "name": "string",          "shortDescription": "string",          "description": "string"        },        "property2": {          "name": "string",          "shortDescription": "string",          "description": "string"        }      },      "parentName": "string",      "images": [],      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}