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. Wrong answers for API request

    Wrong answers for API request

    API
    4 3 2.8k
    • 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.
    • Lobtec
      Lobtec last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • IanWatson
        IanWatson last edited by

        Hey Mathias,

        That is an odd one. Have you double checked that your code is still working as it should? I now you mentioned you have not touched the code, but bugs can seemingly arise out of nowhere. There is also a chance that the sites you are requesting data on have not yet been crawled and do currently rank as 0s. Would you mind sharing a URL that returns that data? Feel free to email me directly - IanW@moz.com

        Cheers!

        Ian

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

          Just as Ian says - this is definitely that:

          • page doesn't exists
          • page doesn't crawled
          • both of above
          • other

          Example - try to get statistic for this page:
          https://moz.com/page-not-exists/
          and check results. If you get same results - then this isn't API fault.

          1 Reply Last reply Reply Quote 2
          • Lobtec
            Lobtec last edited by

            Thanks for the answers. Haven't had those figures earlier but I guess you are right. Didn't handle them correctly.

            I guess it was a mistake from my part. Thanks again.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • MOZ API - Search Visibility
              thomas.deruiter
              thomas.deruiter
              0
              3
              223

            • Is There any API from FourSqaure that allow us directly feeding business listings into it , Moz is doing same , so there must be some API?
              Vijay-Gaur
              Vijay-Gaur
              0
              3
              77

            • API - Row Limit Question
              MattHopkins
              MattHopkins
              0
              3
              364

            • Keywords API
              MattRoney
              MattRoney
              0
              4
              994

            • Does on-page grader have an API ?
              BlueprintMarketing
              BlueprintMarketing
              0
              5
              864

            • How to get backlinks with the API
              DavidLee
              DavidLee
              0
              25
              4.4k

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

            • Authentication Request From iOS
              DavidLee
              DavidLee
              0
              2
              193

            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