Login Get Started
All APIs

IP Information

Get country, city and ISP info of any IP address.

1 credit/hit GET 60/min • 120/min IP ~0ms 100% success 0 calls/24h
GEThttps://www.api.tyno.eu.cc/api/ip-info?ip=8.8.8.8
Authentication: use YOUR_API_KEY in the request sample or send it as an X-API-KEY header. This documentation never renders a user's key.
Integration
Parameters
NameTypeRequiredExample
ip
IP Address
stringYes8.8.8.8
Pass any public IPv4 address to get geolocation details. No provider key needed.
cURL
curl -G "https://www.api.tyno.eu.cc/api/ip-info" \
  -H "X-API-KEY: $INFINITY_API_KEY" \
  --data "ip=8.8.8.8"
Security: keep keys on your server, send them in X-API-KEY, and never embed them in browser JavaScript. Query-string keys remain supported for legacy clients.
PHP
// PHP (server-side)
$apiKey = getenv('INFINITY_API_KEY');
$url = "https://www.api.tyno.eu.cc/api/ip-info?ip=8.8.8.8";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["X-API-KEY: " . $apiKey]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($ch);
curl_close($ch);
echo $res;
JavaScript (fetch)
// Node.js server-side only — do not put API keys in browser JavaScript
const apiKey = process.env.INFINITY_API_KEY;
const url = "https://www.api.tyno.eu.cc/api/ip-info?ip=8.8.8.8";
fetch(url, { headers: { "X-API-KEY": apiKey } })
  .then(r => r.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));
Python (requests)
# Python (server-side)
import os
import requests
import urllib.parse
url = "https://www.api.tyno.eu.cc/api/ip-info?ip=8.8.8.8"
headers = {"X-API-KEY": os.environ["INFINITY_API_KEY"]}
res = requests.get(url, headers=headers, timeout=20)
print(res.text)
Node.js (axios)
// Node.js (server-side)
const axios = require('axios');
axios.get("https://www.api.tyno.eu.cc/api/ip-info?ip=8.8.8.8", { headers: { "X-API-KEY": process.env.INFINITY_API_KEY } })
  .then(r => console.log(r.data));
Sample JSON Response
{"ip":"8.8.8.8","success":true,"country":"United States","city":"San Jose","connection":{"isp":"Google LLC"}}
Error format: {"status":"error","message":"Reason here"}
CodeMessageDescription
401Invalid API keyThe X-API-KEY or Bearer header is missing or invalid; legacy query/body key fields are also accepted.
402Credit limit exceededYour key has no remaining credits for this API.
429Rate limit exceededMax 60 requests/minute per key.
400Missing required parameterOne of the required parameters listed in docs was not provided.
Documentation only. The request samples, parameters, response format and error codes are shown here. Account keys and live request forms are intentionally excluded.

Pricing for IP Information

Credits apply only to this API. Rate: 60/min per key • 1 credit/hit

Free Starter

FREE
100 Credits • 7 Days
  • Instant activation
  • Community support
Get Started

Basic

৳100
1,000 Credits • 30 Days
  • Instant activation
  • Email support
Get Started

Business

৳1,200
20,000 Credits • 60 Days
  • Highest speed
  • Dedicated support
Get Started
Error Codes
CodeMessage
401Invalid API key
The X-API-KEY or Bearer header is missing or invalid; legacy query/body key fields are also accepted.
402Credit limit exceeded
Your key has no remaining credits for this API.
429Rate limit exceeded
Max 60 requests/minute per key.
400Missing required parameter
One of the required parameters listed in docs was not provided.