RBLTracker includes a simple, read/write, web-based API, that lets you poll our database for the current status of your hosts, as well as manage hosts and contacts on your account.

The RBLTracker API can easily be integrated into existing monitoring systems, like Nagios or Zabbix, by performing a simple HTTP GET request for the list of currently listed hosts. The response data can be returned either as simple XML, or as a JSON object.

RBLTracker also provides simple, downloadable plugins for both Nagios and Zabbix, that can get you up and running within a few minutes.

# wget -qO- https://rbltracker.com/api/listings.json?api_token=x

{
    "status_code": 200,
    "status_message": "Ok",
    "total_listed": 1,
    "data": [
        {
            "id": "5afd618836c251cbb066803f25b87fa1",
            "host": "127.0.0.1",
            "name": "Primary Mail Server",
            "status": "active",
            "last_checked": "2012-12-30 21:00:07 EST",
            "first_listed": "2012-12-17 11:05:03 EST",
            "listed_period": "13 days 13:35:58",
            "listed": "1",
            "listed_count": "2",
            "listed_details": [
                {
                    "host": "b.barracudacentral.org",
                    "website": "http://www.barracudacentral.org/rbl/",
                    "details": "http://www.barracuda.../?pr=1&ip=127.0.0.1"
                },
                {
                    "host": "sbl.spamhaus.org",
                    "website": "http://www.spamhaus.org/sbl/",
                    "details": "http://www.spamhaus.org/sbl/query/SBL21"
                }
            ]
        }
    ]
}

RBLTracker can also be integrated into your existing provisioning systems, to automatically add/remove monitoring of hosts, as resources are allocated on your system. This ensures that only those hosts that are in-use are monitored.

# wget --post-data="type=rbl&name=Test&host=10.10.10.10" -qO- https://rbltrack.com/api/host/add.json?api_token=x

{
    "status_code": 200,
    "status_message": "Hosts added successfully.",
    "data": [
        {
            "id": "37c46a725dd8adab28d35b9f200c198d",
            "host": "10.10.10.10",
            "name": "Test"
        }
    ],
    "version": "2.0"
}

RBLTracker accounts are assigned unique API tokens, used for authenticating API requests.

The API token and the current API documentation is available via the Account -> API Access page of the RBLTracker portal.