π IP μ§λ¦¬μ μμΉ
μλν¬μΈνΈβ
https://api.verifik.co/v2/ip-lookup
IPv4/IPv6 μ£Όμμ μ§λ¦¬μ μμΉλ₯Ό μ‘°ννμ¬ κ΅κ°, μ§μ, λμ, ISP/ASN, μ’ν, μκ°λλ₯Ό λ°νν©λλ€. μ¬κΈ° νμ§, μ κ·Ό μ μ΄, μν μ μμ μ¬μ©νμΈμ.
ν€λβ
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
λ§€κ°λ³μβ
| Name | Type | Required | Description |
|---|---|---|---|
ip | string | Yes | IPv4 λλ IPv6 μ£Όμ. |
μμ²β
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/ip-lookup", {
params: { ip: "8.8.8.8" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/ip-lookup"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"ip": "8.8.8.8"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
μλ΅β
- 200
- 404
{
"data": {
"country": "United States",
"countryCode": "US",
"city": "Mountain View",
"isp": "Google LLC"
},
"signature": { "message": "Certified by Verifik.co" }
}
{ "code": "NotFound", "message": "Record not found." }
μ°Έκ³ β
- Sandbox:
8.8.8.8;192.168.100.1β192.168.100.10;192.168.100.99β 404.