Felo API PlatformFelo API Platform

数据 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