Skip to content
← Home

Open data

The complete register of Bulgaria's public sports facilities — free to download and free to use through a documented API. No fee, no approval, and no registration to read.

Published under ODbL 1.0. Any public use requires the attribution: “© OpenStreetMap contributors + POPS community”. Full licence terms

API

Documented and versioned. The addresses under /api/opendata/v1 do not change without a new version — unlike the feeds that serve our own map.

Base address: https://pops.bg/api/opendata/v1

Without a key

The API answers without a key. The data is public — requiring registration to read public data would be a contradiction.

With a key

A key raises the limit and nothing else. It is sent in the Authorization header only; a key in the query string ends up in every log along the way, so it is not accepted as a parameter.

Get a free key

Soft limits

30 requests per minute without a key, 300 with one. Every response carries RateLimit headers so you can slow down before being refused. Going over returns 429 and points at the bulk dumps — never a ban, and never a revoked key.

The nightly dumps are not rate limited at all.

Parameters

  • format — one of the dataset's formats; defaults to the first.
  • limit — maximum rows. Without it the whole dataset is returned, up to a safety cap.

Example

curl -H "Authorization: Bearer skbg_…" \
  "https://pops.bg/api/opendata/v1/facilities?format=csv"

Datasets

Facilities

The complete public register: one point per facility, with sports, surface, lighting, access, provenance and the latest reported condition. It contains exactly what a visitor sees on the map — not one row more.

https://pops.bg/api/opendata/v1/facilities

Formats: geojson, csv

FieldTypeDescription
slugstringStable public identifier; the same one that appears in the facility page's address.
namestringFacility name, where it has one.
sportsenum_listSports, separated by semicolons.
surfaceenumPlaying surface.
lightingbooleanLighting: true, false, or empty when unknown.
coveredbooleanCovered facility.
accessenumAccess: free, paid, restricted or school.
statusenumRecord status: active, or awaiting verification.
sourceenumProvenance of the record: OSM, municipal or crowd.
municipalitystringMunicipality.
municipality_ekattestringThe municipality's EKATTE code.
quarterstringQuarter or district.
conditionenumLatest condition reported by the public.
condition_reported_attimestampWhen the condition was reported.
longitudecoordinateLongitude (EPSG:4326).
latitudecoordinateLatitude (EPSG:4326).
updated_attimestampWhen the record last changed.

National statistics

Country-wide totals. The same query that feeds /statistika, so a figure in the downloaded file and the same figure on the site cannot drift apart.

https://pops.bg/api/opendata/v1/stats-national

Formats: json, csv

FieldTypeDescription
totalintegerFacilities in total.
activeintegerFacilities with a confirmed record.
needs_verificationintegerFacilities awaiting verification.
freeintegerFacilities with free access.
paidintegerFacilities with paid access.
restrictedintegerFacilities with restricted access.
schoolintegerFacilities attached to a school.
lit_trueintegerFacilities with lighting.
lit_knownintegerFacilities whose lighting is known.
lit_unknownintegerFacilities whose lighting is unknown.
municipalities_coveredintegerMunicipalities with at least one facility.
sports_countintegerDistinct sports in the register.
generated_attimestampWhen the figures were last recomputed.

Municipality statistics

Coverage per municipality, including per 10 000 residents. Municipalities with no official population figure are left empty — not zero, and not estimated.

https://pops.bg/api/opendata/v1/stats-municipalities

Formats: json, csv

FieldTypeDescription
ekatte_codestringEKATTE code.
name_bgstringMunicipality name in Bulgarian.
name_enstringMunicipality name in English.
totalintegerFacilities in total.
activeintegerFacilities with a confirmed record.
needs_verificationintegerFacilities awaiting verification.
freeintegerFacilities with free access.
lit_trueintegerFacilities with lighting.
lit_knownintegerFacilities whose lighting is known.
populationintegerOfficial population of the municipality; empty where there is no such figure.
per_10knumberFacilities per 10 000 residents; empty where there is no population figure.

Sport statistics

Facility count per sport. A multi-sport facility counts once for each of its sports.

https://pops.bg/api/opendata/v1/stats-sports

Formats: json, csv

FieldTypeDescription
sportenumSport.
totalintegerFacilities in total.

Nightly dumps

Every night the whole register is written out again under a version — the civil date in Sofia. Old versions stay put, so a figure cited from a particular version can still be checked later.

The last 30 versions are kept. If you need a version indefinitely, keep your own copy — the checksum proves it is ours.

Latest version: 2026-11-25

Index of every version (JSON)

© OpenStreetMap contributors + POPS community