-
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
Data > Site > Link
Get Link Status
JSON-RPC Method:
data.site.link.status.fetchUse this endpoint to get the status of a link from a source to a target.
The data for the data.site.link.status.fetch action.
target_site_query
object
Specify the target to check for an existing link.
source_site_query
object
Specify the source to check for an existing link.
Examples marked Free use no quota when you run them as-is. Learn more about free example queries
target_site_query
object
The provided target site query.
source_site_query
object
The provided source site query.
exists
boolean
Whether or not a link exists from the source to the target.
1{
2 "target_site_query": {
3 "original_site_query": {
4 "query": "getstat.com",
5 "scope": "domain"
6 },
7 "site_query_suggestion": null,
8 "query": "https://getstat.com",
9 "scope": "domain"
10 },
11 "source_site_query": {
12 "original_site_query": {
13 "query": "moz.com",
14 "scope": "domain"
15 },
16 "site_query_suggestion": null,
17 "query": "https://moz.com",
18 "scope": "domain"
19 },
20 "exists": true
21}Uses one row per call.
The free example (a link from moz.com to getstat.com) uses zero rows, but still requires access to the Moz API row quota.
api.limits.data.rows