# Socio-demo API API

> Socio-demo API API on Apizie: 3 endpoints (Presence in a location aggregated by age, Presence in a location aggregated by gender, Information about versions of application and data.) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/communication:o2-cz-sociodemo/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `communication:o2-cz-sociodemo`
- Category: Communication
- Status: live
- Source: https://o2.cz
- Page: https://zieapi.vercel.app/api/communication/o2-cz-sociodemo
- OpenAPI: https://zieapi.vercel.app/api/communication/o2-cz-sociodemo/openapi.json

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…

## Endpoints

### Presence in a location aggregated by age
`GET https://zieapi.vercel.app/v1/communication:o2-cz-sociodemo/age`

| Parameter | Type | Required | Description |
|---|---|---|---|
| location | string | yes | basic residential unit |
| ageGroup | string | yes | age-group specification (1: 8-18, 2: 19-25, 3: 26-35, 4: 36-55, 5: 56+) |
| occurenceType | string | yes | occurence type in the basic residential unit (1 - transit, 2 - visit) |
| hour | string | yes | time interval for the count aggregation (from 0 to 23) |

### Presence in a location aggregated by gender
`GET https://zieapi.vercel.app/v1/communication:o2-cz-sociodemo/gender`

| Parameter | Type | Required | Description |
|---|---|---|---|
| location | string | yes | basic residential unit |
| g | string | yes | gender specification (1 - male, 2 - female) |
| occurenceType | string | yes | occurence type in the basic residential unit (1 - transit, 2 - visit) |
| hour | string | yes | time interval for the count aggregation (from 0 to 23) |

### Information about versions of application and data.
`GET https://zieapi.vercel.app/v1/communication:o2-cz-sociodemo/get-info`

## Example
```
curl "https://zieapi.vercel.app/v1/communication:o2-cz-sociodemo/age" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Socio-demo API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/communication:o2-cz-sociodemo/age with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Socio-demo API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Socio-demo API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key communication:o2-cz-sociodemo.

### What is the status of the Socio-demo API API?
Live: works with just an Apizie key
