European Regions API
Fast in-memory API for European NUTS regions and LAU cities. Blazing fast queries with full Greek text search support.
curl https://gaia20.atha.gr/api/v1/datasets/nuts/regions?level=3
curl "https://gaia20.atha.gr/api/v1/datasets/nuts/regions?level=4&search=Αθήνα"
curl https://gaia20.atha.gr/api/v1/datasets/nuts/regions/EL301
curl https://gaia20.atha.gr/api/v1/datasets/nuts/regions/EL301/children
/health/metrics/api/v1/datasets/api/v1/datasets/nuts/regionslevel (0-4), search, limit, offset
/api/v1/datasets/nuts/regions/{code}/api/v1/datasets/nuts/regions/{code}/children{
"data": [
{
"code": "EL301",
"label": "Βόρειος Τομέας Αθηνών",
"level": 3,
"parent_code": "EL30",
"population": 650000,
"full_path": "Ελλάδα > Αττική > Βόρειος Τομέας Αθηνών",
"matched_lau_cities": ["Μαρούσι", "Κηφισιά"]
}
],
"meta": {
"total": 7,
"limit": 100,
"offset": 0,
"search_ms": 2.3
}
}
Environment variables:
GAIA20_HOST=0.0.0.0 # Server host
GAIA20_PORT=8080 # Server port
GAIA20_LOG_LEVEL=info # Log level (debug|info|warn|error)
GAIA20_LOG_FORMAT=json # Log format (json|text)
GAIA20_NUTS_DATA_PATH=./data/nuts/regions.tsv # Data file path
GAIA20_METRICS_ENABLED=true # Enable Prometheus metrics