| Crates.io | iptoasn-webservice |
| lib.rs | iptoasn-webservice |
| version | 0.2.5 |
| created_at | 2017-04-27 20:45:08.743419+00 |
| updated_at | 2020-08-01 15:38:31.968126+00 |
| description | API server for iptoasn.com |
| homepage | https://iptoasn.com |
| repository | https://github.com/jedisct1/iptoasn-webservice |
| max_upload_size | |
| id | 12254 |
| size | 70,906 |
Webservice to map IP addresses to AS information.
This is the source code of the public API from iptoasn.com.
Requires rust.
$ 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"
}