Backlink Checker
Backlink Checker API provides endpoints to retrieve, manage, import, group, and disavow backlinks, as well as monitor backlink import status and statistics.
List backlinks
GET https://api4.seranking.com/backlinks/{site_id}
Retrieves a paginated list of backlinks for the specified website.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| limit | Integer | No | Number of backlinks to return (max 1000). |
| offset | Integer | No | Number of backlinks to skip before starting to collect the result set. |
Request example
curl --location --request GET 'https://api4.seranking.com/backlinks/12345?limit=100&offset=100' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 200 HTTP status code and an array of backlink objects. Returns HTTP 403 if site_id is wrong (for more information, see Error handling).
Each backlink object has the following structure:
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Unique backlink identifier. |
| anchor | String | Backlink anchor text. |
| category | String | Target backlink category. |
| charge_period | String | Charging period (onetime, monthly, quarterly, 6months, year). |
| charge_start | String | Payment start date. |
| date_added | String | Date when the backlink was added. |
| date_lost | String | Date when the backlink was lost. |
| date_placement | String | Date when the backlink was placed. |
| domain | String | Domain of the referring page. |
| duration | String | Backlink placement duration. |
| fb_likes | Integer | Number of Facebook shares. |
| from_domainid | Integer | Referring domain ID. |
| from_url | String | Referring page URL. |
| gin_index | Integer | Indicates whether the page is indexed by Google. |
| gin_index_check_date | String | Date when the indexing status was checked. |
| http_status | Integer | HTTP status code of the referring page. |
| is_blocked_meta | Integer | Indicates whether the page is blocked via meta directives (1 – yes, 0 – no). |
| is_blocked_robotstxt | Integer | Indicates whether the page is blocked via robots.txt (1 – yes, 0 – no). |
| is_disavow | Integer | Indicates whether the backlink is disavowed (1 – yes, 0 – no). |
| is_forced_status | Integer | Indicates whether the backlink status was changed manually. |
| is_image | Integer | Indicates whether the backlink is an image link. |
| is_link_not_found | Integer | Indicates whether the backlink was not found. |
| is_nofollow | Integer | Indicates whether the backlink has a nofollow attribute. |
| is_redir | Integer | Indicates whether the referring page redirects. |
| is_sponsored | Integer | Indicates whether the backlink is sponsored. |
| last_crawler_visit | String | Last crawl date. |
| link_manager | String | Responsible manager. |
| link_type | String | Type of backlink anchor text. |
| mozda | Integer | Moz Domain Authority score. |
| notes | String | Backlink notes. |
| num_links | Integer | Number of backlinks from the referring page. |
| price | Float | Backlink placement cost. |
| source | String | Backlink source. |
| src_domain_country | String | Country of the referring domain. |
| src_domain_inlink_rank | Integer | Referring domain rank. |
| src_domain_ip | String | Referring domain IP address. |
| src_domain_mozda_date | String | Moz Domain Authority check date. |
| src_domain_region_id | Integer | Referring domain region ID. |
| title | String | Referring page title. |
| to_url | String | Target URL. |
| total_ext_links | Integer | Number of external links on the referring page. |
| ugc | Integer | Indicates whether the backlink is user-generated content. |
| group_id | Integer | Backlink group ID. |
Response example
[
{
"anchor": "SE Ranking",
"category": "",
"charge_period": null,
"charge_start": null,
"date_added": "2018-06-11",
"date_lost": "2021-10-10",
"date_placement": "2018-10-11",
"domain": "highpoweredseo.com",
"duration": "",
"fb_likes": "2",
"from_domainid": "4630",
"from_url": "http://highpoweredseo.com/how-to-become-a-better",
"gin_index": "11",
"gin_index_check_date": "2018-10-05",
"http_status": "1",
"id": "53",
"is_blocked_meta": "1",
"is_blocked_robotstxt": "1",
"is_disavow": "0",
"is_forced_status": "0",
"is_image": "1",
"is_link_not_found": "1",
"is_nofollow": "1",
"is_redir": "1",
"is_sponsored": "0",
"last_crawler_visit": "2018-10-05",
"link_manager": "",
"link_type": "",
"mozda": null,
"notes": "ghjg",
"num_links": 10,
"price": null,
"source": null,
"src_domain_country": "USA",
"src_domain_inlink_rank": null,
"src_domain_ip": "184.168.221.40",
"src_domain_mozda_date": null,
"src_domain_region_id": null,
"title": "Title",
"to_url": "http://tourl.ru/",
"total_ext_links": "2",
"ugc": null
}
]Add backlink
POST https://api4.seranking.com/backlinks/{site_id}
Adds a new backlink to the specified website.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| url | String | Yes | Backlink URL. |
| price | Float | No | Backlink price. |
| currency | String | No | Currency code in ISO 4217 format (for example, USD, EUR). |
| charge_period | String | No | Charging period (onetime, monthly, quarterly, 6months, year). |
| charge_start | String | No | Payment start date (in YYYY-MM-DD). |
Request example
curl --location --request POST 'https://api4.seranking.com/backlinks/12345' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"url": "http://backlink.test/",
"price": 1,
"charge_period": "onetime",
"charge_start": "2018-01-01"
}'Response parameters
If successful, the server returns the 200 HTTP status code and an object containing the backlink ID. Returns HTTP 400 for invalid input or duplicate backlinks. Returns HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Unique identifier of the added backlink. |
Response example
{"id": 1}Import backlinks list
POST https://api4.seranking.com/backlinks/{site_id}/list
Imports a list of backlinks for the specified website.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| list | Array | Yes | Array of backlink URLs to import. |
| price | Number | No | Backlink price. |
| currency | String | No | Currency code in ISO 4217 format (for example, USD, EUR). |
| charge_period | String | No | Charging period (onetime, monthly, quarterly, 6months, year). |
| charge_start | String | No | Payment start date (in YYYY-MM-DD). |
| group_id | Integer | No | Backlink group ID. |
| manager | String | No | Manager name associated with the backlinks. |
Request example
curl --location --request POST 'https://api4.seranking.com/backlinks/12345/list' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"group_id": 1,
"price": 100,
"currency": "USD",
"manager": "manager",
"charge_period": "onetime",
"charge_start": "2021-10-10",
"list": ["https://google.com"]
}'Response parameters
If successful, the server returns the 200 HTTP status code and an object containing import results. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| added | Integer | Number of backlinks added. |
| duplicates | Integer | Number of duplicate backlinks. |
| total | Integer | Total number of backlinks processed. |
Response example
{
"added": 1,
"duplicates": 0,
"total": 1
}Update backlink import settings
PUT https://api4.seranking.com/backlinks/{site_id}/settings
Updates automatic backlink import settings from Google Search Console.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| gsc_autoimport | Boolean | Yes | Enable or disable automatic import from Google Search Console. |
Request example
curl --location --request PUT 'https://api4.seranking.com/backlinks/12345/settings' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"gsc_autoimport": true
}'Response parameters
If successful, the server returns the 204 HTTP status code with no response body. Returns HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
Start backlink import from Google Search Console
POST https://api4.seranking.com/backlinks/{site_id}/import-gsc
Starts importing backlinks from Google Search Console.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
Request example
curl --location --request POST 'https://api4.seranking.com/backlinks/12345/import-gsc' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 200 HTTP status code and an import task object. Returns HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| status | String | Import task status (queued, processing, completed, failed). |
| token | String | Import task token used to check import status. |
Response example
{
"status": "queued",
"token": "1c84d0375d44725521647919c17f1cb9"
}
Get backlink import status from Google Search Console
GET https://api4.seranking.com/backlinks/{site_id}/import-gsc/{token}
Returns the status of a Google Search Console backlink import task.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| token | String | Yes | Import task token. |
Request example
curl --location --request GET 'https://api4.seranking.com/backlinks/12345/import-gsc/1c84d0375d44725521647919c17f1cb9' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 200 HTTP status code and import task status. Returns HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| status | String | Import task status. |
| time | Integer | Timestamp of the latest status update (milliseconds). |
Response example
{
"time": 1635417036150,
"status": "queued"
}
Delete backlinks
POST https://api4.seranking.com/backlinks/{site_id}/delete
Deletes backlinks for the specified website.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| backlink_ids | Array of Integer | Yes | Array of backlink IDs to delete. |
Request example
curl --location --request POST 'https://api4.seranking.com/backlinks/12345/delete' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"backlink_ids": [1, 2, 3]
}'Response parameters
If successful, the server returns the 204 HTTP status code with no response body. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
Recheck backlinks
POST https://api4.seranking.com/backlinks/{site_id}/recheck
Runs an index or HTTP status check for the specified backlinks.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| backlink_ids | Array | Yes | Array of backlink IDs to check. |
| recheck_type | String | No | Type of check: status, index. Defaults to status. |
Request example
curl --location --request POST 'https://api4.seranking.com/backlinks/12345/recheck' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"backlink_ids": [1, 2],
"recheck_type": "index"
}'Response parameters
If successful, the server returns the 204 HTTP status code with no response body. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
Get backlink statistics
GET https://api4.seranking.com/backlinks/{site_id}/stat
Returns backlink statistics for the specified website.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
Request example
curl --location --request GET 'https://api4.seranking.com/backlinks/12345/stat' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 200 HTTP status code and backlink statistics. Returns HTTP 403 if site_id is wrong (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| total | Integer | Total number of backlinks. |
| anchors | Integer | Total number of unique anchor texts. |
| ip | Integer | Total number of unique IP addresses. |
| domains | Integer | Total number of unique domains. |
| dofollow | Integer | Total number of dofollow backlinks. |
| nofollow | Integer | Total number of nofollow backlinks. |
| limit | Integer | Number of backlinks that can still be added today. |
Response example
{
"total": 9,
"anchors": 1,
"ip": 8,
"domains": 9,
"dofollow": 0,
"nofollow": 1,
"limit": 988
}
List disavowed backlinks
GET https://api4.seranking.com/backlink-disavow/{site_id}
Returns a list of disavowed backlinks.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| limit | Integer | No | Number of disavowed backlinks to return. |
| offset | Integer | No | Offset for pagination. |
Request example
curl --location --request GET 'https://api4.seranking.com/backlink-disavow/12345?limit=100&offset=0' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 200 HTTP status code and disavowed backlinks. Returns HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| total_disavow_links | Integer | Total number of disavowed backlinks. |
| disavow_links | Array | Array of disavowed backlink objects. |
| disavow_links[].id | Integer | Disavowed backlink ID. |
| disavow_links[].url | String | Disavowed backlink URL. |
| disavow_links[].type | String | Disavow type (url or domain). |
| disavow_links[].exported | Integer | Indicates whether the backlink has been exported (0 or 1). |
| disavow_links[].domain_inlink_rank | Integer | Domain rank. |
Response example
{
"total_disavow_links": 2,
"disavow_links": [
{ "id": 3, "url": "https://google.com", "type": "url", "exported": 0, "domain_inlink_rank": 96 },
{ "id": 4, "url": "https://google.com", "type": "url", "exported": 0, "domain_inlink_rank": 100 }
]
}
Add disavowed backlinks
POST https://api4.seranking.com/backlink-disavow/{site_id}
Adds a list of disavowed backlinks.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| list | Array | Yes | Array of backlink URLs to disavow. |
Request example
curl --location --request POST 'https://api4.seranking.com/backlink-disavow/12345' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"list": [
"https://google.com",
"https://example.com"
]
}'Response parameters
If successful, the server returns the 200 HTTP status code and the number of added disavowed backlinks. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| added | Integer | Number of disavowed backlinks added. |
Response example
{ "added": 2 }
Delete disavowed backlink
DELETE https://api4.seranking.com/backlink-disavow/{site_id}
Deletes a backlink from the disavow list.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| id | Integer | Yes | Disavowed backlink ID (query parameter). |
Request example
curl --location --request DELETE 'https://api4.seranking.com/backlink-disavow/12345?id=3' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 204 HTTP status code with no response body. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
List backlink groups
GET https://api4.seranking.com/backlink-groups/{site_id}
Returns all backlink groups for the specified website.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
Request example
curl --location --request GET 'https://api4.seranking.com/backlink-groups/12345' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 200 HTTP status code and a list of backlink groups. Returns HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| total_groups | Integer | Total number of backlink groups. |
| groups | Array | Array of backlink group objects. |
| groups[].id | Integer | Backlink group ID. |
| groups[].name | String | Backlink group name. |
| groups[].count | Integer | Number of backlinks in the group. |
Response example
{
"total_groups": 2,
"groups": [
{
"id": 1,
"name": "General",
"count": 5
},
{
"id": 2,
"name": "Second group",
"count": 1
}
]
}Create backlink group
POST https://api4.seranking.com/backlink-groups/{site_id}
Creates a new backlink group.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| name | String | Yes | Name of the backlink group. |
Request example
curl --location --request POST 'https://api4.seranking.com/backlink-groups/12345' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"name": "Outreach links"
}'Response parameters
If successful, the server returns the 200 HTTP status code and the created group ID. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
| Parameter | Type | Description |
|---|---|---|
| group_id | Integer | ID of the created backlink group. |
Response example
{ "group_id": 2 }
Delete backlink group
DELETE https://api4.seranking.com/backlink-groups/{site_id}
Deletes the specified backlink group.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| id | Integer | Yes | Backlink group ID (query parameter). |
Request example
curl --location --request DELETE 'https://api4.seranking.com/backlink-groups/12345?id=2' \
--header 'Authorization: Token YOUR_API_KEY'Response parameters
If successful, the server returns the 204 HTTP status code. Returns HTTP 400 if the group ID is invalid or the group doesn’t exist. Returns HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
Rename backlink group
PUT https://api4.seranking.com/backlink-groups/{site_id}
Renames an existing backlink group.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| id | Integer | Yes | Backlink group ID. |
| name | String | Yes | New backlink group name. |
Request example
curl --location --request PUT 'https://api4.seranking.com/backlink-groups/12345' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"id": 2,
"name": "Guest posts"
}'Response parameters
If successful, the server returns the 204 HTTP status code with no response body. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
Move backlinks to group
POST https://api4.seranking.com/backlink-groups/{site_id}/move
Moves backlinks or backlink groups into the specified backlink group.
Request parameters
backlink_ids or group_ids must be provided.| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | Integer | Yes | Website ID (path parameter). |
| id | Integer | Yes | Target backlink group ID. |
| backlink_ids | Array | Conditional | Array of backlink IDs to move. |
| group_ids | Array | Conditional | Array of backlink group IDs to move. |
Request example
curl --location --request POST 'https://api4.seranking.com/backlink-groups/12345/move' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_API_KEY' \
--data '{
"id": 1,
"backlink_ids": [10, 11],
"group_ids": [2]
}'Response parameters
If successful, the server returns the 204 HTTP status code with no response body. Returns HTTP 400 for invalid input and HTTP 403 if access is denied (for more information, see Error handling).
Response example
No response body.
