APIs Documents
Welcome to reach out ourself. We are giving you unlimited APIs request. We don't send any limitations. You can use it free. We invite you to work with us and make it fast and smooth. We share the project with everyone. If you want to contribute on the git, copy the git and push to us which you solve.
Download the postman collection
Download Postman FileBase URL:
https://ip.team71.link
Get location for single IP at once request
const requestOptions = {
method: "GET",
redirect: "follow"
};
fetch("https://ip.team71.link/public/210.4.1.0", requestOptions)
.then((response) => response.json())
.then((result) => console.log(result))
.catch((error) => console.error(error));
You need to chnage the IP in the link. It is a get request. You can check the request with browser or Postman.
The response of it will be:
{
"statusCode": 200,
"data": {
"ip_from": "210.4.0.0",
"ip_to": "210.4.1.255",
"ip": "210.4.1.0",
"country_code": "PH",
"country": "Philippines",
"region_name": "National Capital Region",
"city_name": "Quezon City",
"timezone": "+08:00",
},
"message": "Successfully found IP details",
"error": false
}
Here, If request is successfully done then statusCode: 200 every request or it will statusCode: 400 or statusCode: 500. If you get any error message will show the reason.
Get list of IPs data
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
const raw = JSON.stringify({
"list": [
"100.2.15.2",
"98.3.0.11"
]
});
const requestOptions = {
method: "GET",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://ip.team71.link/public/multi-ip", requestOptions)
.then((response) => response.json())
.then((result) => console.log(result))
.catch((error) => console.error(error));
The list length can't be more then 100 and every element must be a string.
The response of it will be:
{
"statusCode": 200,
"data": [
{
"ip_from": "100.2.13.0",
"ip_to": "100.2.19.255",
"ip": "100.2.15.2",
"country_code": "US",
"country": "United States of America",
"region_name": "New York",
"city_name": "New York City",
"timezone": "-05:00",
},
{
"ip_from": "98.3.0.0",
"ip_to": "98.3.0.255",
"ip": "98.3.0.11",
"country_code": "US",
"country": "United States of America",
"region_name": "New York",
"city_name": "Ithaca",
"timezone": "-05:00",
}
],
"message": "Successfully found IP details",
"error": false
}