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: "Brisbane",
continent-code: "OC",
country: "Australia",
country-code: "AU",
country-code3: "AUS",
currency-code: "AUD",
host-domain: "",
hostname: "",
ip: "1.1.1.1",
is-bogon: false,
is-v4-mapped: false,
is-v6: false,
language-code: "en",
latitude: -27.46754,
longitude: 153.02809,
region: "Queensland",
region-code: "QLD",
timezone: {
abbr: "AEST",
date: "2025-03-11",
id: "Australia/Brisbane",
name: "Australian Eastern Standard Time",
offset: "+10:00",
time: "08:15:09.007568"
},
valid: true
}