数据 API / DataForSEO / Backlinks
Bulk Referring Domains
Referring-domain counts for many targets: referring_domains, referring_domains_nofollow, referring_main_domains and referring_main_domains_nofollow per target. The nofollow split is the useful part - a large gap means the raw count overstates authority. For the domains themselves use post_dataforseo_backlinks_referring_domains_live. This one takes no limit parameter, so the only lever is calling it less often.
参数
没有路径、查询或请求头参数。
请求体
targetsstring[]必填domains, subdomains or webpages to get the number of referring domains 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" ]
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_referring_domains/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
"<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
referring_domainsinteger可选number of referring domains pointing to the target note that we calculate main domains (root domains, like example.com) and their subdomains (e.g. blog.example.com) separately for this metric
referring_domains_nofollowinteger可选number of domains pointing at least one nofollow link to the target
referring_main_domainsinteger可选number of referring main domains pointing to the target the number of primary (root) domains referring to your target
referring_main_domains_nofollowinteger可选number of main domains pointing at least one nofollow link to the target