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 Pro
    4. Domain_to_domain api call syntax

    Domain_to_domain api call syntax

    Moz Pro
    2 2 138
    • 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.
    • VISISEEKINC
      VISISEEKINC last edited by

      I am trying to construct an api call that lists the top authority link from each domain.

      This page_to_page call works

      http://lsapi.seomoz.com/linkscape/links/www.jbwebanalytics.com?SourceCols=4&TargetCols=4&Scope=page_to_page&Limit=400&AccessID=membexxx&Expires=xxx&Signature=xxx

      This domain_to_domain does not

      http://lsapi.seomoz.com/linkscape/links/www.jbwebanalytics.com?&Scope=domain_to_domain&Limit=400&AccessID=member-xxx1&Expires=xxx&Signature=xxx

      I'm plum out of ideas why? Anyone know?

      The Idea output is the single highest authority link for all linking domains

      thanks!

      Brian

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

        Hey Brian,

        Thanks for the question. I first want to show you our API developer forum which is your best resource for API support right now.

        https://seomoz.zendesk.com/forums/293196-Developer-Discussion-Group

        Second, to answer your question, you'll need to make sure you are including both a scope AND a sort in your domain_to_domain calls. It should be formatted more like this:

        http://lsapi.seomoz.com/linkscape/links/www.jbwebanalytics.com?AccessID=member-XXXXX&Expires=XXXXX&Signature=XXXXX&Scope=domain_to_domain&Sort=domain_authority&Limit=400

        I hope that helps. I'll see you in the API forum. 🙂
        Cheers,
        Joel.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Syntax for canonical tag for a default page in a sub directory (not subdomain) of a web site?
          dcmike
          dcmike
          0
          4
          58

        • Difference between SEOmoz Pro and Mozscape API
          rarcntv
          rarcntv
          0
          10
          872

        • Api for accessing project data
          ThompsonPaul
          ThompsonPaul
          0
          4
          238

        • Learn SEOmoz API (and more)?
          AdamThompson
          AdamThompson
          0
          4
          301

        • Using api to find likes, tweets and shares
          MeganSingley
          MeganSingley
          0
          2
          368

        • How to get the total external links to a page and total external links to the domain using Mozscape API? I could not see an option in the bit flags
          HQP
          HQP
          0
          7
          1.5k

        • About Links API
          carinoverturf
          carinoverturf
          0
          2
          568

        • Campaign data via API
          Campaignium
          Campaignium
          0
          9
          739

        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