Locality Firefox Toolbar
version 2.0.8 (21/01/2010)
* Secure 256-bit SSL Encrypted Downloads
Install Now

Installation Instructions:

  1. 1.Click the secure* Install Now button to the left, a message bar will appear at the top of your browser.
  2. 2.Allow In the message bar, on the right hand side, click the Allow button.
  3. 3.Install A confirmation dialog will now appear, click Install Now. The toolbar will be downloaded.
  4. 4.Restart Click the Restart Firefox button to complete the process.

Local Domains Method

This method lists domains with DNS records pointing towards South African IP addresses.


URL: http://extension.locality.co.za/api/0.1/domains/domains-list.[data_format]
Formats: json, php
Method(s): GET
Parameters:
  1. ip (string) [optional] Filter domains by IP address, in dot quad format.
  2. since (integer) [optional] Filter domains by discovery date, in UNIX timestamp format.
Response:
  1. domains (array) The container array for the domain list, each item key is the domain name.
  2. > ip (integer) The IP address of the domain as defined in its DNS record.
  3. > timestamp (integer) The UNIX timestamp of when the domain was first added to our database.
Example:
  1. Request: http://extension.locality.co.za/api/0.1/domains/domains-list.json?ip=196.220.58.66
  2. Response:
    {
      error_msg: null,
      error_type: null,
      response: {
        domains: {
          bt.co.za: {
            ip: -992200126,
            timestamp: 1269878043
          },
          webafrica.co.za: {
            ip: -992200126,
            timestamp: 1267103691
          },
          www.webafrica.co.za: {
            ip: -992200126,
            timestamp: 1262698263
          }
        }
      },
      timestamp: 1234567890
    }
Important Note:

Please make considerable use of the since parameter to ensure only uncached data is requested. Our servers recursively update each domains IP address on a weekly basis, so full requests should not exceed a weekly frequency. IP addresses seen abusing the system will be null routed.


Fair Usage Guidelines

Please be considerate with your requests, in other words don't make more requests than necessary. Determine whether a single or bulk request is better suited for the data you require. An example would be to consider using timestamp filtering to retrieve only the data you require since your last request. Another consideration would be to locally cache content where possible.


Creative Commons License