Ipgeolocation Portfolio
ipgeolocation provides four APIs:
- IP Geolocation API
IP Geolocation API provides location information for any IPv4/IPv6 address or domain name.
- Timezone API
Timezone API provides date, time and timezone information from timezone name, IP address or location coordinates (latitude and longitude).
- User-Agent API
User-Agent API provides the accurate browser, device, and operating system details from device user agent string.
- Astronomy API
The Astronomy API provides sun rise time, sun set time, moon rise time and moon set time including current position, angle, and distance of the Sun and the Moon for a given date.
This documentation provides complete details of features and available options in the above APIs. For information related to our IP Geolocation API Database, please contact our support.
IP Geolocation API Typescript SDK
In this document, you will go through the basic steps to use IP Geolocation/GeoIP API Typescript SDK.
You need a valid 'ipgeolocation API key' to use this SDK. Sign up here and get your free API key if you don’t have one.
| start_ip | end_ip | country_id | country_name |
|---|---|---|---|
| 103.27.203.129 | 103.27.203.255 | 154 | Pakistan |
| 104.28.0.1 | 104.28.0.8 | 241 | United States |
| 104.28.0.115 | 104.28.0.126 | 241 | Canada |
| 104.28.0.129 | 104.28.0.130 | 241 | TRUE |
| 104.28.0.13 | 104.28.0.20 | 241 | TRUE |
| 104.28.0.133 | 104.28.0.160 | 241 | TRUE |
| 104.28.0.23 | 104.28.0.30 | 241 | TRUE |
MMDB filesize
Entries
fields
last updated
Reference to IPGeolocation API Response
| Field | Type | Description | Can be empty? |
|---|---|---|---|
| domain | string | Domain name that is used to lookup geolocation information. It is not returned if an IP address is used to query IP Geolocation API. | Yes |
| ip | string | IP address that is used to lookup geolocation information. | No |
| hostname | string | Hostname of the IP address used to query IP Geolocation API. | No |
| continent_code | string | 2-letter code of the continent. | No |
| continent_name | string | Name of the continent. | No |

