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. Sample API call error

    Sample API call error

    API
    5 2 478
    • 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.
    • Sreenivas.Bathula
      Sreenivas.Bathula last edited by

      from mozscape import Mozscape
      client = Mozscape('xxxxx', 'xxxxx')
      # Now for some anchor text results anchorResults = client.anchorText('http://www.moz.com')
      # Or for just specific columns anchorTermResults = client.anchorText('http://www.moz.com', cols=Mozscape.ATCols.term)
      
      this is the error I am getting
      
      **mozscape.MozscapeError: HTTP Error 403: Permission denied: fpalgkadgnamhiblgpakemcfeedbebdcfk**
      
      
      My python is installed in appdata/local/programs and it is an enterprise environment. 
      
      Thank you in advance!
      
      1 Reply Last reply Reply Quote 0
      • DavidLee
        DavidLee last edited by

        Hello!

        Anchor text requires a paid API plan in order to access the data as well as Top Pages. Free API access only allows URL metrics and Link Metrics calls.

        1 Reply Last reply Reply Quote 0
        • Sreenivas.Bathula
          Sreenivas.Bathula last edited by

          Hello David,

          I am receiving that error for any api call. Also Our enterprise has a paid API subscription.

          Regards

          Sreenivas

          1 Reply Last reply Reply Quote 0
          • DavidLee
            DavidLee last edited by

            Can you email the full URL call your app is generating to help@moz.com?

            1 Reply Last reply Reply Quote 0
            • Sreenivas.Bathula
              Sreenivas.Bathula last edited by

              Just did.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • MOZscape API Signup "An unknown error has occurred"
                samantha.chapman
                samantha.chapman
                0
                2
                49

              • Crawl error HELP!
                Vijay-Gaur
                Vijay-Gaur
                2
                3
                46

              • MOZ API - metadata permission error
                DavidLee
                DavidLee
                1
                2
                913

              • Error Code 803
                Lowaire
                Lowaire
                0
                3
                463

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

              • 3 result limit to Top Pages API call
                DavidLee
                DavidLee
                0
                5
                316

              • Moz API, "Keyword Difficulty" and Bing Search Volume? And API "rows" and "requests"
                DavidLee
                DavidLee
                0
                4
                1.3k

              • 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