The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. API
    4. The difference between api value and screen value

    The difference between api value and screen value

    API
    5 2 312
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • orange002
      orange002 last edited by

      When I check the two parameters (PA and DA values) actually, these values often differ from those which I receive from your API.
      Why does it happen?
      
      1 Reply Last reply Reply Quote 1
      • Mobilio
        Mobilio last edited by

        Dev that use API here.

        Yes - they're different sometimes because rounding. In OSE you get numbers as PDA 25.294393094636707 and UPA 36.15102264746345. And Moz OSE round them to 25 and 36. This is ok. But on mine other site bgdn.net as response get{"pda":22.949587785824708,"upa":27.22655880092715}. OSE shows 23 and 27.

        If you post some URL with difference here we can debug and see difference.

        orange002 1 Reply Last reply Reply Quote 2
        • orange002
          orange002 @Mobilio last edited by

          I don't think the difference I observed came from rounding because it varied quite more than the difference of rounding range!
          
          For instance, in the domain of "yyxysh.com", I observed UPA as 17 directly via OSE. On the other hand, API output UPA as 21.1856379084366.
          In another case, in the domain of "zaegi.com", I confirmed 27 via OSE in contrast to 13.3390259088872 via API.
          
          I assume such a difference doesn't come from a time lag because API refreshes the current values such as UPA within 1 hour before or after OSE refreshes.
          I found about 50% of samples encountered such a value difference after my investigation for a few days.
          
          Therefore, I hope you would give me additional advice or cause about the phenomenon.
          Thank you very much for your help in advance.
          
          Mobilio 1 Reply Last reply Reply Quote 0
          • Mobilio
            Mobilio @orange002 last edited by

            Redirects:
            yyxysh.com -> DA=8; UPA = 17 in OSE, API {"pda":7.946532082305239,"upa":16.535296818533226}
            www.yyxysh.com -> DA=8; UPA=21; {"pda":7.946532082305239,"upa":21.185637908436604}

            zaegi.com -> 17/27; {"pda":17.31598169835115,"upa":27.430491280580874}
            www.zaegi.com -> 17/13; {"pda":17.31598169835115,"upa":13.339025908887258}

            As you can see API and OSE works. But checking different domain screw test. Please check your software did add "www" in beginning of checks? Because mine tests shows that it ADD it.

            If you have Mac then you can use mine SEOAuditor very small app that return few important metrics:
            http://www.mobiliodevelopment.com/seoauditor/
            Actual API examples are from it. I just enable "debug log" to get raw results.

            orange002 1 Reply Last reply Reply Quote 1
            • orange002
              orange002 @Mobilio last edited by

              Thanks for the response! And thanks for the advice!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Where can i find my api key
                TimHolmes
                TimHolmes
                0
                2
                1.6k

              • Mozscape API - Keyword Rankings?
                2uinc
                2uinc
                0
                8
                1.3k

              • Wrong answers for API request
                Lobtec
                Lobtec
                0
                4
                2.8k

              • API for crawl reports?
                IanWatson
                IanWatson
                0
                3
                206

              • Keywords API
                MattRoney
                MattRoney
                0
                4
                994

              • API Limit Question
                hectormainar
                hectormainar
                0
                3
                1.4k

              • About Expiry of MOZ API authentication and MOZ API call in .NET application
                DavidLee
                DavidLee
                0
                2
                677

              • Is there a reports Api?
                JoelDay
                JoelDay
                0
                2
                50

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy