Cities

Cities

Find All

GET /v1/meta/cities

Cities are used to narrow down the targeting of your offers, smartlinks, custom settings, etc.

Cities always include both the country information (country_id and country_code) as well as the region information (region_id and region_code) so you can map them directly.

cURL
curl --request GET 'https://api.eflow.team/v1/meta/cities' \
--header 'X-Eflow-API-Key: <INSERT API KEY>'
Response
{
    "cities": [
        {
            "city_id": 4,
            "city_name": "Abbotsford",
            "region_id": 1080,
            "region_code": "BC",
            "country_id": 36,
            "country_code": "CA"
        },
        ...,
        {
            "city_id": 1354,
            "city_name": "Pittsboro",
            "region_id": 1522,
            "region_code": "NC",
            "country_id": 227,
            "country_code": "US"
        }
    ]
}