API Examples

Example code for various languages. You might also like to check out our SDKs

C#
Go
PHP

IP Info Example


Request
https://neutrinoapi.net/ip-info?ip=162.209.106.137&reverse-lookup=true&user-id=YOUR_USER_ID&api-key=YOUR_API_KEY

Response
{
  "valid":true,
  "hostname":"ap2.neutrinoapi.com",
  "longitude":-77.48748779296875,
  "latitude":39.04372024536133,
  "country-code":"US",
  "city":"Ashburn",
  "region":"Virginia",
  "country":"United States"
}