数据 API / DataForSEO / Backlinks
Bulk New & Lost Backlinks
New and lost backlink counts for many targets since date_from - one row of target, new_backlinks and lost_backlinks. Use it to spot which sites in a list are gaining or bleeding links. For one target broken into periods use post_dataforseo_backlinks_timeseries_new_lost_live; for referring domains rather than links, post_dataforseo_backlinks_bulk_new_lost_ref_domains_live. This one takes no limit parameter, so the only lever is calling it less often.
参数
没有路径、查询或请求头参数。
请求体
targetsstring[]必填domains, subdomains or webpages to get new & lost backlinks for required field you can set up to 1000 domains, subdomains or webpages the domain or subdomain should be specified without https:// and www. the page should be specified with absolute URL (including http:// or https://) example: "targets": [ "forbes.com", "cnn.com", "bbc.com", "yelp.com", "https://www.apple.com/iphone/", "https://ahrefs.com/blog/", "ibm.com", "https://variety.com/", "https://stackoverflow.com/", "www.trustpilot.com" ]
date_fromstring可选starting date of the time range optional field this field indicates the date which will be used as a threshold for new and lost backlinks; the backlinks that appeared in our index after the specified date will be considered as new; the backlinks that weren’t found after the specified date, but were present before, will be considered as lost; default value: today’s date -(minus) one month; e.g. if today is 2021-10-13, default date_from will be 2021-09-13. minimum value equals today’s date -(minus) one year; e.g. if today is 2021-10-13, minimum date_from will be 2020-10-13. date format: "yyyy-mm-dd" example: "2021-01-01"
tagstring可选user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response
请求示例
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/backlinks/bulk_new_lost_backlinks/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
"<string>"
],
"date_from": "<string>",
"tag": "<string>"
}'响应
响应字段
versionstring可选the current version of the API
status_codeinteger可选general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestring可选general informational message you can find the full list of general informational messages here
timestring可选execution time, seconds
costnumber可选total tasks cost, USD
tasks_countinteger可选the number of tasks in the tasks array
tasks_errorinteger可选the number of tasks in the tasks array returned with an error
tasksstring[]可选array of tasks
idstring可选task identifier unique task identifier in our system in the UUID format
status_codeinteger可选status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
status_messagestring可选informational message of the task you can find the full list of general informational messages here
timestring可选execution time, seconds
costnumber可选cost of the task, USD
result_countinteger可选number of elements in the result array
pathstring[]可选URL path
dataobject可选contains the same parameters that you specified in the POST request
resultstring[]可选array of results
items_countinteger可选the number of results returned in the items array
itemsstring[]可选contains relevant backlinks and referring domains data
targetstring可选domain, subdomain or webpage from a POST array
new_backlinksinteger可选number of new backlinks number of new backlinks pointing to the target
lost_backlinksinteger可选number of lost backlinks number of lost backlinks of the target