Map Background

API Documentation

Introduction

VPNAPI.io collects data all across the web, where our algorithm detects proxies, VPN, and Tor nodes. This gives developers and businesses a peace of mind when it comes to detecting and blocking IP addresses associated with proxies, VPNs, and Tor nodes. So far, we have worked with developers all around the world, where they use our API to enforce geo-blocking, prevent shopping or click fraud, reduce fake accounts and spam, prevent bots and malware, and more!

Documentation

To use our API, you must follow the URL structure that is provided below, providing your API key at the end of the key parameter.

https://vpnapi.io/api/8.8.8.8?key=F9J3K1V02MFO1C93KA7B

After that, you should get an output similar to this:

Parameters

IP - Displays IP Address
VPN - Determines if IP address is a VPN
Proxy - Determines if IP address is a Proxy
Tor - Determines if IP address is a Tor Node
Threat - Determines if IP address is a threat. 0 is not a threat, while 1 is considered a threat. Anything between could potentially be a threat.
Location - Displays IP location data
Country - Displays what country the IP is located
Country Code - Displays the ISO 3166 country codes
Network - Displays IP network data
ASN - Displays the autonomous system number
Organization - Displays the internet provider

                          
{
    "ip": "1.1.1.1",
    "security": {
        "vpn": false,
        "proxy": false,
        "tor": false
    },
    "location": {
        "city": "",
        "locale_code": "en",
        "continent_name": "Oceania",
        "continent_code": "OC",
        "country_iso_code": "AU",
        "country_name": "Australia",
        "subdivision_1_iso_code": "",
        "subdivision_2_name": "",
        "metro_code": "",
        "time_zone": "Australia/Sydney",
        "is_in_european_union": 0,
        "latitude": "-33.4940",
        "longitude": "143.2104"
    },
    "network": {
        "network": "1.1.1.0/24",
        "autonomous_system_number": "AS13335",
        "autonomous_system_organization": "CLOUDFLARENET"
    }
}
                          
                        

If you have any other questions, feel free to contact us.

Features

Proprietary API
Proprietary Software
We analyze our IP data by utilizing machine-learning algorithms and conducting multiple tests in determining the status of an IP address.
Custom Built Dashboard
Custom Dashboard
Built from scratch, the API dashboard features a user-friendly interface, while providing all of the necessary features to control your API.
Request API Logs
Request Logs
We offer logs on previous API requests that were made through your API key, allowing you to easily export your data.
Whitelist and Blacklist IP Addresses
Whitelisting and Blacklisting
The dashboard supports whitelisting and blacklisting IP addresses, ranges, and even whole internet providers.
Real-Time Data
Real-Time Data
Not only is our IP information shown in real-time, but also your API data such as usage and recent queries.
IP Location Data
Location Information
Our API offers geolocation informaton on IP addresses including the region, city, and GPS coordinates.
Icon