Endpoint Playground
Returns city counts per country for the Numbeo cities dataset; `facet` is required and accepts only `country`. Narrow the counts with `q`, `country` and index thresholds such as `min_cost_of_living_index`, `min_safety_index` or `max_pollution_index`. Items are value and count pairs. Dataset Playground requests query indexed data and do not apply proxy routing.
14 Oct 2026: 50 items; 2 fields had a value in every checked item.
Sample value profiles: count: 4 to 212, median 8.
curl "https://api.crawlora.net/api/v1/datasets/numbeo-cities/facets?facet=country" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| facet | string | Yes | country | Facet enum: country |
| q | string | No | Full-text query over the city name, max 256 characters | |
| country | string | No | Exact country filter, max 128 characters | |
| min_cost_of_living_index | number | No | Minimum Cost of Living Index (New York = 100) | |
| max_cost_of_living_index | number | No | Maximum Cost of Living Index (New York = 100) | |
| min_quality_of_life_index | number | No | Minimum Quality of Life Index | |
| min_crime_index | number | No | Minimum Crime Index | |
| max_crime_index | number | No | Maximum Crime Index | |
| min_safety_index | number | No | Minimum Safety Index | |
| min_health_care_index | number | No | Minimum Health Care Index | |
| max_pollution_index | number | No | Maximum Pollution Index | |
| max_traffic_index | number | No | Maximum Traffic Index |
{
"code": 200,
"msg": "OK",
"data": {
"dataset": "numbeo-cities",
"facet": "country",
"items": [
{
"value": "United States",
"count": 180
},
{
"value": "Germany",
"count": 42
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.