Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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 Help with API Error: "Query Not Found" for a Specific URL
Hi everyone, I'm trying to retrieve data for a specific URL using the Moz API, specifically the data.site.metrics.fetch method. The URL I'm querying is: https://www.fiftyfiveandfive.com/ai-agents-marketings-new-means-of-production When I make the API request, I receive the following 404 error: { "id": "unique-id-testing", "jsonrpc": "2.0", "error": { "code": -32655, "status": 404, "data": { "key": "site_query.query", "value": "https://www.fiftyfiveandfive.com/ai-agents-marketings-new-means-of-production" }, "message": "That query was not found." } } However, when I check the URL in Moz Link Explorer, I can see that the page has a Page Authority of 23 and a Domain Authority of 36, but no backlinks or ranking keywords. What I'm Trying to Achieve:
API | | Chris_Wright1664
I’m attempting to retrieve metrics for this page via the API, but it seems like the API does not recognise the URL, even though it’s visible in Link Explorer. Questions: Why does the API return "Query Not Found" for a URL that is indexed in Link Explorer? Is there a way to request Moz to crawl or re-crawl this URL to ensure it's accessible via the API? Are there any additional criteria the API requires (e.g., backlinks, ranking keywords) before it recognises a URL? Additional Info: I’ve verified that my robots.txt file allows all bots, including Rogerbot. list itemThe page is included in the sitemap, and the URL is accessible without any restrictions. list itemI’d appreciate any insights on how to resolve this issue or steps to take so that the Moz API can retrieve data for this URL.0 -
Unsolved Generate an Access ID and API key
Hello, I can't generate an Access ID and API key for my account.
API | | OlegShavilov
I need a Links API and I'm ready to buy a paid subscription, but I can't do it. Link https://moz.com/products/mozscape/access
Redirected to https://moz.com/api/dashboard And i dont see any options for create Access ID0 -
Unsolved "The account does not have access to that quota" - API v1 URL Metrics
Hi! On one of our servers we get the message "The account does not have access to that quota" when pulling data for v1 URL Metrics endpoint in the API.
API | | aheitzman
This only happens on one specific server, others have worked flawlessly. Any idea of what might be going on? Thanks0 -
How can I get "Date First Seen","Date Last Seen" and "Date Lost" from the API?
"Date First Seen","Date Last Seen" and "Date Lost" are columns in the CSV exported from LinkExplorer's Inbound Links page. How do I get that data from the API?
API | | StevePoul1 -
Website domain authority dropped from 55 to 1 in two months
Hi all! Our website DA dropped from 55 to 1 in a matter of two months. Last time I checked, it was two months ago and the website DA was 55. When I checked today, it is 1. Needless to day, I am shocked. The website has been around since 1995 and has always had pretty decent DA and PA. We made a couple of important changes during past 3-4 months. One is to support HTTPS and another is to implement the responsive web design to support browsing by mobile devices. What could be the reason for such a dramatic drop of DA in a short period of time? Where would you suggest me to look for it? How can we get the problem fixed? Here is the website URL: www.infohub.com Thank you!
API | | jimz80701 -
Wrong answers for API request
Hi, I just recently started getting errors when using the API. The request back contains zeros for all the keys except PDA which is a new to me. Haven't changed anything in the code and the authorization seems to work fine. Is this something on my end? However, I don't get for all the requests, perhaps half of the time. Example of the return: {"fmrp":0,"fmrr":0,"pda":27.7812456171725224,"ueid":0,"uid":0,"uipl":0,"umrp":0,"umrr":0,"upa":1} Thanks in advance! /Mathias
API | | Lobtec0 -
Can we get access to Moz's Rank Tracker via the API?
I'd like to be able to pull the results from Rank Tracker into my own application. Can I access it via an API? I don't see it anywhere in the Moz documentation, which is usually a clear answer. If not, how do you suggest to automate the inclusion of this data without, for example, being blacklisted?
API | | MB070