iptoasn-webservice

Crates.ioiptoasn-webservice
lib.rsiptoasn-webservice
version0.2.5
sourcesrc
created_at2017-04-27 20:45:08.743419
updated_at2020-08-01 15:38:31.968126
descriptionAPI server for iptoasn.com
homepagehttps://iptoasn.com
repositoryhttps://github.com/jedisct1/iptoasn-webservice
max_upload_size
id12254
size70,906
Frank Denis (jedisct1)

documentation

README

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"
}
Commit count: 90

cargo fmt