API Examples
Example code for various languages.
You might also like to check out our
SDKs
cURL Examples
Select an API:
curl https://neutrinoapi.net/ip-info \
--header "User-ID: <your-user-id>" \
--header "API-Key: <your-api-key>" \
--data-urlencode "ip=1.1.1.1" \
--data-urlencode "reverse-lookup=false"
{
city: "Hong Kong",
continent-code: "AS",
country: "China, Hong Kong Special Administrative Region",
country-code: "HK",
country-code3: "HKG",
currency-code: "HKD",
host-domain: "",
hostname: "",
ip: "1.1.1.1",
is-bogon: false,
is-v4-mapped: false,
is-v6: false,
language-code: "zh",
latitude: 22.28552,
longitude: 114.15769,
region: "Hong Kong",
region-code: "HK",
timezone: {
abbr: "HKT",
date: "2025-11-18",
id: "Asia/Hong_Kong",
name: "Hong Kong Standard Time",
offset: "+08:00",
time: "12:05:01.242079452"
},
valid: true
}