DataSiteLinkStatusFetch

⌘K

Use this endpoint to get the status of a link from a source to a target.

JSON-RPC Method:

data.site.link.status.fetch
Go to Example Code

Request

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.


Response

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": "latimes.com",
5      "scope": "domain"
6    },
7    "site_query_suggestion": null,
8    "query": "https://latimes.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}

Example Code

Quota Usage

Uses one row per call.

api.limits.data.rows