GET /v1/geo/city/{id}
Get city details by GeoNames ID.
Authorization
ApiKeyAuth X-API-Key<token>
In: header
Path Parameters
id*integer
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/geo/city/0"{ "success": true, "data": { "city": { "id": 1275339, "name": "Mumbai", "asciiName": "Mumbai", "state": "Maharashtra", "countryCode": "IN", "lat": 19.07283, "lng": 72.88261, "timezone": "Asia/Kolkata", "population": 12691836 } }}