Access daily whois statistics
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json
parser.js

README.md

whois-stats

Rationale

All Regional Internet Registries (RIRs) publish statistics that describe the state of the network resources they manage. These statistics are updated daily. whois-stats allows you to access these statistics as a stream of JSON objects.

Usage

var stats = require('whois-stats');

stats.statsFromFTP(stats.APNIC_LATEST, function (err, stream) {
    if (err) throw err;
    stream.on('entry', function (entry) {
        // entry is something like:
        // {"registry":"apnic","cc":"JP","type":"ipv4","start":"202.11.0.0","value":"256",
        //  "date":"19940413","status":"allocated","extensions":[],"_type":"allocation"}
    });
});

Why should I care?

  • Quantify IPv4 exhaustion
  • Diff for new allocations
  • Identify conflicts
  • Store to object db