API Basics
Data Tools
WWW
Browser Bot
HTML Clean
URL Info
Telephony
Geolocation
Security and Networking
E-commerce
Imaging
Legacy APIs

IP Info

Get location information about an IP address and do reverse DNS (PTR) lookups.

Identify the geolocation of an IP address down to the city level, including the geographic coordinates (latitude, longitude) and detailed locale information. Our geolocation database is continuously updated in realtime as Internet address allocation changes and as new IP ranges come online. The API supports both IPv4 and IPv6.

Use this API for:
Note:
Need to determine the provider details for an IP address? Check out the IP Probe API

End Point

https://neutrinoapi.net/ip-info
Test API
API Request
ParameterRequiredTypeDefaultDescription
ipyesstringAn IPv4 or IPv6 address. Accepts standard IP notation and also CIDR notation
reverse-lookupnobooleanfalseDo a reverse DNS (PTR) lookup. This option can add extra delay to the request so only use it if you need it
API Response
ParameterTypeDescription
ipstringThe IPv4 or IPv6 address returned
validbooleanTrue if this is a valid IPv4 or IPv6 address
is-v6booleanTrue if this is a IPv6 address. False if IPv4
is-v4-mappedbooleanTrue if this is a IPv4 mapped IPv6 address
is-bogonbooleanTrue if this is a bogon IP address such as a private network, local network or reserved address
countrystringFull country name
country-codestringISO 2-letter country code
country-code3stringISO 3-letter country code
continent-codestringISO 2-letter continent code
currency-codestringISO 4217 currency code associated with the country
citystringName of the city (if detectable)
regionstringName of the region (if detectable)
region-codestringISO 3166-2 region code (if detectable)
longitudefloatLocation longitude
latitudefloatLocation latitude
hostnamestringThe IPs full hostname (only set if reverse-lookup has been used)
host-domainstringThe IPs host domain (only set if reverse-lookup has been used)
timezonemapMap containing timezone details for the location:
ParameterTypeDescription
idstringThe time zone ID as per the IANA time zone database (tzdata)
namestringThe full time zone name
abbrstringThe time zone abbreviation
datestringThe current date at the time zone (ISO 8601 format 'YYYY-MM-DD')
timestringThe current time at the time zone (ISO 8601 format 'hh:mm:ss.sss')
offsetstringThe UTC offset for the time zone (ISO 8601 format '±hh:mm')
API Performance
CharacteristicValueDescription
Avg Latency15msAverage RTT for requests within the same data center/region
Max Rate500/secondMaximum inbound request rate. Exceeding this will result in request throttling
Max Concurrency250Maximum concurrent/simultaneous requests. Exceeding this will result in error code 06 [TOO MANY CONNECTIONS]

API Example
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: "San Jose", continent-code: "NA", country: "United States of America", country-code: "US", country-code3: "USA", currency-code: "USD", host-domain: "", hostname: "", ip: "1.1.1.1", is-bogon: false, is-v4-mapped: false, is-v6: false, latitude: 37.33939, longitude: -121.89496, region: "California", region-code: "CA", timezone: { abbr: "PST", date: "2024-02-06", id: "America/Los_Angeles", name: "Pacific Standard Time", offset: "-08:00", time: "14:51:44.198812" }, valid: true }