Locate and identify website visitors

Free IP Geolocation API and IP Location Lookup Service

We provide a REST API to find the location of an IP address.

Specifically, you can get the following information for any IP address:

country code, country name, region code, region name, city, zip code, timezone, latitude, longitude, ASN number, ASN organization

The API can also help you to find the public IP address of a device.

The API can be integrated in your application either on the server side or on the client side.

We support only json format currently. But we will support other formats soon.

Both IPv4 & IPv6 type addresses are supported.

This service is totally free. You can use for any purposes without the limitation.
The entire database is updating every 1 week.

If too many requests are made your rate will be limited. This is to avoid DDoS attacks or loss of resources. (Current: 100 req / min, IP based)

API Usage

GET https://api.cryental.dev/geolocation/

ip (Optional): Query for a specific IP

  "result": true,
  "database": {
    "ip": "",
    "country_code": "US",
    "country_name": "United States",
    "region_code": "CA",
    "region_name": "California",
    "city": "Whittier",
    "zip_code": "90606",
    "time_zone": "America/Los_Angeles",
    "latitude": 33.9794,
    "longitude": -118.0609,
    "autonomous_number": 5650,
    "autonomous_organization": "FRONTIER-FRTR"

New version will be updated soon:

  "ip": "",
  "hostname": "",
  "type": "ipv4",
  "continent": {
    "name": "North America",
    "code": "NA",
    "geoname_id": 6255149
  "city": {
    "name": "Whittier",
    "geoname_id": 5409059
  "region": {
    "name": "California",
    "code": "CA",
    "geoname_id": 5332921
  "country": {
    "name": "United States",
    "native_name": "United States of America",
    "code": "US",
    "geoname_id": 6252001,
    "capital": "Washington D.C.",
    "population": 310232863,
    "language": {
      "eng": "English"
    "calling_code": "+1",
    "is_eu": false,
    "country_flag": {
      "svg": "https://cdn.cryental.dev/country-flags/svg/us.svg",
      "png100px": "https://cdn.cryental.dev/country-flags/png100px/us.png",
      "png250px": "https://cdn.cryental.dev/country-flags/png250px/us.png",
      "png1000px": "https://cdn.cryental.dev/country-flags/png1000px/us.png"
    "country_flag_emoji": "🇺🇸",
    "country_flag_emoji_unicode": "U+1F1FA U+1F1F8",
    "weather_code": "USCA1239"
  "postal_code": "90602",
  "location": {
    "latitude": 33.965,
    "longitude": -118.035
  "timezone": {
    "id": "America/Los_Angeles",
    "current_time": "2021-04-29 06:43:23",
    "gmt_offset": -25200,
    "offset": -7,
    "is_dst": true
  "currency": {
    "code": "USD",
    "name": "US Dollar",
    "symbol": "$"
  "asn": {
    "asn": "AS5650",
    "name": "Frontier Communications of America, Inc.",
    "isp": "Frontier Communications Solutions"
  "connection_type": "Cable/DSL",
  "is_proxy": false