1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Tools API

Allows you to access data and functions from the tools area of our site.

This API gives you access to Digital Point tools and your data within those tools.

The tools API type is for premium members and responds to GET requests via HTTPS and will return JSON results.

Endpoint

https://api.digitalpoint.com/v1/tools/{action}.json

Actions

Valid actions for this API type:

social-count

Returns social interaction counts for various social platforms (currently supports Twitter, Facebook, Google+, Pinterest and LinkedIn).

Required parameters: url
thumbnail

Gets a thumbnail screenshot for the website running on the specified domain (the returned image is base64 encoded).
This API action has a different rate limit (10 calls per minute) and is intended to have its results cached on your end.
The domain parameter should be an actual domain (not a URL).

Required parameters: domain
tracker-groups

Returns the groups you have defined in your Tracker account.

tracker-keywords

Returns the keywords and latest ranks for the group specified.

Required parameters: group_id
tracker-links

Returns the URLs and latest data for the group specified.

Required parameters: group_id
tracker-keyword-history

Returns the ranking history for the keyword specified.

Required parameters: keyword_id
tracker-link-history

Returns the historical data for the URLs specified.

Required parameters: url_id

Example

If you wanted to get a list of the keywords (with latest ranks) from the Tracker tool (assuming the group_id for the keyword group is 1), you could do something like this... ($accessId and $secretKey come from your account API settings)

PHP example

$expires = time() + 300;
$signature = base64_encode(hash_hmac('sha1', $accessId . '-' . $expires, $secretKey, true));
$request = http_build_query(
    array (
        'group_id' => 1
    )
, '', '&');
$ch = curl_init('https://api.digitalpoint.com/v1/tools/tracker-keywords.json?' . $request);
curl_setopt_array($ch, array(
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => array(
        "Auth-Access-Id: $accessId",
        "Auth-Signature: $signature",
        "Auth-Expires: $expires"
    )
));
$results = json_decode(curl_exec($ch));
curl_close($ch);