Network API

IP Check Advance

Deep IP intelligence for any IPv4 or IPv6 address.

Request Example
<?php $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => "https://app.way2api.com/api/v1/ip/check_advance", CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json" ], CURLOPT_POSTFIELDS => json_encode([ "ip_address" => "122.180.149.100" ]) ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); $data = json_decode($response, true); print_r($data);
const response = await fetch("https://app.way2api.com/api/v1/ip/check_advance", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ "ip_address": "122.180.149.100" }) }); if (!response.ok) { throw new Error(`HTTP error: ${response.status}`); } const data = await response.json(); console.log(data);
curl -X POST https://app.way2api.com/api/v1/ip/check_advance \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{\"ip_address\":\"122.180.149.100\"}'
$.ajax({ url: "https://app.way2api.com/api/v1/ip/check_advance", type: "POST", contentType: "application/json", headers: { "Authorization": "Bearer YOUR_API_KEY" }, data: JSON.stringify({ "ip_address": "122.180.149.100" }), success: function(data) { console.log(data); }, error: function(xhr) { console.error(xhr.responseJSON); } });
const { data } = await axios.post( "https://app.way2api.com/api/v1/ip/check_advance", {"ip_address":"122.180.149.100"}, { headers: { "Authorization": "Bearer YOUR_API_KEY" } } ); console.log(data);
import requests response = requests.post( "https://app.way2api.com/api/v1/ip/check_advance", headers={ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, json={ "ip_address": "122.180.149.100" } ) print(response.status_code) print(response.json())
Response Example
200 OK Success Response
{
    "success": true,
    "message": "",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "city": {
                "confidence": 30,
                "geoname_id": 1261481,
                "names": {
                    "en": "New Delhi"
                }
            },
            "continent": {
                "code": "AS",
                "geoname_id": 6255147,
                "names": {
                    "en": "Asia"
                }
            },
            "country": {
                "confidence": 99,
                "iso_code": "IN",
                "geoname_id": 1269750,
                "names": {
                    "en": "India"
                }
            },
            "location": {
                "accuracy_radius": 20,
                "latitude": 28.6327,
                "longitude": 77.2198,
                "time_zone": "Asia/Kolkata"
            },
            "postal": {
                "confidence": 1,
                "code": "110002"
            },
            "registered_country": {
                "iso_code": "IN",
                "geoname_id": 1269750,
                "names": {
                    "en": "India"
                }
            },
            "subdivisions": [
                {
                    "confidence": 30,
                    "iso_code": "DL",
                    "geoname_id": 1273293,
                    "names": {
                        "en": "National Capital Territory of Delhi"
                    }
                }
            ],
            "traits": {
                "static_ip_score": 5,
                "user_count": 2,
                "user_type": "residential",
                "autonomous_system_number": 24560,
                "autonomous_system_organization": "Bharti Airtel Ltd., Telemedia Services",
                "connection_type": "Cable/DSL",
                "domain": "airtel.in",
                "isp": "Airtel",
                "organization": "Airtel",
                "ip_address": "122.180.149.100",
                "network": "122.180.149.100/32"
            }
        }
    }
}
4xx Error Response
{
    "success": false,
    "message": "The address 203.0.113.1 is not in our database.",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "error_code": "IP_ADDRESS_NOT_FOUND"
    }
}
Common Response Codes
Code Meaning
200 OK — Request successful
400 Bad Request — Missing or invalid parameters
401 Unauthorized — Invalid or missing API key
429 Too Many Requests — Rate limit exceeded
500 Server Error — Try again later
Ready to integrate?

Start with free trial API calls. No credit card required.

Get API Key — Free Browse All APIs
Way2API Way2API
Contact Way2API

Login