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

Examples

Minimal snippets for various languages. You might also like to check out our SDKs

C#
Go
PHP

C# Example


using (var client = new HttpClient())
{
    var req = new List<KeyValuePair<string, string>>();
    req.Add(new KeyValuePair<string, string>("user-id", "YOUR_USER_ID"));
    req.Add(new KeyValuePair<string, string>("api-key", "YOUR_API_KEY"));
    req.Add(new KeyValuePair<string, string>("ip", "162.209.104.195"));

    var content = new FormUrlEncodedContent(req);
    var response = await client.PostAsync("https://neutrinoapi.net/ip-info", content);
    var responseStr = await response.Content.ReadAsStringAsync();
   
    JsonObject result = (JsonObject)JsonValue.Parse(responseStr);
    Console.WriteLine("{0}", (string)result["country"]);
    Console.WriteLine("{0}", (string)result["country-code"]);
    Console.WriteLine("{0}", (string)result["region"]);
    Console.WriteLine("{0}", (string)result["city"]);
}