API V1
Proxy Check Command
Check whether an IP address appears in the active proxy list.
GET
/?cmd=proxy-check&key=YOUR_API_KEY&ip=139.59.51.139
Parameters
| Name | Required | Description |
|---|---|---|
| cmd | Yes | Use proxy-check. |
| key | Yes | Active API key. |
| ip | Yes | IPv4 or IPv6 address to check. |
| format | No | Optional response format: json plain xml jsonp php csv serialized. |
Example Request
https://api.iplocation.net/?cmd=proxy-check&key=YOUR_API_KEY&ip=139.59.51.139
Example Response
{
"ip": "139.59.51.139",
"country_name": "India",
"country_code2": "IN",
"result": "1",
"proxy": {
"ip": "139.59.51.139",
"port": 80,
"type": "https"
},
"response_code": "200",
"response_message": "OK"
}