-
SEO Learning Center
Broaden your SEO knowledge with resources for all skill levels.
-
The Beginner's Guide to SEO
If you're brand new to SEO, start here.
-
SEO Q&A
Get answers from the Moz Community.
-
Free Downloads and More
Quick access to whitepapers, reports, guides, webinars, and case studies.
-
Help Hub
Learn how to use Moz products.
-
Community & Events
Connect with over 600k online marketers.
-
SEO Training
Instructor-led classes and seminars
DataSiteLinkFilterDomain
Use this endpoint to find links pointing to a target only if they originate from a particular root domain. Results sorted by descending page authority.
JSON-RPC Method:
data.site.link.filter.domain
site_query
object
A SiteQuery provides a target URL along with a scope to define how the query is parsed.
domain_site_query
object
Specify the source domain to filter by. Must be a fully resolved site_query with a scope of domain.
options
object
Options for filtering links by domain.
offset
object
Limit and pagination controls. Optionally specify the total number of desired results and, after the first request has been made, access results on the next page of results.
site_query
object
Represents a parsed site query.
domain_site_query
object
Represents a parsed site query.
offset
object
Represents the token to provide to get the next set of results, in addition to the token that was provided (if applicable).
links
array
source_site_metrics
object
Represents a Site Metrics object.
target_site_metrics
object
Represents a Site Metrics object.
anchor_text
string
The anchor text of the link.
date_first_seen
string
The date the link was first seen.
date_last_seen
string
The date the link was last seen.
date_disappeared
string | null
The date the link disappeared.
nofollow
boolean
Whether the link is a nofollow link.
redirect
boolean
Whether the link is a redirect link.
rel_canonical
boolean
Whether the link is a rel-canonical link.
via_redirect
boolean
Whether the link is a via redirect link.
via_rel_canonical
boolean
Whether the link is a via rel-canonical link.
options
object
Echoes back the parameters provided in the original request.
1{
2 "site_query": {
3 "query": "https://getstat.com",
4 "scope": "domain",
5 "original_site_query": {
6 "query": "getstat.com",
7 "scope": "domain"
8 },
9 "site_query_suggestion": null
10 },
11 "domain_site_query": {
12 "original_site_query": {
13 "query": "getstat.com",
14 "scope": "domain"
15 },
16 "site_query_suggestion": null,
17 "query": "https://getstat.com",
18 "scope": "domain"
19 },
20 "offset": {
21 "provided_token": null,
22 "token": "AW5SUhawd1xt",
23 "limit": 1
24 },
25 "links": [
26 {
27 "source_site_metrics": {
28 "page": "ahrefs.com/blog/featured-snippets-study/",
29 "subdomain": "ahrefs.com",
30 "root_domain": "ahrefs.com",
31 "title": "Ahrefs' Study Of 2 Million Featured Snippets: 10 Important Takeaways",
32 "last_crawled": "2025-05-02",
33 "http_code": 200,
34 "pages_to_page": 4549,
35 "nofollow_pages_to_page": 684,
36 "redirect_pages_to_page": 30,
37 "external_pages_to_page": 4448,
38 "external_nofollow_pages_to_page": 678,
39 "external_redirect_pages_to_page": 20,
40 "deleted_pages_to_page": 1125,
41 "root_domains_to_page": 2043,
42 "indirect_root_domains_to_page": 69,
43 "deleted_root_domains_to_page": 325,
44 "nofollow_root_domains_to_page": 327,
45 "pages_to_subdomain": 18899682,
46 "nofollow_pages_to_subdomain": 556711,
47 "redirect_pages_to_subdomain": 358104,
48 "external_pages_to_subdomain": 3255512,
49 "external_nofollow_pages_to_subdomain": 553096,
50 "external_redirect_pages_to_subdomain": 125457,
51 "deleted_pages_to_subdomain": 6107340,
52 "root_domains_to_subdomain": 117014,
53 "deleted_root_domains_to_subdomain": 22689,
54 "nofollow_root_domains_to_subdomain": 25198,
55 "pages_to_root_domain": 20148211,
56 "nofollow_pages_to_root_domain": 722423,
57 "redirect_pages_to_root_domain": 362303,
58 "external_pages_to_root_domain": 3584203,
59 "external_indirect_pages_to_root_domain": 244418,
60 "external_nofollow_pages_to_root_domain": 574639,
61 "external_redirect_pages_to_root_domain": 126856,
62 "deleted_pages_to_root_domain": 6718900,
63 "root_domains_to_root_domain": 120595,
64 "indirect_root_domains_to_root_domain": 1387,
65 "deleted_root_domains_to_root_domain": 23821,
66 "nofollow_root_domains_to_root_domain": 25643,
67 "page_authority": 64,
68 "domain_authority": 85,
69 "link_propensity": 0.005104495212,
70 "spam_score": 1,
71 "root_domains_from_page": 13,
72 "nofollow_root_domains_from_page": 2,
73 "pages_from_page": 18,
74 "nofollow_pages_from_page": 3,
75 "root_domains_from_root_domain": 3767,
76 "nofollow_root_domains_from_root_domain": 465,
77 "pages_from_root_domain": 19539,
78 "nofollow_pages_from_root_domain": 7034,
79 "pages_crawled_from_root_domain": 737977
80 },
81 "target_site_metrics": {
82 "page": "getstat.com/blog/featured-snippets/",
83 "subdomain": "getstat.com",
84 "root_domain": "getstat.com",
85 "title": "",
86 "last_crawled": "2025-05-05",
87 "http_code": 301,
88 "pages_to_page": 858,
89 "nofollow_pages_to_page": 170,
90 "redirect_pages_to_page": 4,
91 "external_pages_to_page": 856,
92 "external_nofollow_pages_to_page": 170,
93 "external_redirect_pages_to_page": 4,
94 "deleted_pages_to_page": 137,
95 "root_domains_to_page": 454,
96 "indirect_root_domains_to_page": 54,
97 "deleted_root_domains_to_page": 76,
98 "nofollow_root_domains_to_page": 86,
99 "pages_to_subdomain": 49331,
100 "nofollow_pages_to_subdomain": 3438,
101 "redirect_pages_to_subdomain": 4153,
102 "external_pages_to_subdomain": 42457,
103 "external_nofollow_pages_to_subdomain": 3438,
104 "external_redirect_pages_to_subdomain": 213,
105 "deleted_pages_to_subdomain": 8138,
106 "root_domains_to_subdomain": 4222,
107 "deleted_root_domains_to_subdomain": 1448,
108 "nofollow_root_domains_to_subdomain": 730,
109 "pages_to_root_domain": 68901,
110 "nofollow_pages_to_root_domain": 3790,
111 "redirect_pages_to_root_domain": 4248,
112 "external_pages_to_root_domain": 52073,
113 "external_indirect_pages_to_root_domain": 13366,
114 "external_nofollow_pages_to_root_domain": 3788,
115 "external_redirect_pages_to_root_domain": 217,
116 "deleted_pages_to_root_domain": 16138,
117 "root_domains_to_root_domain": 5282,
118 "indirect_root_domains_to_root_domain": 27,
119 "deleted_root_domains_to_root_domain": 984,
120 "nofollow_root_domains_to_root_domain": 765,
121 "page_authority": 49,
122 "domain_authority": 46,
123 "link_propensity": 0.004296754021,
124 "spam_score": 4,
125 "root_domains_from_page": 0,
126 "nofollow_root_domains_from_page": 0,
127 "pages_from_page": 0,
128 "nofollow_pages_from_page": 0,
129 "root_domains_from_root_domain": 139,
130 "nofollow_root_domains_from_root_domain": 0,
131 "pages_from_root_domain": 473,
132 "nofollow_pages_from_root_domain": 0,
133 "pages_crawled_from_root_domain": 32350
134 },
135 "anchor_text": "a recent study from getstat",
136 "date_first_seen": "2018-07-07",
137 "date_last_seen": "2025-05-02",
138 "date_disappeared": "2023-01-13",
139 "nofollow": false,
140 "redirect": false,
141 "rel_canonical": false,
142 "via_redirect": false,
143 "via_rel_canonical": false
144 }
145 ],
146 "options": {
147 "sort": "source_page_authority",
148 "filters": [
149 "external",
150 "follow"
151 ]
152 }
153}
Uses one row per returned result.
api.limits.data.rows