資料 API / DataForSEO / Backlinks
Competitors
Sites sharing referring domains with one target, ranked by how many they share. Each row gives target, rank and intersections - the count of shared linking domains. main_domain, exclude_large_domains and exclude_internal_backlinks shape what counts. These are link-graph competitors, not search competitors; for the latter use post_dataforseo_labs_google_serp_competitors_live. To see the actual shared domains use post_dataforseo_backlinks_domain_intersection_live.
參數
沒有路徑、查詢或請求標頭參數。
請求主體
targetstring必填domain, subdomain or webpage to get competitor domains for required field a domain or a subdomain should be specified without https:// and www. a page should be specified with absolute URL (including http:// or https://)
limitinteger選填the maximum number of returned domains optional field default value: 100 maximum value: 1000
offsetinteger選填offset in the results array of returned domains optional field default value: 0 if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive pages
filtersarray選填array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, =, , in, not_in, like, not_like, ilike, not_ilike, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: ["rank",">","100"] [["target","like","%forbes%"], "and", [["rank",">","100"],"or",["intersections",">","5"]]] The full list of possible filters is available here.
order_bystring[]選填results sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc – results will be sorted in the ascending order desc – results will be sorted in the descending order you should use a comma to set up a sorting type example: ["rank,desc"] note that you can set no more than three sorting rules in a single request you should use a comma to separate several sorting rules example: ["intersections,desc","rank,asc"]
main_domainboolean選填indicates if only main domain of the target will be included in the search optional field if set to true, only the main domain will be included in search; default value: true
exclude_large_domainsboolean選填indicates whether large domain will appear in results optional field if set to true, the results from the large domain (google.com, amazon.com, etc.) will be omitted; default value: true
exclude_internal_backlinksboolean選填indicates if internal backlinks from subdomains to the target will be excluded from the results optional field if set to true, the results will not include data on internal backlinks from subdomains of the same domain as target if set to false, internal links will be included in the results default value: true
rank_scalestring選填defines the scale used for calculating and displaying the rank, domain_from_rank, and page_from_rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_thousand — rank values are displayed on a 0–1000 scale default value: one_thousand learn more about how this parameter works and how ranking metrics are calculated in this Help Center article
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/competitors/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": "<string>",
"limit": 0,
"offset": 0,
"filters": "<string>",
"order_by": [
"<string>"
],
"main_domain": false,
"exclude_large_domains": false,
"exclude_internal_backlinks": false
}'回應
回應欄位
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
total_countinteger選填total number of relevant items in the database
items_countinteger選填number of items in the items array
itemsstring[]選填items array
typestring選填type of element = ‘backlinks_competitors’
targetstring選填competitor domain
rankinteger選填domain rank domain rank across all domains in the database rank is calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm learn more about the metric and how it is calculated in this help center article
intersectionsinteger選填indicates the number of backlink intersections with the target specified in the POST array