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.
-
To get Domain Authority (DA) using an API:
Choose a Service: Use platforms like Moz, Ahrefs, or SEMrush, which provide domain metrics.
Sign Up: Create an account and subscribe to a plan that includes API access.
Get API Key: Obtain an API key or token for authentication.
Make Requests: Use the API to query DA for specific domains via tools like Postman or scripts. -
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 Regarding Moz API token password update
Hi, In March we have updated password for MOZ API and used in our application it worked, but currently the updated password is not working and in the MOZ site the old password is shown and its active. We are using Legacy username and password.
API | | NickAndrews
We see that 5 tokens can be added for API, if we add 2 tokens both will be active.
We are currently using free services. Please help us resolve this issue.0 -
Can links tracking lists help to crawl high authority backlinks by Moz?
My backlinks are not crawling by Moz yet after creating them four months ago. I have just added them in the links tracking lists now. May these links tracking lists help to crawl these backlinks by Moz? I have created same backlinks for my another site. But it has crawled by Moz within 10 days. This site is EditorialGE. But the same backlinks of my another sites are not crawled my Moz yet. Even my guest posts' links are not crawled by Moz yet which are created about two months ago. So, I have submitted them to links tracking list. Can links tracking lists help to crawl those high authority relevant backlinks ba Moz? Please let me know.
API | | Groupespr2 -
How to retrieve keyword difficulty information using Mozscape API?
Hi, Are we possible to use Mozscape API to retrieve keyword difficulty information for a list of keywords? I can't find its documentation. Thanks
API | | uceo0 -
"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 -
API - Internal Links to page and related metrics
Hi dear moz Team! Currently I´m building a Java application accessing your API. But there are some metrics I urgently need which I can´t get out of the API until now: The total number of internal links to a page The total number of internal links to a page with partial anchor text match MozRank passed by all internal links w. part. match anchor text (would be nice) For example, if I try this by your links endpoint, my idea was: http://lsapi.seomoz.com/linkscape/links/http%3A%2F%2Fwww.jetztspielen.de%2F?AccessID=..
API | | pollierer
&Expires=..
&Signature=..
&Scope=domain_to_page
&Filter=internal
&Sort=domain_authority
&SourceCols=4 (or any other value)
&SourceDomain=www.jetztspielen.de
&Offset=0
&Limit=50 If I try this, the API says: {"status": "400", "error_message": "Cannot set a source domain when filtering for internal links."} Is there any way to get the data I need by your API endpoints? I´m currently writing my master thesis and it is very important to me to solve this somehow. Thank you very much in advance! Best, Andreas Pollierer1