데이터 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