deathnmind / iptoasn-webservice

Web service to map IP addresses to AS information, using iptoasn.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

iptoasn-webservice

Webservice to map IP addresses to AS information.

This is the source code of the public API from iptoasn.com.

Requires rust.

Usage:

$ curl -H'Accept: application/json' https://api.iptoasn.com/v1/as/ip/<ip address>
{
  "announced": true,
  "as_country_code": "US",
  "as_description": "LEVEL3 - Level 3 Communications, Inc.",
  "as_number": 3356,
  "first_ip": "4.0.0.0",
  "ip": "4.3.2.1",
  "last_ip": "4.23.87.255"
}

About

Web service to map IP addresses to AS information, using iptoasn.com

License:BSD 2-Clause "Simplified" License


Languages

Language:Rust 92.3%Language:Dockerfile 5.0%Language:Shell 2.7%