single
Returns the current region.
Returns the current region. If the region is not available, it will return an empty string.
get/region
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 name of the region or state of the IP address.
Changes
No recorded changes to this operation across all 1 revision of this API.