Information about the IP address

API queries URL:

https://api.iplogger.org/ip/info/

Request

Name

Value

Required

ip

Any IPV4 address

yes

Response

Name

Value

Description

result

Array

An array of IP information

 

PHP Example:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.iplogger.org/ip/info/");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'X-token: {YOUR_SECRET_KEY}',
    'Content-Type: multipart/form-data'
]);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
     'ip' => '8.8.8.8'
]);

$res = curl_exec($ch);
curl_close($ch);

$res = json_decode($res, true);

print_r($res);

 

Article Details

Article ID:
8
Category:
Date added:
2022-11-04 16:26:20
Views:
1,492
Rating (Votes):
(20)

Related articles