APIHub
Back to Explore

Socio-demo API

Socio-demo API can be used to obtain time-aggregated data representing groups of people on the given location in the Czech Republic. Having a location, the API can return count of people belonging to age group or gender aggregated by hours. The socio-demo data is based on presence of mobile stations in O2 mobile network.

Telecom
none
HTTPS
CORS: Unknown
Visit official documentation

Latency

976ms p95

Uptime

0.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/age/{location}

Presence in a location aggregated by age

  • location (path, required) — basic residential unit
  • ageGroup (query, required) — age-group specification (1: 8-18, 2: 19-25, 3: 26-35, 4: 36-55, 5: 56+)
  • occurenceType (query, required) — occurence type in the basic residential unit (1 - transit, 2 - visit)
  • hour (query, required) — time interval for the count aggregation (from 0 to 23)
GET

/gender/{location}

Presence in a location aggregated by gender

  • location (path, required) — basic residential unit
  • g (query, required) — gender specification (1 - male, 2 - female)
  • occurenceType (query, required) — occurence type in the basic residential unit (1 - transit, 2 - visit)
  • hour (query, required) — time interval for the count aggregation (from 0 to 23)
GET

/info

Information about versions of application and data.

3 endpoints auto-detected

curl -X GET \
  "https://developer.o2.cz/sociodemo/sandbox/api/age/{location}"

developer.o2.cz · HTTPS only