Web service to map IP addresses to AS information, using iptoasn.com
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2a4b785 Oct 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci _ -> - Sep 12, 2017
docker nits Jul 18, 2018
src Update deps and make clippy happy Feb 18, 2018
.gitignore Initial import Oct 26, 2016
.travis.yml Uninstalling Rust on Travis requires something different Apr 27, 2017
Cargo.lock Any recent stable Rust will do. But no DNS history for now. Oct 29, 2018
Cargo.toml Version bump Sep 12, 2017
LICENSE 2018 Oct 29, 2018
README.md Any recent stable Rust will do. But no DNS history for now. Oct 29, 2018

README.md

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 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"
}