V1 Anchor Text

Anchor Text Metrics [Archive of V1 Endpoints]

This guide outlines the endpoints for now archived Mozscape API endpoints. The new Moz Links API endpoints are available here.

The anchor-text endpoint returns anchor text for inbound links. Data from this endpoint is only available with paid API subscriptions- free API accounts do not have access to this endpoint.

Response Fields

Response fields for anchor-text consist of a prefix, determined by the Scope parameter, and a suffix, determined by the bit flag value of Cols.

Parameters

Scope

Moz Links API allows one Scope per call, and the scope call is required.

ScopeResponse Field PrefixDescription
phrase_to_pageapu*Returns phrases found in links to the target URL
phrase_to_subdomainapf*Returns phrases found in links to the subdomain of the target URL
phrase_to_domainapp*Returns phrases found in links to the root domain of the target URL
term_to_page

[Deprecated]

atu*Returns terms found in links to the target URL

Please note, this field no longer returns results and is considered deprecated.

term_to_subdomain

[Deprecated]

atf*Returns terms found in links to the subdomain of the target URL

Please note, this field no longer returns results and is considered deprecated.

term_to_domain

[Deprecated]

atp*Returns terms found in links to the root domain of the target URL

Please note, this field no longer returns results and is considered deprecated.

Filter

Links API accepts only one Filter value for anchor-text calls which is external.

Limit and Offset

The default value of Limit is 25. The maximum value is 50.

Anchor Text MetricBit FlagResponse FieldDescription
Term or Phrase2*tThe anchor text term or phrase
External Pages Linking32*euThe number of external pages linking to the target URL containing this term or phrase
External Subdomains Linking

[Deprecated]

64*efThe number of external subdomains with at least one link to the target URL containing this term or phrase

Please note, this field no longer returns results and is considered deprecated.

External Root Domains Linking128*epThe number of external root domains with at least one link to the target URL containing this term or phrase
External MozRank Passed

[Deprecated]

512*empThe amount of MozRank passed over all external links with this term or phrase (on a normalized 10-point scale)

Please note, this field no longer returns results and is considered deprecated.

Sample Request

          
<p>&lt;code&gt;http://lsapi.seomoz.com/linkscape/anchor-text/moz.com%2fblog?Cols=34&amp;Scope=term_to_page&amp;Limit=4&amp;AccessID=member-cf180f7081&amp;Expires=1225138899&amp;Signature=LmXYcPqc%2BkapNKzHzYz2BI4SXfC%3D&lt;/code&gt;</p>
        

This call requests terms or phrases contained in anchor text linking to the target URL, moz.com/blog, as well as the number of external pages (per root domain) linking to the target URL.

The example above returns the following response fields:

          
<p><code>[{"atueu":33,"atut":"moz"},{"atueu":44809,"atut":"blog"},{"atueu":44776,"atut":"seo"},{"atueu":0,"atut":"http://moz.com/blog"}]</code></p>
        

atueu is composed of the prefix atu and the suffix eu. atu is the response field prefix for Scope=term_to_page. eu is the suffix for Cols=32 (The number of external pages linking to the target URL containing this term or phrase).

Moz Links APi returns:

  • A maximum of 4 results (Limit=4) for anchor text contained in links (Cols = 2) to the target URL;
  • The number of external pages on the root domain linking to the target URL (Cols = 32; 2 + 32 = 34, therefore Cols=34)
  • The canonical form of source URLs (SourceCols=4) containing anchor text terms in links to the target URL (Scope=term_to_page)
  • Results sorted in descending order by the number of unique root domains linking to the target URL with a word or phrase

Related Articles


Woo! 🎉
Thanks for the feedback.

Got it.
Thanks for the feedback.