webazon/ipapi

IP Geolocation API. Fast, accurate, reliable.

Maintainers

Package info

github.com/katsef/ipapi

pkg:composer/webazon/ipapi

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-03-16 16:29 UTC

This package is auto-updated.

Last update: 2026-03-16 16:36:39 UTC


README

IP Geolocation API. Fast, accurate, reliable. Free for non-commercial use.

Example usage in your code.
use Webazon\Ipapi\Ip;
$ip = new Ip([IP-address]);	## Optional. Leave blank for visitor's IP.

Example return object.

{
    "status": true,
    "ip": "77.91.69.93",
    "sip": "31.222.204.114",
    "locale": "he_IL",
    "locales": [
        {
            "id": 10,
            "locale": "ar_IL",
            "language": "العربية",
            "flag": "🇮🇱"
        },
        {
            "id": 203,
            "locale": "he_IL",
            "language": "עברית",
            "flag": "🇮🇱"
        }
    ],
    "exception": false,
    "ipapi": {
        "status": "success",
        "country": "Israel",
        "countryCode": "IL",
        "region": "TA",
        "regionName": "Tel Aviv",
        "city": "Tel Aviv",
        "zip": "",
        "lat": 32.0804,
        "lon": 34.7807,
        "timezone": "Asia\/Jerusalem",
        "isp": "Webhost LLC",
        "org": "Foton Telecom CJSC",
        "as": "AS206446 CLOUD LEASE Ltd",
        "query": "77.91.69.93"
    }
}