IP2Location IP Geolocation
IP2Location web service providing a service to do a reverse lookup of an IP address to an ISO3166 country code, region or state, city, latitude and longitude,…
Maps & location#openapi#location
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
IP2Location web service providing a service to do a reverse lookup of an IP address to an ISO3166 country code, region or state, city, latitude and longitude, ZIP/Postal code, time zone, Internet Service Provider (ISP) or company name, domain name, net speed, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC) and carrier brand, elevation, usage type, address type and IAB category. There are also 7 categories of additional add-on response fields supported such as metro, olson time zone, translations and more. Refer to https://www.ip2location.com/web-service/ip2location for further information.
Endpoints 1
- GETGET /
/?package=WS1&addon=continent,country&ip=8.8.8.8&format=json&lang=ar&key=stringGet geolocation information via IP address
API details
- Base URL
https://api.ip2location.com/v2- Authentication
- None declared in the description
- Operations
- 1 operation on 1 pathGET 1
- Response formats
application/json; charset=utf-8- Description format
- OpenAPI 3.0.1, API version
1.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the IP2Location IP Geolocation in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the IP2Location IP Geolocation collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “GET /” (GET /?package=WS1&addon=continent,country&ip=8.8.8.8&format=json&lang=ar&key=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the IP2Location IP Geolocation?
IP2Location web service providing a service to do a reverse lookup of an IP address to an ISO3166 country code, region or state, city, latitude and longitude,… It is listed under Maps & location and has 1 endpoint.
Who publishes the IP2Location IP Geolocation?
It is listed from IP2Location's public API description (an OpenAPI document), not published by IP2Location on Swastik Codes. Anyone who controls ip2location.com can claim the profile by adding a DNS TXT record.
What is the base URL of the IP2Location IP Geolocation?
Requests go to https://api.ip2location.com/v2. Endpoint paths are added to this base URL.
How do I authenticate with the IP2Location IP Geolocation?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the IP2Location IP Geolocation have?
1 operation on 1 path (1 GET).
Is forking the IP2Location IP Geolocation free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.