toolzerhub API Docs

List covered cities

Returns every city 2GIS covers with the slug /v1/2gis/search → takes, its internal region id, country code and the locales it accepts. Takes no parameters.

1 credit / requestBilled only on success
GET
/v1/2gis/cities

Authorization

ApiKeyAuth
x-api-key<token>

In: header

curl -X GET "https://example.com/v1/2gis/cities" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "results": [      {        "city": "moscow",        "region_id": "32",        "name": "Москва",        "country_code": "ru",        "locale": "ru_RU",        "locales": [          "ru_RU"        ],        "time_zone": "Europe/Moscow",        "aliases": [          "nur_sultan"        ]      }    ],    "count": 206,    "usage_note": "city is what /v1/2gis/search takes. locales is the set that city accepts — asking for one outside it is rejected by 2GIS, so this is not a translation layer."  }}