IP Geo Location

FREEMIUM
Verified
Par Geo API | Mise à jour il y a un an | Location
Popularité

9.9 / 10

Latence

67ms

Niveau de service

100%

Présentation de IP Geo Location

Abonnés : 46
Ressources :
Site Web du produit Conditions d'utilisation
Créateur d'API :
avatar
Geo API
natkapral
Évaluer l'API :
Connectez-vous pour évaluer l'API

LISEZ-MOI

IP geo location API gives the detailed information about IP location of your visitors. Data includes information about country, city, latitude and longitude, timezone, asn, currency and some security data.
API supports IPv4 and IPv6 IP addresses.
Response formats: json and xml.
Supported languages:

  • en: English
  • ru: Russian
  • zh: Chinese
  • es: Spanish
  • ar: Arabic
  • fr: French
  • fa: Persian
  • ja,: Japanese
  • pl: Polish
  • it: Italian
  • pt: Portuguese
  • de: German

We update our API on the weekly basis. If you would like to be notified of any major api updates, please let us know.

If you would like to have a better latency please subscribe and use this api directly from us. The list of plans is available on https://getgeoapi.com/plans/

IP Lookup returns geo location data of any provided IPv4 or IPv6 address.

Endpoint:


GET:  /ip/{ip}

Parameters:

  • {ip} : IPv4 or IPv6 address
  • {format} : Json or xml. The default format is json
  • {language} : the language of the returned data. Options are: en,ru,zh,es,ar,fr,fa,ja,pl,it,pt,de
  • {filter}: Filters the response to return only the required data. Options: asn, city, country, continent, area, currency, security, time, postcode. Can be comma separated.

Example request


GET:  /ip/37.140.128.10?filter=country,time

Example response:

{
    "status": "success",
    "ip":"37.140.128.10",
    "type":"IPv4",
    "city":{
        "name":"Moscow",
        "population":10381222,
        "geonameid":524901
    },
    "area":{
        "code":"MOW",
        "name":"Moscow"
    },
    "country":{
        "code":"RU",
        "name":"Russia",
        "phone_code":"7",
        "area_size":"17100000.00 sq. km",
        "flag":{
                "emoji":"🇷🇺",
                "file":"http://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_Russia.svg",
                "unicode":"U+1F1F7 U+1F1FA"
        }
        "capital":"Moscow",
        "population":140702000,
        "is_in_eu":false,
        "geonameid":2017370
    },
    "time":{
        "timezone":"Europe/Moscow",
        "time":"2019-01-24 15:17:07 +0300",
        "gtm_offset":10800
    },
    "asn":{
        "organisation":"YANDEX LLC",
        "number":13238
    },
    "currency":{
        "code":"RUB",
        "name":"Russian Ruble"
    },
    "location":{
        "latitude":55.7522,
        "longitude":37.6156
    },
    "security":{
        "is_tor":false,
        "is_proxy":false,
        "is_thread":false,
        "is_crawler":false
    },
    "continent":{
        "code":"EU",
        "name":"Europe",
        "geonameid":6255148
    },
    "postcode":"102087"
}

Errors

In case the request fails or the resource is not available the error will be returned in JSON or XML format.

Error response:

{
    "status":"failed",
    "error":{
        "message":"Invalid key.",
        "code":"403"
    }
}

Error Codes:

  • 400 : Bad request.
  • 403 : Authentication failed
  • 404 : Resource is not found or requested format is incorrect
  • 405 : Method is not allowed.
  • 500 : Server error. We hope you will never see this error.
Note : 2.3 - Votes : 4