Integrate DomDetailer in your Software or Service

DomDetailer has been designed from the ground up to be utilised by any software or service to provide quality statistics for any domain.

The DomDetailer API will return the stats below for any domain:

  • Moz External Backlinks
  • Moz Domain Authority
  • Moz Page Authority
  • Moz Trust
  • Moz Rank
  • Majestic External Backlinks
  • Majestic Referring Domains
  • Majestic Citation Flow
  • Majestic Trust Flow
  • Majestic Topical Trust Flow 1
  • Majestic Topical Trust Flow 2
  • Majestic Topical Trust Flow 3
  • Google +1s
  • Facebook Shares
  • Facebook Comments
  • Pinterest Pins
  • LinkedIn Shares

There are 2 main request types that can be used with DomDetailer API:

Check Balance API

To check the balance for an account you will need to send a request to the following URL:

http://domdetailer.com/api/checkBalance.php

Variables

The variables below need to be sent via a GET or POST request

  • app - A unique identifier for your application. Set this to anything that will be used to identify your software.
  • apikey - The unique API key of the user. This is the API key that is sent to the customer when purchasing credits.

Results

When a successful balance check is performed the API will return the following values:

  • UnitsLeft - This is how many credits the user has left on the account

Examples

Example Request

http://domdetailer.com/api/checkBalance.php?apikey=asdfasdf&app=DomDetailer

Example Output:

["UnitsLeft","92921"]

Checking Balance does not use up any credits

Check Domain API

To get the Moz and Majestic stats for a domain you will need to send a request to the following URL:

http://domdetailer.com/api/checkDomain.php

Variables

The variables below need to be sent via a GET or POST request

  • app - A unique identifier for your application. Set this to anything that will be used to identify your software.
  • apikey - The unique API key of the user. This is the API key that is sent to the customer when purchasing credits.
  • domain - This is the domain that you want the stats of
  • majesticChoice - (optional) Specify which version of stats you want to get from Majestic. The default is to return the stats of the variant with the highest TF, if you wish to get the details of a specific variant use one of the variables below
    • highest - (default) This will check http://domain.com, domain.com and www.domain.com and return the stats for the variant with the highest TF
    • url - returns the Majestic stats for http://domain.com
    • root - returns the Majestic stats for domain.com
    • subdomain - return the Majestic stats for www.domain.com

Results

When a domain check is performed the API will return the following values:

  • domain - Domain the check was done on
  • mozLinks - Moz's number of Links for the domain
  • mozPA - Moz Page Authority
  • mozDA - Moz Domain Authority
  • mozRank - Moz Rank
  • mozTrust - Moz Trust Rank
  • majesticLinks - Majestic's Links for the domain
  • majesticRefDomains - Majestic's Referring Domains
  • majesticCF - Majestic's Citation Flow
  • majesticTF - Majestic's Trust Flow
  • FB_comments - Amount of Comments on Facebook
  • FB_shares - Amount of Shares on Facebook
  • google_plus_one - Amount of shares on Google+
  • pinterest_pins - Amount of Pins on Pinterest
  • linkedin - Amount of shares on LinkedIn

Examples

Example Request

http://domdetailer.com/api/checkDomain.php?domain=domainhuntergatherer.com&app=DomDetailer&apikey=example&majesticChoice=root

Output Example:

{"domain":"domainhuntergatherer.com","mozLinks":33,"mozPA":31.28655634286,"mozDA":17.937694693136,"mozRank":3.7858504287698,"mozTrust":3.683886085117,"majesticStatReturned":"root","FB_comments":0,"FB_shares":153,"google_plus_one":0,"pinterest_pins":0,"linkedin":0,"majesticLinks":26455,"majesticRefDomains":218,"majesticCF":27,"majesticTF":10}

© 2017 PBL Soft, inc. All rights reserved.