single
Returns a timezone for the selected IP.
The /timezone API endpoint returns the IANA timezone based on the user's input IP address.
get/{ip}/timezone
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.
Path parameters
ipstring required
A single IPv4 or IPv6 IP address.
Response
Timezone of the located IP address in the format of IANA Time Zones.
Changes
No recorded changes to this operation across all 1 revision of this API.