API Documentation

IP Address Information

GeoIP: IP Geolocation API Fast, accurate, reliable IP address location service. European Addresses return false in some fields * GDPR privacy policy ip address

GET Current IP Address Information

Current IP Address Information

Return ip address information from current request ip address

GET https://api.happi.dev/v1/geoip/

Parameters

API Key * Text
You can also send your API key using the header x-happi-key.

Get your free API key here

Headers
                                    
JSON Response
                                    

Response Definition

{
    "success": true,
    "info": {
        "ip": string,
        "country": string:ISO:alpha-2,
        "region": string:ISO,
        "city": string,
        "timezone": string:time/zone,
        "eu": boolean,
        "ll": [
            number:latitude,
            number:longitude
        ]
    }
}

Error Response

Check http response code
{
  "success": boolean,
  "error": text
}
GET IP Address Information

IP Address Information

Return ip address information from ip address

GET https://api.happi.dev/v1/geoip/:ip

Parameters

API Key * Text
You can also send your API key using the header x-happi-key.

Get your free API key here

ip string
Headers
                                    
JSON Response
                                    

Response Definition

{
    "success": true,
    "info": {
        "ip": string,
        "country": string:ISO:alpha-2,
        "region": string:ISO,
        "city": string,
        "timezone": string:time/zone,
        "eu": boolean,
        "ll": [
            number:latitude,
            number:longitude
        ]
    }
}

Error Response

Check http response code
{
  "success": boolean,
  "error": text
}
Title Messsage