V1 Anchor Text
Anchor Text Metrics [Archive of V1 Endpoints]
This guide outlines the endpoints for now archived Moz API V1 endpoints. The Moz API V2 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 API V1 allows one Scope per call, and the scope call is required.
Scope | Response Field Prefix | Description |
---|---|---|
phrase_to_page | apu* | Returns phrases found in links to the target URL |
phrase_to_subdomain | apf* | Returns phrases found in links to the subdomain of the target URL |
phrase_to_domain | app* | 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
Moz API V1 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 Metric | Bit Flag | Response Field | Description |
---|---|---|---|
Term or Phrase | 2 | *t | The anchor text term or phrase |
External Pages Linking | 32 | *eu | The number of external pages linking to the target URL containing this term or phrase |
External Subdomains Linking [Deprecated] | 64 | *ef | The 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 Linking | 128 | *ep | The number of external root domains with at least one link to the target URL containing this term or phrase |
External MozRank Passed [Deprecated] | 512 | *emp | The 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><code>http://lsapi.seomoz.com/linkscape/anchor-text/moz.com%2fblog?Cols=34&Scope=term_to_page&Limit=4&AccessID=member-cf180f7081&Expires=1225138899&Signature=LmXYcPqc%2BkapNKzHzYz2BI4SXfC%3D</code></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 API V1 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, thereforeCols=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
Was this article helpful?
Yes! Amazing! Yes! It was what I needed. Meh. It wasn’t really what I was looking for. No, it wasn’t helpful at all.
Thanks for the feedback.