Skip to content

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

Category: API

Discuss link data, metrics, and all of the calls available through the Links API.

  • Unsolved

    api

    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:
    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.

    | Chris_Wright1664
    0
  • Unsolved

    api domain authority

    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.

    | adrianTNT
    0
  • Unsolved

    api da

    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.

    | Skys
    0
  • Unsolved

    api problem empty response

    Hi, I always receive a empty reponse from your API v1. Here ist my API call for further investigation:
    "http://lsapi.seomoz.com/linkscape/url-metrics/https://www.moz.com/?AccessID=mozscape-1234567890&Expires=1719916530&Signature=generatedsignaturecode" Reponse: {} Do you experience some problems with the api? Thank you very much
    Regards George Shaylen

    | George4445
    0
  • Unsolved

    moz api access token

    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.
    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.

    | NickAndrews
    0
  • Unsolved

    api url metrics v1

    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.
    This only happens on one specific server, others have worked flawlessly. Any idea of what might be going on? Thanks

    | aheitzman
    0
  • Unsolved

    api

    Hello, I can't generate an Access ID and API key for my account.
    I need a Links API and I'm ready to buy a paid subscription, but I can't do it. Link https://moz.rankious.com/_moz/products/mozscape/access
    Redirected to https://moz.rankious.com/_moz/api/dashboard And i dont see any options for create Access ID

    | OlegShavilov
    0

  • domain authority

    Hi, everyone. I want to know if you know any way to get DA & PA metrics with any software (not Netpeak Checker please, is very low) or any add-on for Google Sheet or Microsoft Excel (like Majestic has for Google Sheets). Up today any software works always and sometimes the results are not really. Please, team of MOZ and Community, help me. And team of MOZ, the SEOs around the world need a solution for this. We scrapped many domains every day for build our privates blogs networks and also for search opportunities for link our sites. Please, provide us anyway (software, tool in your suite, I don't know) for this essential function in the SEO World. Thanks!

    | seotrafilea
    0

  • Where can I find Moz access ID and Moz secret key?

    | silawebu.cz
    2

  • Hello, I am new to the SEO world though I realize it's importance when trying to make your site noticed. I am working with a shopping cart (Pinnacle Cart)  and It has the fields to put in the data such as the meta tags, description keywords and whatnot. My problem is that I do not know how to use MOZ to strategize what keywords to use and how to populate them to the Google search engine. That said, someone told me that Descriptions for Section pages are far more important than keywords. Can anyone help or give me some insight on how to start this process? Once I have it all running, about how long will it take to propagate through Google? Thanks!

    | BestDressedTot
    0
  • Unsolved

    api

    Good afternoon. I tried connecting free access to api https://moz.rankious.com/_moz/help/links-api/v1-archive/v1-free-api-access to retrieve DA data. After several requests to the api I got a message: "Your monthly row limit reached" Can you tell me what this error is related to? Or Moz doesn't have free api access anymore?

    | Dima124dsfg
    1
  • Unsolved

    api page authority

    So I've been attempting to figure out Moz API to allow for batches of URLs to be searched and the data to be nicely put into a google sheet. I've setup the MOZ API for sheets add-on and everything appears to work, but after spot checking some of my data, I've found that for some reason, the page authority data returned by Moz API appears to be way off the actual number presented by other Moz tools, such as the tool bar and main site.
    Screenshot 2023-06-01 at 9.38.25 AM.png
    Screenshot 2023-06-01 at 9.41.43 AM.png As you can see, in this one example off my list, the returned PA value is 6 points lower than the value returned from the Moz tool bar and website analysis.
    If the data returned is incorrect, how is Moz API useful? Am I missing something? Would love some help or advice, as this tool would be very useful in a functioning state!

    | willadogy
    0
  • Unsolved

    domain authority

    Hello, can someone with API access please check it for me? I am told it is available here: http://moz.com/products/api/updates Thank you

    | archimede91
    0
  • Unsolved

    api planning

    We have questions regarding our subscription and the plan we are on. We are more interested in Mozscape API and not the features that we have access to currently. Will you let us know how we can change. Is there some one that we can chat with. Thanks,
    Naveen
    [email protected]

    | PatientPop
    0
  • Unsolved

    api urlmetrics google apps script error deserializing post body

    Hi, I'm trying to reproduce this Postman url_metrics request in Google Apps Script (GAS) : moz forum 2-2.jpg But in GAS, I get this error : moz-forum 2.jpg I suspect it's the body (line 90) that causes the issue, but can't figure out how to fix it. Any suggestion ?

    | adalako
    0
  • Unsolved

    api

    Looking to add a feature on my website to invite people to submit their domain to get an SEO score (and a report). How do I do that? I think it involves the Moz API but not sure.

    | mikeymosh
    0
  • Unsolved

    mozapi

    Hi Team
    Looking to share MOZ API credentials with DashThis - They provide an all in one reporting solution for all aspects of digital marketing.
    Does anyone use DashThis?

    | SkyrailCairns
    0
  • Unsolved

    api keywords

    Hi, my boss is asking if you "have any API for keyword research -- e.g., as soon as a user creates a card title in [our application], we can auto-recommend keywords from Moz within [the application]. I shared a link with him to your Links API page, but he says he doesn't think that API does the above. Can you help? Thank you, Renae

    | CarolinaRen
    0

  • Hello! Do the v1 API endpoints provide fresh data, or do I need to use the v2 endpoints for fresh data? According to the v1 API docs "This guide outlines the endpoints for now archived Mozscape API endpoints." Does this mean that the v1 API only serves archived data? Thanks!

    | peterkovacs
    0

  • Dear master,
    I can not get the results from API now. And also yesterday. My id is [email protected].

    | Feipo
    2

  • My website has gotten some bad and spammy links. I know how to disavow bad links from Google. But I reviewed Moz and haven't got any disavow option.
    Have any disavow option on Moz? How can I remove the bad links from Moz? Thanks

    | juanitajb9
    0

  • Hi Everyone! DA of my site dropped from 7 to 1. I don't know what is the reason behind it? Can you tell me what is the main reason of dropping down?

    | lucas7786
    1

  • I am trying to get all links that have a certain strings in their anchor text: I am using the python library: https://github.com/seomoz/SEOmozAPISamples/blob/master/python/lsapi.py Looking at the documentation, it says I can get the normalized anchor text by using the bit flag 8 for the LinkCols value: https://moz.rankious.com/_moz/help/guides/moz-api/mozscape/api-reference/link-metrics So I tried this: links = l.links('example.com', scope='page_to_domain', sort='domain_authority', filters=['external'], sourceCols = lsapi.UMCols.url, linkCols=8) But it doesn't return the expected 'lnt' response field or anything similar to the anchor text. How do I get the anchor text on the source URLs? I also tried 10 for the linkCols value, to get all the bit flags in the lf field as well as the anchor text. In both instances (and even with different variations of targetCols & sourceCols), this is all the fields that are returned: 'lrid', 'lsrc', 'luuu', 'uu', 'luupa', 'ltgt'

    | nbyloff
    0

  • UPDATE: We’ve made the tough decision to delay the launch of Page Authority 2.0 as our team investigates an unforeseen issue. **To learn more about the rigorous testing process and updates to the timeline, **check out this blog post. Hey there Moz family, We’re stoked to let you know about an upcoming change to a beloved metric — similar to our refresh of the Domain Authority algorithm last year, we’ve been working on developing an improvement to its sibling metric, Page Authority (also known as “PA”). Page Authority (PA) identifies the strength of a particular page (on a 1-100 scale) and its ability to rank in search results in comparison to other pages. PA is a Moz metric, and while it can be used as a good gauge of page strength and ranking potential, it is not used by search engines to determine ranking outcome. On September 30, 2020, we will release the new and improved Page Authority algorithm that will be updated in a similar fashion to last year’s update to DA. The updated algorithm will take into account more modern ranking factors to make the score even more accurate and predictive. We recognize that the update to the DA algorithm took time to communicate to clients and stakeholders, and we wanted to be sure to give you advance notice again this time around. We’ve created a number of resources to help you understand the what, the why, and the how of this update to PA. Let’s start with a few FAQs that you might be curious about! Why didn’t PA update when DA updated? Although many folks associate DA and PA with one another, the two metrics are calculated independently. We chose to update the two metrics separately in order to take the care that each metric deserved, and to provide the highest quality algorithm updates for the SEO community. Why is Moz changing the PA algorithm? As with our update to the DA algorithm, we want to ensure that you have confidence in our metrics and the predictions that they provide. Data integrity is an integral part of our tools and something that we hold in the highest regard. To be sure that PA can best reflect the potential for a page to rank on the SERP, we’re making the necessary improvements. What can I expect to see from the PA algorithm update? Many pages will see changes to their PA scores as a result of this algorithm update. While the changes to scores may be somewhat minimal, there is a possibility that some pages will see material change to their scores. The new PA algorithm takes into consideration Spam Score and link patterns, in addition to dozens of other factors, so your PA scores may see noticeable change if your pages have spammy or unnatural link patterns. How can I prepare for the update? As with any change to a metric that you know and love, we recommend getting in touch with your stakeholders to let them know of the upcoming update. For those who are used to seeing this metric in your SEO reports, giving them a heads-up will help them to prepare for any fluctuations they might see to PA scores once the new PA algorithm rolls out. We also recommend using this update as an opportunity to educate them on the use of Page Authority and how you might use this refreshed metric for future link building projects. Our resource center has a few helpful pieces of collateral that can support these conversations with stakeholders and clients. Is Page Authority an absolute score or a relative one? Page Authority should always be used as a relative metric, to compare the score of your pages to the scores of other sites’ pages. Link Explorer looks at over 7 trillion pages and 40 trillion links to inform the Page Authority metric that you see. As such, it is always a wise idea to use PA as a comparative score to understand where your page stacks up in comparison to the other pages that are present on the SERPs you care about. Will Domain Authority (DA) be impacted by this update? No, DA will not be affected by this update. This particular algorithm update is specific to Page Authority only. Will API users be affected at the same time? Yes, API users will see the update to Page Authority at the same time as users of Moz Pro. We’d love for you to check out our resource page for links to a slide deck, a whitepaper, and other helpful information. The full announcement blog post from Russ Jones can be found here. Happy to chat with you here in the Q&A thread, or feel free to send an email to [email protected] with any questions. Best, Igor

    | IgorJesovnik
    8

  • I have these websites https://www.interessanter.com/ and https://www.techniken.net/ I managed to create quality links and reach Ahrefs DR 46 and even TF 20 in a few months, but on my server logs, I haven´t seen any DOT bot logs. It only crawls you if you are linked to a very high DA site now? To be honest I placed here those links ask in order to see if that helps.  I remember that last year it wasn't like that. If someone can point me in the right direction to increase DA and PA I will really appreciate it. THANKS!

    | albertomr
    0

  • I'm using MOZ BAR extension . It's not working properly on this https://brokescholar.com Can anyone tell me that is it/not showing da...

    | sathoiue8
    0

  • Hi all! How to check what makes a score of 16% to the website, and what should be done to decrease the score? Regards,
    A

    | Rhedlina
    0

  • Have Do-follow backlinks and No-Follow backlinks same value to increase Domain Authority in Moz? Recently, I have created 290 profile backlinks which was do-follow. But from yesterday I have seen all backlinks are no-follow now according to the decision of sites' owners. My site's DA has already increased up to 35. Will this DA fall gradually from now? Apart from it, if I have created same backlinks for my another site; will my DA be 35? Please try to clarify it. My site is: https://kodnest.com Thanks. Waiting for your valuable answer from Moz official.

    | FrankJOwens
    0

  • I am Using Moz Pro just Installed Moz Addon in Google excel Sheets integrated properly with keys. But when I put Links for Bulk DA PA and Hit the Get Data within few seconds it says Error! Permission denied. Even My URLS are below 200 Links always giving this error. Any other way to use Moz API for Bulk DA PA Checking

    | Umair123321
    3

  • hi i want to know how many domain i can bulk check to get url-metric API?

    | MinnieCarnahan
    0

  • من از اسکیما استفاده می کنم. اما در سایت من نمایش داده نمی شود. به عنوان مثال " خرید ساعت " البته برخی از مطالب در سایت اصلی من ستاره دار شده اند. قابل مشاهده در آدرس: دیجی ساعت

    | aliyousefiisfsfs
    0

  • My question is how to index link in Moz fast?

    | Gandoo1
    0

  • According to the MOZ API documentation, I am able to update multiple Locations in a batch in order to create or update their location data, currently 130 locations. I have successfully created a batch and the API returned the $id, as I expected. Yet, it doesn't make clear how the multiple locations I want to update are supposed to be sent back to the API. I was expecting an upload of a CSV file or JSON data, and not Query Parameter as noted in the docs. When including a JSON file, properly formatted, as a binary upload, the response is still expecting a locations parameter. See error here: {     "status":"MISSING_PARAMETER",     "message":"locations missing. ",     "response": {          "locations":"MISSING_PARAMETER"                                }     } https://moz.rankious.com/_moz/developers/docs/local/api#_api_batch__id-PATCH

    | yuca.pro
    1

  • 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.

    | Groupespr
    2

  • When I click into the moz bar on our website www.essexparts.com it shows that the URL is Canadian and shows a Canada flag.  The website and company are in the US.  Can someone please explain this? Also does the location have any bearing on how it shows up in google? XNQOQoJ

    | Tindol
    0

  • Getting error in https://lsapi.seomoz.com/v2/url_metrics API I'm using Basic Auth for authentication. {    "name": "Bad Request",    "message": "Error deserializing POST body"} CVW2T4f

    | verdet3232
    1

  • I dont find a chat option in the MOZ site. Is it available so i could chat with some expertise on MOZ API integration

    | Dotcomcontent
    0

  • I am unable to understand which particular API  used to get the backlinks. And how cost is calculated. Suppose I Hit the API one time it gave me 100 backlinks of a particular domain. Does that mean i used 100 rows?

    | maxfun0007
    0

  • I'm assuming that moz assign a unique internal id to each page, subdomain and root_domain. When making v2/links requests, are these moz-specific ids available? Currently, when gathering backlinks for a client we're generating our own ids. Maintaining uniqueness is costly time-wise. "results": [{
                "source": {
                    "page": "news.energysage.com/pros-cons-electric-water-heaters/",
                    "subdomain": "news.energysage.com",
                    "root_domain": "energysage.com", ... "target": {
                    "page": "mainlineplumbing.net.au/",
                    "subdomain": "mainlineplumbing.net.au",
                    "root_domain": "mainlineplumbing.net.au",

    | StevePoul
    0

  • We are looking for the Technical Support Contact Number or Live Chat option, we are facing a critical issue with Moz matrix and Its formulas We need  solution on priority

    | JayNahar
    0

  • I am using different tools to check the bulk da pa of any site. but on every tool, it says incorrect access id or secret key. What is the solution?

    | RobertMusselman
    0

  • Are there tools to embed on website to serve as initial lead gen opportunities? Like a site audit?

    | Cobblerocks
    0

  • If my site doesn't have contact and about page then will my site get Moz spam?

    | vijesh32
    2

  • Hi, I'm using the free access to the Mozscape API and while I'm still a novice about what data the Mozscape API can pull I can't seem to figure how to pull the keyword rankings for my campaigns. I reviewed https://moz.rankious.com/_moz/help/guides/moz-api/mozscape/api-reference/url-metrics but can't seem to find what value I need to call. Can someone guide me in the right direction or is this something only the paid version has access to?

    | FPK
    0

  • Update: Domain Authority 2.0 has arrived! Check it out over in Link Explorer or in your Campaigns, and visit our resource center for more information about the change. Hey Moz friends, I’m excited to share some news from the Moz product team. In the last few months our team of data scientists have been hard at work developing an improvement to one of the favorite SEO metrics used in digital marketing: Domain Authority, also referred to as “DA.” On March 5, 2019, we’ll release the new and improved Domain Authority algorithm, which includes a number of new factors that make this score even more accurate, trustworthy, and predictive than ever before. Having worked with marketing clients in the past and reported on Domain Authority during monthly reviews, I wanted to make sure we give our community enough advance notice to understand what is changing, why it’s changing, and what it might mean for your reporting.  Sudden, unexpected fluctuations in any core metric you use in reporting have the potential to make your job more difficult, so we want to help you start the conversation about this change with your stakeholders. Let’s start with the “why” ... Why is Moz changing the DA algorithm? The Search Engine Results Page (SERP) is constantly changing. Rankings change and the algorithms that drive those rankings change. For Moz to ensure you have the most accurate prediction possible, it means we need to update our algorithm from time to time to ensure it delivers on its promise. You trust Moz, in part, because of the accuracy of the data we create. We want to make sure that we’re providing you with the best data to make your work easier. To ensure that DA continues to accurately predict ability of sites to rank, and to remain reliable over time, we’ve decided to make some improvements. What can I expect from the DA algorithm update? Many sites should expect to see a change to their current Domain Authority score. Depending on the site, this change might be insignificant, but it’s possible the new algorithm will cause material adjustments. The new Domain Authority takes into consideration a number of additional factors, such as link pattern identification and Moz’s Spam Score metric, to help you deploy your SEO strategy. How can I prepare for this algorithm update? I recommend that you reach out to your stakeholders or clients prior to the March 5th launch to discuss this upcoming change. This can be an opportunity to both refresh them on the utility of Domain Authority, as well as plan for how to use it for additional link building or ranking projects. Visit this page to check out resources that may help you to have conversations with your stakeholders. If you feel inclined to save a snapshot of your current Domain Authority and history, you can consider exporting your historical data from your Moz Pro account. Is historical data changing? Yes. When the new DA algorithm goes into place, all historical data will be affected. However, for anyone who has an active Moz Pro campaign, you will be able to see a historical representation of the old DA line for reference for an interim period. As the “Metrics over time” chart is designed to help track your work over time, we believe applying the update to both past and present DA scores will help you to best track linear progress. Is Domain Authority an absolute score or a relative one? Domain Authority is a relative, comparative metric. Moz evaluates over 5 trillion pages and greater than 35 trillion links to inform Domain Authority. Your site’s links are evaluated amongst those trillions of links. Because of this, it is important to compare your DA to your competition, peers, and other sites that show up in search results important to your strategy. In terms of how to use Domain Authority, nothing is changing. If you use it to evaluate domains to purchase, it will function exactly the same. If you use it to find hidden keyword ranking opportunities, it will still be your best friend. It’s the same trusty tool you used before — we just sharpened for you. I saw a change to my DA when Link Explorer launched last April. What’s the difference between that change and this one? In April 2018, Moz released its new link index along with its new research tool, Link Explorer. Because the link index was so much larger than the previous index, and because Domain Authority is based on attributes discovered in that index, scores changed. Any changes that occurred were due to the upgrade of that link index, not how the algorithm calculated scores. The change coming in March 2019 will be an actual algorithm update to how Domain Authority is calculated. How will Page Authority (PA) be affected by this update? Page Authority will not be impacted by the March 2019 update. This particular algorithm update is specific to Domain Authority only. Will API users be affected at the same time? Yes. The Domain Authority metric in all of our products, including our API, will be affected by this update on March 5th. Check out this page for more resources about the Domain Authority algorithm update. You can also read more here in Russ Jones’s announcement post on the blog. We’d love to hear from you here in this Q&A thread, or you can send an email over to [email protected] with any questions.

    | BrianChilds
    22

  • Hello, I am not able to signup for MOZscape API, I am getting error while signing up for MOZScape API under free trial. https://moz.rankious.com/_moz/checkout/api   --> Getting error here, please help. Thanks.

    | rahul2k11in
    0

  • Is there a way to pull data from Moz into other applications, such as Databox? If possible, how do I set this up?

    | jenmilehigh
    1

Got a burning SEO question?

Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


Start my free trial


Looks like your connection to Moz was lost, please wait while we try to reconnect.