DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Backlinks History
One target's backlink profile as it stood on each date in a range, with date_from, date_to and one item per point. For the current profile only use post_dataforseo_backlinks_summary_live. For a lighter time series, post_dataforseo_backlinks_timeseries_summary_live reports fewer metrics per point. This one takes no limit parameter, so the only lever is calling it less often.
- 类型: array object[]
- target类型: string必填
domain required field a domain should be specified without https:// and www.
- date类型: string
_from starting date of the time range optional field minimum value 2019-01-01 if you don’t specify this field, the minimum value will be used by default date format: "yyyy-mm-dd" example: "2019-01-15"
- date类型: string
_to ending date of the time range optional field if you don’t specify this field, the today’s date will be used by default date format: "yyyy-mm-dd" example: "2019-01-15"
- rank类型: string
_scale 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
- 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
- 类型: object200
Successful response
- 类型: numbercost
total tasks cost, USD
- 类型: integerstatus
_code 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
- 类型: stringstatus
_message general informational message you can find the full list of general informational messages here
- 类型: array string[]tasks
array of tasks
- 类型: integertasks
_count the number of tasks in the tasks array
- 类型: integertasks
_error the number of tasks in the tasks array returned with an error
- 类型: numbertasks
.cost cost of the task, USD
- 类型: objecttasks
.data contains the same parameters that you specified in the POST request
- 类型: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- 类型: array string[]tasks
.path URL path
- 类型: array string[]tasks
.result array of results
- 类型: integertasks
.result _count number of elements in the result array
- 类型: stringtasks
.result .date _from starting date of the time range in the UTC format: “yyyy-mm-dd” example: 2019-01-01
- 类型: stringtasks
.result .date _to ending date of the time range in the UTC format: "yyyy-mm-dd" example: "2019-01-15"
- 类型: array string[]tasks
.result .items contains historical backlink data for the specified domain the data is provided month-by-month; the metrics are aggregated according to the backlinks the specified domain had on the first day of each given month
- 类型: integertasks
.result .items _count the number of results returned in the items array
- 类型: integertasks
.result .items .backlinks number of backlinks
- 类型: integertasks
.result .items .broken _backlinks number of broken backlinks number of broken backlinks pointing to the target
- 类型: integertasks
.result .items .broken _pages number of broken pages number of pages that receive backlinks but respond with 4xx or 5xx status codes
- 类型: integertasks
.result .items .crawled _pages number of crawled pages for the target
- 类型: stringtasks
.result .items .date date and time when the data for the target was stored in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
- 类型: integertasks
.result .items .external _links _count number of external links on the page calculated as the sum of external links on the pages of the specified target
- 类型: objecttasks
.result .items .info information about the target
- 类型: stringtasks
.result .items .info .cms content management system
- 类型: stringtasks
.result .items .info .country country code that the target domain is determined to belong to
- 类型: stringtasks
.result .items .info .ip _address IP address of the target
- 类型: booleantasks
.result .items .info .is _ip indicates if the target is IP if true, the domain, subdomain or webpage functions as an IP address and does not have a domain name
- 类型: array string[]tasks
.result .items .info .platform _type platform type
- 类型: stringtasks
.result .items .info .server server
- 类型: integertasks
.result .items .info .target _spam _score spam score of the target if the target is a domain/subdomain, this fields indicates the average spam score of all pages of that domain/subdomain; learn more about how the metric is calculated on this help center page
- 类型: integertasks
.result .items .internal _links _count number of internal links calculated as the sum of internal links on the pages of the specified target
- 类型: integertasks
.result .items .lost _backlinks number of lost backlinks for the target data is provided based in a comparison with the previous period Note: this data is available from May 2021; if the date range specified in the POST request precedes May 2021, the field will equal 0
- 类型: integertasks
.result .items .lost _referring _domains number of lost referring domains for the target data is provided based in a comparison with the previous period Note: this data is available from May 2021; if the date range specified in the POST request precedes May 2021, the field will equal 0
- 类型: integertasks
.result .items .new _backlinks number of new backlinks for the target data is provided based in a comparison with the previous period Note: this data is available from May 2021; if the date range specified in the POST request precedes May 2021, the field will equal 0
- 类型: integertasks
.result .items .new _referring _domains number of new referring domains for the target data is provided based in a comparison with the previous period Note: this data is available from May 2021; if the date range specified in the POST request precedes May 2021, the field will equal 0
- 类型: integertasks
.result .items .rank domain rank on the given date learn more about the metric and how it is calculated in this help center article
- 类型: integertasks
.result .items .referring _domains number of referring domains referring domains include subdomains that are counted as separate domains for this metric
- 类型: integertasks
.result .items .referring _domains _nofollow number of domains pointing at least one nofollow link to the target
- 类型: integertasks
.result .items .referring _ips number of referring IP addresses number of IP addresses pointing to this page
- 类型: objecttasks
.result .items .referring _links _attributes link attributes of the referring links indicates link attributes of the referring links and link count per each attribute
- 类型: objecttasks
.result .items .referring _links _countries ISO country codes of the referring links indicates ISO country codes of the domains where the referring links are located and the link count per each country
- 类型: objecttasks
.result .items .referring _links _platform _types types of referring platforms indicates referring platform types and and link count per each platform possible values: cms, blogs, ecommerce, message-boards, wikis, news, organization
- 类型: objecttasks
.result .items .referring _links _semantic _locations semantic locations of the referring links indicates semantic elements in HTML where the referring links are located and link count per each semantic location you can get the full list of semantic elements here examples: article, section, summary
- 类型: objecttasks
.result .items .referring _links _tld top-level domains of the referring links contains top-level domains and referring link count per each
- 类型: objecttasks
.result .items .referring _links _types types of referring links indicates the types of the referring links and link count per each type possible values: anchor, image, link, meta, canonical, alternate, redirect
- 类型: integertasks
.result .items .referring _main _domains number of referring main domains
- 类型: integertasks
.result .items .referring _main _domains _nofollow number of main domains pointing at least one nofollow link to the target
- 类型: integertasks
.result .items .referring _pages number of pages pointing to the target
- 类型: integertasks
.result .items .referring _pages _nofollow number of referring pages pointing at least one nofollow link to the target
- 类型: integertasks
.result .items .referring _subnets number of referring subnetworks
- 类型: stringtasks
.result .items .type type of element = ‘backlinks_history’
- 类型: stringtasks
.result .target target from the POST array
- 类型: integertasks
.status _code 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
- 类型: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- 类型: stringtasks
.time execution time, seconds
- 类型: stringtime
execution time, seconds
- 类型: stringversion
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.
curl https://openapi.felo.ai/v1/beta/dataforseo/backlinks/history/live \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"target": "",
"date_from": "",
"date_to": "",
"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.date_from": "string",
"tasks.result.date_to": "string",
"tasks.result.items_count": 1,
"tasks.result.items": [
"string"
],
"tasks.result.items.type": "string",
"tasks.result.items.date": "string",
"tasks.result.items.rank": 1,
"tasks.result.items.backlinks": 1,
"tasks.result.items.new_backlinks": 1,
"tasks.result.items.lost_backlinks": 1,
"tasks.result.items.new_referring_domains": 1,
"tasks.result.items.lost_referring_domains": 1,
"tasks.result.items.crawled_pages": 1,
"tasks.result.items.info": {},
"tasks.result.items.info.server": "string",
"tasks.result.items.info.cms": "string",
"tasks.result.items.info.platform_type": [
"string"
],
"tasks.result.items.info.ip_address": "string",
"tasks.result.items.info.country": "string",
"tasks.result.items.info.is_ip": true,
"tasks.result.items.info.target_spam_score": 1,
"tasks.result.items.internal_links_count": 1,
"tasks.result.items.external_links_count": 1,
"tasks.result.items.broken_backlinks": 1,
"tasks.result.items.broken_pages": 1,
"tasks.result.items.referring_domains": 1,
"tasks.result.items.referring_domains_nofollow": 1,
"tasks.result.items.referring_main_domains": 1,
"tasks.result.items.referring_main_domains_nofollow": 1,
"tasks.result.items.referring_ips": 1,
"tasks.result.items.referring_subnets": 1,
"tasks.result.items.referring_pages": 1,
"tasks.result.items.referring_links_tld": {},
"tasks.result.items.referring_links_types": {},
"tasks.result.items.referring_links_attributes": {},
"tasks.result.items.referring_links_platform_types": {},
"tasks.result.items.referring_links_semantic_locations": {},
"tasks.result.items.referring_links_countries": {},
"tasks.result.items.referring_pages_nofollow": 1
}