IP and Network Intelligence API

Bulk IP Threat Intelligence

the same risk signals as IP Threat Intelligence, for up to 100 addresses in a single billable call.

Request Example
<?php $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => "https://app.way2api.com/api/v1/ip/threat/bulk", CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json" ], CURLOPT_POSTFIELDS => json_encode([ "ip_addresses" => ["8.8.8.8", "1.1.1.1", "not-an-ip"] ]) ]); $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/threat/bulk", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ "ip_addresses": ["8.8.8.8", "1.1.1.1", "not-an-ip"] }) }); 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/threat/bulk \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"ip_addresses":["8.8.8.8","1.1.1.1","not-an-ip"]}'
$.ajax({ url: "https://app.way2api.com/api/v1/ip/threat/bulk", type: "POST", contentType: "application/json", headers: { "Authorization": "Bearer YOUR_API_KEY" }, data: JSON.stringify({ "ip_addresses": ["8.8.8.8", "1.1.1.1", "not-an-ip"] }), 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/threat/bulk", {"ip_addresses":["8.8.8.8","1.1.1.1","not-an-ip"]}, { headers: { "Authorization": "Bearer YOUR_API_KEY" } } ); console.log(data);
import requests response = requests.post( "https://app.way2api.com/api/v1/ip/threat/bulk", headers={ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, json={ "ip_addresses": ["8.8.8.8", "1.1.1.1", "not-an-ip"] } ) print(response.status_code) print(response.json())
Response Example
200 OK Success Response
{
    "success": true,
    "message": "",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "total_requested": 3,
            "total_returned": 3,
            "results": [
                {
                    "ip_address": "8.8.8.8",
                    "status": "ok",
                    "message": "",
                    "security": {
                        "threat_score": 5,
                        "is_anonymous": false,
                        "is_tor": false,
                        "is_proxy": false,
                        "is_residential_proxy": false,
                        "proxy_providers": [],
                        "proxy_confidence": 0,
                        "proxy_last_seen": "",
                        "is_vpn": false,
                        "vpn_providers": [],
                        "vpn_confidence": 0,
                        "vpn_last_seen": "",
                        "is_relay": false,
                        "relay_provider": "",
                        "is_known_attacker": false,
                        "is_bot": false,
                        "is_spam": false,
                        "is_cloud_provider": true,
                        "cloud_provider": "Google LLC"
                    }
                },
                {
                    "ip_address": "1.1.1.1",
                    "status": "ok",
                    "message": "",
                    "security": {
                        "threat_score": 5,
                        "is_anonymous": false,
                        "is_tor": false,
                        "is_proxy": false,
                        "is_residential_proxy": false,
                        "proxy_providers": [],
                        "proxy_confidence": 0,
                        "proxy_last_seen": "",
                        "is_vpn": false,
                        "vpn_providers": [],
                        "vpn_confidence": 0,
                        "vpn_last_seen": "",
                        "is_relay": false,
                        "relay_provider": "",
                        "is_known_attacker": false,
                        "is_bot": false,
                        "is_spam": false,
                        "is_cloud_provider": true,
                        "cloud_provider": "Cloudflare, Inc."
                    }
                },
                {
                    "ip_address": "not-an-ip",
                    "status": "error",
                    "message": "Provided IP address 'not-an-ip' is not valid",
                    "security": {
                        "threat_score": 0,
                        "is_anonymous": false,
                        "is_tor": false,
                        "is_proxy": false,
                        "is_residential_proxy": false,
                        "proxy_providers": [],
                        "proxy_confidence": 0,
                        "proxy_last_seen": "",
                        "is_vpn": false,
                        "vpn_providers": [],
                        "vpn_confidence": 0,
                        "vpn_last_seen": "",
                        "is_relay": false,
                        "relay_provider": "",
                        "is_known_attacker": false,
                        "is_bot": false,
                        "is_spam": false,
                        "is_cloud_provider": false,
                        "cloud_provider": ""
                    }
                }
            ]
        }
    }
}
4xx Error Response
{
    "success": false,
    "message": "Please provide data in required format in request body",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "error_code": "Invalid request body Exception"
    }
}
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