Docs — DomDetailer API v1 (Legacy)
DomDetailer Logo DomDetailer
Deprecated API

The original DomDetailer API v1 is maintained for existing integrations only. New integrations must use API v2, which includes more metrics (including DomDetailer Pretty) at the same credit cost.

DomDetailer API v1 (Legacy)

This reference is provided for backwards compatibility with apps already integrated with v1. For new work, use API v2.

Request Types

Check Balance

Returns the number of credits remaining for an account.

Endpoint
GET https://domdetailer.com/api/checkBalance.php
Required parameters
  • app — Identifier for your application
  • apikey — User’s API key
Returns
["UnitsLeft","92921"]

Checking balance does not consume credits.

Example
https://domdetailer.com/api/checkBalance.php?apikey=YOUR_KEY&app=YourApp
Check Domain

Fetches Moz and Majestic metrics for a domain. Some social metrics are deprecated.

Endpoint
GET https://domdetailer.com/api/checkDomain.php
Required parameters
  • app — Identifier for your application
  • apikey — User’s API key
  • domain — The domain to check
Optional parameters
  • majesticChoice — Which Majestic variant to use:
    • url — stats for https://domain.com
    • root — stats for domain.com (default)
    • subdomain — stats for www.domain.com
    • asis — stats for the domain exactly as sent
Returns (fields)
  • Moz: External Backlinks (mozLinks), Domain Authority (mozDA), Page Authority (mozPA), Moz Rank (mozRank)
  • Majestic: External Backlinks (majesticLinks), Referring Domains (majesticRefDomains), Citation Flow (majesticCF), Trust Flow (majesticTF), Topical Trust Flow 1–3 (majesticTTF*)
  • Social (deprecated): Facebook Shares/Comments, Pinterest Pins
Example request
https://domdetailer.com/api/checkDomain.php?domain=domainhuntergatherer.com&app=DomDetailer&apikey=example&majesticChoice=root
Example response
{"domain":"domainhuntergatherer.com","mozLinks":"163","mozPA":"38.7","mozDA":"26.7","mozRank":"4.37","mozTrust":"4.47","majesticStatReturned":"root","FB_comments":"0","FB_shares":"1029","stumbles":0,"pinterest_pins":"0","majesticLinks":"93365","majesticRefDomains":"248","majesticRefEDU":"22","majesticRefGov":"0","majesticRefSubnets":"209","majesticIPs":"227","majesticCF":"30","majesticTTF0Name":"Society\/People","majesticTTF0Value":"17","majesticTTF1Name":"Regional\/Europe","majesticTTF1Value":"16","majesticTTF2Name":"Reference\/Education","majesticTTF2Value":"13","majesticTF":"18","google_plus_one":"","linkedin":""}

Field Names (v1)

Response Values
  • Array response: ["UnitsLeft","{number}"]
Tip: For richer stats and the Pretty dataset, migrate to API v2.
Response Values
  • domain
  • mozLinks
  • mozPA
  • mozDA
  • mozRank
  • mozTrust (depracated)
  • majesticLinks
  • majesticRefDomains
  • majesticRefEDU
  • majesticRefGov
  • majesticRefSubnets
  • majesticIPs
  • majesticCF
  • majesticTF
  • majesticTTF0Name/Value
  • majesticTTF1Name/Value
  • majesticTTF2Name/Value
  • FB_comments (depracated)
  • FB_shares (depracated)
  • pinterest_pins (deprecated)
  • majesticStatReturned (echoes your majesticChoice)