Datasets
Facet the Numbeo cities dataset
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.
get/datasets/numbeo-cities/facets
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/datasets/numbeo-cities/facets
- Auth: API key in header x-api-key
Query parameters
facet'country' required
Facet enum: country
qstring
Full-text query over the city name, max 256 characters
countrystring
Exact country filter, max 128 characters
min_cost_of_living_indexnumber
Minimum Cost of Living Index (New York = 100)
max_cost_of_living_indexnumber
Maximum Cost of Living Index (New York = 100)
min_quality_of_life_indexnumber
Minimum Quality of Life Index
min_crime_indexnumber
Minimum Crime Index
max_crime_indexnumber
Maximum Crime Index
min_safety_indexnumber
Minimum Safety Index
min_health_care_indexnumber
Minimum Health Care Index
max_pollution_indexnumber
Maximum Pollution Index
max_traffic_indexnumber
Maximum Traffic Index
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.