Unsolved How to get Domain Authority using API ?
-
I wanted to test the API and while looking on the documentation urls, I cannot find details on how to get Domain Authority.
- is that not available to query ?
- was it replaced by Brand Authority ?
- is it only available for the paid API or for the free one too ?
I looked at many documentation pages but I find it very confusing and frustrating, there are many versions of the documentation and various URLs and not clearly labeled, I understand some are V1, V2, V3, etc, but I didn't find sample API calls for Domain Authority.
Thank you.
-
Sign Up for Moz Pro: You need a Moz Pro account to access the API, which provides programmatic access to Moz's metrics, including Domain Authority (DA), Page Authority (PA), and other link metrics.
-
- Moz API (Official Domain Authority Provider)
Moz is the creator of the Domain Authority metric, and it provides an API to fetch DA data.
Steps:
Sign Up for Moz API Access:Visit Moz's API page and create an account.
Choose a plan (free plans may have limited functionality).
Generate API Credentials:After signing up, generate your API key (Access ID and Secret Key).
Use the API to Fetch Domain Authority:The URL Metrics API endpoint provides domain metrics.
Send a request including your API credentials and the domain name. - Moz API (Official Domain Authority Provider)
-
@adrianTNT I understand your frustration with the documentation, as it can be challenging to navigate through multiple versions and unclear URLs. Based on my experience, Domain Authority is typically part of paid API plans, and some platforms might have shifted focus to metrics like Brand Authority. It would help if the documentation included clearer labeling and sample API calls.
-
@adrianTNT said in How to get Domain Authority using API ?:
I wanted to test the API and while looking on the documentation urls, I cannot find details on how to get Domain Authority.
is that not available to query ?
was it replaced by Brand Authority ?
is it only available for the paid API or for the free one too ?I looked at many documentation pages but I find it very confusing and frustrating, there are many versions of the documentation and various URLs and not clearly labeled, I understand some are V1, V2, V3, etc, but I didn't find sample API calls for Domain Authority.
Thank you.I understand your frustration with the documentation. It can be challenging to navigate through various versions. As far as I know, Domain Authority might not be directly accessible in the newer API versions and could be replaced by Brand Authority metrics. It's worth checking if it's exclusive to the paid API. For clarity, reaching out to their support team might help. Best of luck!
-
@nitso11
There were few sites offering this in the past, but as of now they seem to have some issues. Let me see if i can find a working website. Will update you asap -
To get Domain Authority (DA) using an API, you can use services from providers like Moz, Ahrefs, or Semrush, which offer APIs that include domain authority and similar metrics. Here’s a step-by-step guide on how to get Domain Authority using the Moz API, one of the most popular tools for this metric:
- Register for a Moz API Key
Go to the Moz API page at Moz API.
Sign up for an account and generate an Access ID and Secret Key. You’ll need these credentials to authenticate your API requests. - Make an API Request to Retrieve Domain Authority
The Moz API’s Link Explorer endpoint can provide Domain Authority data.
- Register for a Moz API Key
-
You can get Domain Authority using APIs like Moz, SEMrush, or Ahrefs by integrating their API with your system.
-
SEMrush: They provide a different metric, “Authority Score,” which is available via API with a SEMrush subscription.
Free Domain Authority Checkers: Some free tools offer DA lookups, but they may not provide API access without premium plans. -
Hi there @adrianTNT
Sorry for the confusion, we have new shiny methods to call DA being released shortly, until then you can use the current V2 API - https://moz.com/help/links-api/making-calls/url-metricsWe have more info on using the Moz API and limits here https://moz.com/help/links-api
-
"How can I find Domain Authority details through the API?"
Or, if you want a more detailed question:
"Is Domain Authority available to query through the API, or has Brand Authority replaced it? I checked multiple documentation versions (V1, V2, V3, etc.) but couldn't find a clear answer. Could you clarify if Domain Authority is only accessible via a paid API, and provide sample API calls for it if available?"
This should encourage a clear response on whether Domain Authority is supported, if Brand Authority is a replacement and details on the access level required.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Unsolved MOZ API for domain authority
I am using the MOZ API to check domain authority (DA). Recently, I noticed a discrepancy: the DA value retrieved via the API differs from the result on the MOZ homepage. Specifically, the API returns a DA of 10, while the homepage shows "NO DATA." Additionally, other services like Ahrefs report a DA of 0. I relied on the MOZ API's result when purchasing this domain and now feel misled. I would like to understand the exact reason for this inconsistency.
API | | Skys0 -
Is everybody seeing DA/PA-drops after last MOZ-api update?
Hi all, I was wondering what happend at the last MOZ-update. The MOZ-health page has no current errors and i've checked a lot of websites probably about 50 a 60 from our customers and from our competitiors and everybody seems to have a decrease in DA's / PA's. Not just a couple went up and down like normally would happen, but all seems to have dropped.... Is anyone seeing the same in their campaigns? Greetings,
API | | NielsVos
Niels3 -
"403 Forbidden" is they will be displayed in the "API"
Nice to meet you.
API | | yamayamax
Although the future API of the question of "URL Metrics", I want you to forgive me English is very immature thing. I'm very troubled now.
If you call the "API" in the manner described below, such PHP of the program, "403 Forbidden" is the result.
Because the information when you visit the URL directly is displayed, we suspect the PHP of the problem.
About the cause, it will be saved in a very and Nowak advice.
Whether Thank you. code $accessID = "<removed for="" privacy="">";
$secretKey = "<removed for="" privacy="">";
$expires = time() + 300;
$SignInStr = $accessID. "\n" .$expires;
$binarySignature = hash_hmac('sha1', $SignInStr, $secretKey, true);
$SafeSignature = urlencode(base64_encode($binarySignature));
$objURL = "http://www.google.com";
$flags = "103079217188";
$reqUrl = "http://lsapi.seomoz.com/linkscape/url-metrics/".urlencode($objURL)."?Cols=".$cols."&AccessID=".$accessID."&Expires=".$expires."&Signature=".$SafeSignature;
$opts = array(CURLOPT_RETURNTRANSFER => true);
$curlhandle = curl_init($reqUrl);
curl_setopt_array($curlhandle, $opts);
$content = curl_exec($curlhandle);
curl_close($curlhandle);
$resObj = json_decode($content); //decode the json object and fetch results
echo $reqUrl . "
";
echo "Domain Authority : " . $resObj->{'pda'};
echo "Page Authority : " . $resObj->{'upa'};
?>
------------------------------------------------------------------------------------</removed></removed>0 -
Any idea why HubSpot (which uses the MOZ api) can find our backlinks but OSE can not?
Links are showing up in the HubSpot link tool within a couple of days. OSE has our site showing zero backlinks. ahrefs is finding them too but that makes more sense. Does the API update more frequently than OSE? Any thoughts? Thanks!
API | | KLEANTreatmentCenter0