Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0
サーバー:https://openapi.felo.ai
クライアントライブラリ

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

Backlinks

​

The individual inbound links to one target, one row per link. Returns total_count, items_count, items and a search_after_token for paging - use that rather than offset past the first few pages. mode and custom_mode control grouping, backlinks_status_type selects live, lost or all. For counts rather than rows use post_dataforseo_backlinks_summary_live; for the linking domains grouped, post_dataforseo_backlinks_referring_domains_live.

リクエストボディ
必須
application/json
  • 型: array object[]
    • target
      型: string
      必須

      domain, subdomain or webpage to get backlinks 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://)

    • backlinks_status_type
      型: string

      set what backlinks to return and count optional field you can use this field to choose what backlinks will be returned and used for aggregated metrics for your target; possible values: all – all backlinks will be returned and counted; live – backlinks found during the last check will be returned and counted; lost – lost backlinks will be returned and counted; default value: live

    • custom_mode
      型: object

      detailed results grouping type optional field use this object to get a specific number of backlinks per field if you use custom_mode, then mode will be ignored example: "custom_mode": {"field": "domain", "value": 100}

      • field
        型: string
      • value
        型: integer

        Integer numbers.

    • exclude_internal_backlinks
      型: boolean

      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

    • filters
      型: array

      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: =, , in, not_in, like, not_like, ilike, not_ilike, regex, not_regex, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: ["rank",">","80"] [["page_from_rank",">","55"], "and", ["dofollow","=",true]] [["first_seen",">","2017-10-23 11:31:45 +00:00"], "and", [["anchor","like","%seo%"],"or",["text_pre","like","%seo%"]]] The full list of possible filters is available here.

    • include_subdomains
      型: boolean

      indicates if the subdomains of the target will be included in the search optional field if set to false, the subdomains will be ignored default value: true

    • limit
      型: integer

      the maximum number of returned backlinks optional field default value: 100 maximum value: 1000

    • mode
      型: string

      results grouping type optional field possible grouping types: as_is – returns all backlinks one_per_domain – returns one backlink per domain one_per_anchor – returns one backlink per anchor default value: as_is

    • offset
      型: integer

      offset in the results array of the returned backlinks optional field default value: 0 if you specify the 10 value, the first ten backlinks in the results array will be omitted and the data will be provided for the successive backlinks; Note: the maximum value is 20,000, use the search_after_token if you would like to offset more results

    • order_by
      型: array string[]

      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: ["domain_from_rank,desc","page_from_rank,asc"]

    • rank_scale
      型: string

      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

    • search_after_token
      型: string

      token for subsequent requests optional field provided in the identical filed of the response to each request; use this parameter to avoid timeouts while trying to obtain over 20,000 results in a single request; by specifying the unique search_after_token value from the response array, you will get the subsequent results of the initial task; search_after_token values are unique for each subsequent task ; Note: if the search_after_token is specified in the request, all other parameters should be identical to the previous request

    • tag
      型: string

      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

レスポンス
  • 200
    型: object

    Successful response

    • cost
      型: number

      total tasks cost, USD

    • status_code
      型: integer

      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_message
      型: string

      general informational message you can find the full list of general informational messages here

    • tasks
      型: array string[]

      array of tasks

    • tasks_count
      型: integer

      the number of tasks in the tasks array

    • tasks_error
      型: integer

      the number of tasks in the tasks array returned with an error

    • tasks.cost
      型: number

      cost of the task, USD

    • tasks.data
      型: object

      contains the same parameters that you specified in the POST request

    • tasks.id
      型: string

      task identifier unique task identifier in our system in the UUID format

    • tasks.path
      型: array string[]

      URL path

    • tasks.result
      型: array string[]

      array of results

    • tasks.result_count
      型: integer

      number of elements in the result array

    • tasks.result.custom_mode
      型: object

      custom mode specified in a POST array

    • tasks.result.items
      型: array string[]

      contains relevant backlinks and referring domains data

    • tasks.result.items_count
      型: integer

      the number of results returned in the items array

    • tasks.result.items.alt
      型: string

      alternative text of the image this field will be null if backlink type is not image

    • tasks.result.items.anchor
      型: string

      anchor text of the backlink

    • tasks.result.items.attributes
      型: array string[]

      link attributes of the referring links example: nofollow

    • 型: integer

      spam score of the backlink learn more about how the metric is calculated on this help center page

    • tasks.result.items.dofollow
      型: boolean

      indicates whether the backlink is dofollow if false, the backlink is nofollow

    • tasks.result.items.domain_from
      型: string

      domain referring to the target domain or webpage

    • tasks.result.items.domain_from_country
      型: string

      ISO country code of the referring domain

    • tasks.result.items.domain_from_ip
      型: string

      IP address of the referring domain

    • tasks.result.items.domain_from_is_ip
      型: boolean

      indicates if the domain is IP if true, the domain functions as an IP address and does not have a domain name

    • tasks.result.items.domain_from_platform_type
      型: array string[]

      platform types of the referring domain possible values: cms, blogs, ecommerce, message-boards, wikis, news, organization

    • tasks.result.items.domain_from_rank
      型: integer

      domain rank of the referring domain domain_from_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

    • tasks.result.items.domain_to
      型: string

      domain the backlink is pointing to

    • tasks.result.items.first_seen
      型: string

      date and time when our crawler found the backlink for the first time in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00

    • tasks.result.items.group_count
      型: integer

      indicates total number of backlinks from this domain for example, if mode is set to one_per_domain, this field will indicate the total number of backlinks coming from this domain

    • tasks.result.items.image_url
      型: string

      URL of the image the URL leading to the image on the original resource or DataForSEO storage (in case the original source is not available)

    • 型: array string[]

      indirect link path indicates a URL or a sequence of URLs that lead to url_to

    • 型: integer

      HTTP status code of the URL

    • 型: string

      indirect link type possible values: redirect, canonical

    • 型: string

      indirect link URL

    • tasks.result.items.is_broken
      型: boolean

      indicates whether the backlink is broken if true, the backlink is pointing to a page responding with a 4xx or 5xx status code

    • 型: boolean

      indicates whether the backlink is an indirect link if true, the backlink is an indirect link pointing to a page that either redirects to url_to, or points to a canonical page

    • tasks.result.items.is_lost
      型: boolean

      indicates whether the backlink was removed if true, the backlink or the entire page was removed

    • tasks.result.items.is_new
      型: boolean

      indicates whether the backlink is new if true, the backlink was found on the page last time our crawler visited it

    • tasks.result.items.item_type
      型: string

      link type possible values: anchor, image, meta, canonical, alternate, redirect

    • tasks.result.items.last_seen
      型: string

      most recent date when our crawler visited the backlink in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00

    • 型: integer

      number of identical backlinks found on the referring page

    • tasks.result.items.original
      型: boolean

      indicates whether the backlink was present on the referring page when our crawler first visited it

    • tasks.result.items.page_from_encoding
      型: string

      character encoding of the referring page example: utf-8

    • 型: integer

      number of external links found on the referring page

    • 型: integer

      number of internal links found on the referring page

    • tasks.result.items.page_from_language
      型: string

      language of the referring page in ISO 639-1 format example: en

    • tasks.result.items.page_from_rank
      型: integer

      page rank of the referring page page_from_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

    • tasks.result.items.page_from_size
      型: integer

      size of the referring page, in bytes example: 63357

    • tasks.result.items.page_from_status_code
      型: integer

      HTTP status code returned by the referring page example: 200

    • tasks.result.items.page_from_title
      型: string

      title of the referring page

    • tasks.result.items.prev_seen
      型: string

      previous to the most recent date when our crawler visited the backlink in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00

    • tasks.result.items.rank
      型: integer

      backlink rank rank that the given backlink passes to the target 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

    • tasks.result.items.semantic_location
      型: string

      indicates semantic element in HTML where the backlink is found you can get the full list of semantic elements here examples: article, section, summary

    • tasks.result.items.text_post
      型: string

      snippet after the anchor text

    • tasks.result.items.text_pre
      型: string

      snippet before the anchor text

    • tasks.result.items.tld_from
      型: string

      top-level domain of the referring URL

    • tasks.result.items.type
      型: string

      type of element = ‘backlink’

    • tasks.result.items.url_from
      型: string

      URL of the page where the backlink is found

    • tasks.result.items.url_from_https
      型: boolean

      indicates whether the referring URL is secured with HTTPS if true, the referring URL is secured with HTTPS

    • tasks.result.items.url_to
      型: string

      URL the backlink is pointing to

    • tasks.result.items.url_to_https
      型: boolean

      indicates if the URL the backlink is pointing to is secured with HTTPS if true, the URL is secured with HTTPS

    • tasks.result.items.url_to_redirect_target
      型: string

      target url of the redirect target page the redirect is pointing to

    • tasks.result.items.url_to_spam_score
      型: integer

      spam score of the referenced page if the value is null, our crawler hasn’t yet visited the webpage the link is pointing to; learn more about how the metric is calculated on this help center page

    • tasks.result.items.url_to_status_code
      型: integer

      status code of the referenced page if the value is null, our crawler hasn’t yet visited the webpage the link is pointing to example: 200

    • tasks.result.mode
      型: string

      mode specified in a POST array

    • tasks.result.search_after_token
      型: string

      token for subsequent requests by specifying the unique search_after_token when setting a new task, you will get the subsequent results of the initial task; search_after_token values are unique for each subsequent task

    • tasks.result.target
      型: string

      target domain in a POST array

    • tasks.result.total_count
      型: integer

      total amount of results relevant the request

    • tasks.status_code
      型: integer

      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

    • tasks.status_message
      型: string

      informational message of the task you can find the full list of general informational messages here

    • tasks.time
      型: string

      execution time, seconds

    • time
      型: string

      execution time, seconds

    • version
      型: string

      the current version of the API

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/backlinks/backlinks/live
curl https://openapi.felo.ai/v1/beta/dataforseo/backlinks/backlinks/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "target": "",
    "mode": "",
    "custom_mode": {
      "field": "",
      "value": 1
    },
    "filters": [],
    "order_by": [
      ""
    ],
    "offset": 1,
    "search_after_token": "",
    "limit": 1,
    "backlinks_status_type": "",
    "include_subdomains": true,
    "exclude_internal_backlinks": true,
    "rank_scale": "",
    "tag": ""
  }
]'
{
  "version": "string",
  "status_code": 1,
  "status_message": "string",
  "time": "string",
  "cost": 1,
  "tasks_count": 1,
  "tasks_error": 1,
  "tasks": [
    "string"
  ],
  "tasks.id": "string",
  "tasks.status_code": 1,
  "tasks.status_message": "string",
  "tasks.time": "string",
  "tasks.cost": 1,
  "tasks.result_count": 1,
  "tasks.path": [
    "string"
  ],
  "tasks.data": {},
  "tasks.result": [
    "string"
  ],
  "tasks.result.target": "string",
  "tasks.result.mode": "string",
  "tasks.result.custom_mode": {},
  "tasks.result.total_count": 1,
  "tasks.result.items_count": 1,
  "tasks.result.items": [
    "string"
  ],
  "tasks.result.items.type": "string",
  "tasks.result.items.domain_from": "string",
  "tasks.result.items.url_from": "string",
  "tasks.result.items.url_from_https": true,
  "tasks.result.items.domain_to": "string",
  "tasks.result.items.url_to": "string",
  "tasks.result.items.url_to_https": true,
  "tasks.result.items.tld_from": "string",
  "tasks.result.items.is_new": true,
  "tasks.result.items.is_lost": true,
  "tasks.result.items.backlink_spam_score": 1,
  "tasks.result.items.rank": 1,
  "tasks.result.items.page_from_rank": 1,
  "tasks.result.items.domain_from_rank": 1,
  "tasks.result.items.domain_from_platform_type": [
    "string"
  ],
  "tasks.result.items.domain_from_is_ip": true,
  "tasks.result.items.domain_from_ip": "string",
  "tasks.result.items.domain_from_country": "string",
  "tasks.result.items.page_from_external_links": 1,
  "tasks.result.items.page_from_internal_links": 1,
  "tasks.result.items.page_from_size": 1,
  "tasks.result.items.page_from_encoding": "string",
  "tasks.result.items.page_from_language": "string",
  "tasks.result.items.page_from_title": "string",
  "tasks.result.items.page_from_status_code": 1,
  "tasks.result.items.first_seen": "string",
  "tasks.result.items.prev_seen": "string",
  "tasks.result.items.last_seen": "string",
  "tasks.result.items.item_type": "string",
  "tasks.result.items.attributes": [
    "string"
  ],
  "tasks.result.items.dofollow": true,
  "tasks.result.items.original": true,
  "tasks.result.items.alt": "string",
  "tasks.result.items.image_url": "string",
  "tasks.result.items.anchor": "string",
  "tasks.result.items.text_pre": "string",
  "tasks.result.items.text_post": "string",
  "tasks.result.items.semantic_location": "string",
  "tasks.result.items.links_count": 1,
  "tasks.result.items.group_count": 1,
  "tasks.result.items.is_broken": true,
  "tasks.result.items.url_to_status_code": 1,
  "tasks.result.items.url_to_spam_score": 1,
  "tasks.result.items.url_to_redirect_target": "string",
  "tasks.result.items.is_indirect_link": true,
  "tasks.result.items.indirect_link_path": [
    "string"
  ],
  "tasks.result.items.indirect_link_path.type": "string",
  "tasks.result.items.indirect_link_path.status_code": 1,
  "tasks.result.items.indirect_link_path.url": "string",
  "tasks.result.search_after_token": "string"
}
Backlinks