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. Moz Tools
    4. Why does Linkscap API request hang while extracting data ?

    Why does Linkscap API request hang while extracting data ?

    Moz Tools
    5 2 519
    • 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.
    • Ravi_Pathak
      Ravi_Pathak last edited by

      Hi,

      I am using LinkScape API to get follow and nofollow links .

      I use cron to get data for each url of sitemap.xml.

      However while cron is running, the extraction of data hangs on some pages which i later need to delete manually for re starting the execution.

      Do anyone have any idea why this is happening ? How can i ignore such pages ?

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

        Hey! This is an issue I haven't heard of before - would you be able to provide anymore information like an example query to the API and some of the pages you are seeing hang?

        Thanks!

        Carin

        Ravi_Pathak 1 Reply Last reply Reply Quote 0
        • Ravi_Pathak
          Ravi_Pathak @carinoverturf last edited by

          Some pages are the pages which are moved or not found. I am trying to ignore such pages by getting http response code. But this process takes large amount of time. Almost 10 minutes for a single url of sitemap.xml.

          The url of call is like : (php)

          http://lsapi.seomoz.com/linkscape/links/URL HERE?SourceCols=4&TargetCols=4&Scope=page_to_page&Sort=page_authority&Limit=1000&Filter=follow&AccessID=" . $accessID . "&Expires=" . $expires . "&Signature=" . $urlSafeSignature;

          Thanks .

          carinoverturf Ravi_Pathak 2 Replies Last reply Reply Quote 0
          • carinoverturf
            carinoverturf @Ravi_Pathak last edited by

            Hey Ravi,

            Sorry for the delayed response - I wanted to follow up with the engineers to see if they had any suggestions for you.

            They agreed the Limit parameter set to 1,000 might be too large to process. Have you tried adjusting that to 300 or even 500? Do you see better success at a lower limit?

            Our system will timeout at about 60 seconds so I'm not sure if the hanging is on our end. If dropping the limit size doesn't help, you might want to think about ending the request after about a minute. Sometimes requests that are too long wil timeout, but work fine on a retry as some data will be cached from the previous request.

            I hope this information is helpful, but let me know if you're still experiencing issues!

            Thanks,
            Carin

            1 Reply Last reply Reply Quote 0
            • Ravi_Pathak
              Ravi_Pathak @Ravi_Pathak last edited by

              Hi...

              Thank you so much for your reply..

              I was implementing  the changeswhich may work.. but they didn't.

              I recently came to know about updates to seomoz api which are like,

              • SEOmoz Free API: 1 request for every 10 seconds
              • Free Extended and PRO Members: 1 request every 5 seconds
              • SEOmoz Site Intelligence API: 1 request every 2 seconds

              I think this will help me a lot .. thank you ..

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Linkscape API Sort calls
                Peterli
                Peterli
                0
                2
                85

              • Can I calculate "Keyword Difficulty" metric using Mozscape API data?
                JesseCWalker
                JesseCWalker
                0
                4
                1.2k

              • Free API
                KeriMorgret
                KeriMorgret
                0
                2
                774

              • GWT data v SEO Moz data
                MrPaulB
                MrPaulB
                0
                3
                410

              • GWT data v SEO Moz data
                KeriMorgret
                KeriMorgret
                0
                2
                436

              • A suggestion to help with linkscape crawling and data processing
                katemats
                katemats
                1
                3
                762

              • Toolset Q.) Re. Linkscape - How is the External Links (link juice) calculated in the API?
                RyanPurkey
                RyanPurkey
                0
                2
                999

              • Historical Linkscape/OSE data available?
                BonsaiMediaGroup
                BonsaiMediaGroup
                0
                5
                1.2k

              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