single
Returns the current city.
Returns the current city.
get/city
Request
- Base URLhttps://ipinfo.io
- Auth
- HTTP basic
- or HTTP bearer
- or API key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The city name of the IP address.
Changes
No recorded changes to this operation across all 1 revision of this API.