DataSiteLinkStatusFetchMultiple

⌘K

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

JSON-RPC Method:

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

Request

The payload for the `data.site.link.status.fetch.multiple` action.

queries

array

target_site_query

object

A SiteQuery provides a target URL along with a scope to define how the query is parsed.

source_site_query

object

A SiteQuery provides a target URL along with a scope to define how the query is parsed.

1{
2  "queries": [
3    {
4      "target_site_query": {
5        "query": "moz.com/blog",
6        "scope": "url"
7      },
8      "source_site_query": {
9        "query": "facebook.com",
10        "scope": "domain"
11      }
12    },
13    {
14      "target_site_query": {
15        "query": "moz.com",
16        "scope": "domain"
17      },
18      "source_site_query": {
19        "query": "facebook.com/about",
20        "scope": "url"
21      }
22    }
23  ]
24}

Response

results_by_query

array

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.

errors_by_query

array

target_site_query

object

Represents a parsed site query.

source_site_query

object

Represents a parsed site query.

error

object

An error returned from the API.


Example Code

Quota Usage

Uses one row per returned result.

api.limits.data.rows