数据 API / DataForSEO / DataForSEO Labs
Domain Rank Overview
A domain's search footprint: organic and paid keyword counts, estimated traffic and traffic value, by location_code. Returns se_type, target, total_count, items_count and items. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. For the same numbers over time use post_dataforseo_labs_google_historical_rank_live; for many domains at once, post_dataforseo_labs_google_bulk_traffic_estimation_live.
参数
没有路径、查询或请求头参数。
请求体
targetstring必填domain required field the domain name of the target website the domain should be specified without https:// and www.
location_namestring可选full name of the location optional field if you use this field, you don’t need to specify location_code you can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available locations example: United Kingdom
location_codeinteger可选location code optional field if you use this field, you don’t need to specify location_name you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available locations example: 2840
language_namestring可选full name of the language optional field if you use this field, you don’t need to specify language_code you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available languages example: English
language_codestring可选language code optional field if you use this field, you don’t need to specify language_name you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available languages example: en
ignore_synonymsboolean可选ignore highly similar keywords optional field if set to true, all highly similar keywords will be excluded from the ranking and traffic calculations, the results will be based on data for main keywords from groups of synonyms default value: false
limitinteger可选the maximum number of returned results for domain optional field default value: 100 maximum value: 1000
offsetinteger可选offset in the results array of returned items optional field default value: 0 if you specify the 10 value, the first ten items in the results array will be omitted and the data will be provided for the successive items
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/dataforseo_labs/google/domain_rank_overview/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": "<string>",
"location_name": "<string>",
"location_code": 0,
"language_name": "<string>",
"language_code": "<string>",
"ignore_synonyms": false,
"limit": 0,
"offset": 0
}'响应
响应字段
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
se_typestring可选search engine type
targetstring可选target domain in a POST array
location_codeinteger可选location code in a POST array
language_codestring可选language code in a POST array
total_countinteger可选total amount of results in our database relevant to your request
items_countinteger可选the number of results returned in the items array
itemsstring[]可选contains ranking and traffic data
se_typestring可选search engine type
location_codeinteger可选location code in a POST array
language_codestring可选language code in a POST array
metricsobject可选ranking data relevant to the specified domain
organicobject可选ranking and traffic data from organic search
pos_1integer可选number of organic SERPs where the domain ranks #1
pos_2_3integer可选number of organic SERPs where the domain ranks #2-3
pos_4_10integer可选number of organic SERPs where the domain ranks #4-10
pos_11_20integer可选number of organic SERPs where the domain ranks #11-20
pos_21_30integer可选number of organic SERPs where the domain ranks #21-30
pos_31_40integer可选number of organic SERPs where the domain ranks #31-40
pos_41_50integer可选number of organic SERPs where the domain ranks #41-50
pos_51_60integer可选number of organic SERPs where the domain ranks #51-60
pos_61_70integer可选number of organic SERPs where the domain ranks #61-70
pos_71_80integer可选number of organic SERPs where the domain ranks #71-80
pos_81_90integer可选number of organic SERPs where the domain ranks #81-90
pos_91_100integer可选number of organic SERPs where the domain ranks #91-100
etvnumber可选estimated traffic volume estimated organic monthly traffic to the domain calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranks for learn more about how the metric is calculated in this help center article
countinteger可选total count of organic SERPs that contain the domain
estimated_paid_traffic_costnumber可选estimated cost of converting organic search traffic into paid represents the estimated monthly cost of running ads (USD) for all keywords that a domain ranks for the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search learn more about how the metric is calculated in this help center article
is_newinteger可选number of new ranked elements indicates how many new ranked elements were found for this domain
is_upinteger可选rank went up indicates how many ranked elements of this domain went up in Google Search
is_downinteger可选rank went down indicates how many ranked elements of this domain went down in Google Search
is_lostinteger可选lost ranked elements indicates how many ranked elements of this domain were previously presented in SERPs, but weren’t found during the last check
paidobject可选ranking and traffic data from paid search
pos_1integer可选number of paid SERPs where the domain ranks #1
pos_2_3integer可选number of paid SERPs where the domain ranks #2-3
pos_4_10integer可选number of paid SERPs where the domain ranks #4-10
pos_11_20integer可选number of paid SERPs where the domain ranks #11-20
pos_21_30integer可选number of paid SERPs where the domain ranks #21-30
pos_31_40integer可选number of paid SERPs where the domain ranks #31-40
pos_41_50integer可选number of paid SERPs where the domain ranks #41-50
pos_51_60integer可选number of paid SERPs where the domain ranks #51-60
pos_61_70integer可选number of paid SERPs where the domain ranks #61-70
pos_71_80integer可选number of paid SERPs where the domain ranks #71-80
pos_81_90integer可选number of paid SERPs where the domain ranks #81-90
pos_91_100integer可选number of paid SERPs where the domain ranks #91-100
etvnumber可选estimated traffic volume estimated paid monthly traffic to the domain calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranks for learn more about how the metric is calculated in this help center article
countinteger可选total count of paid SERPs that contain the domain
estimated_paid_traffic_costnumber可选estimated cost of monthly search traffic represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values learn more about how the metric is calculated in this help center article
is_newinteger可选number of new ranked elements indicates how many new ranked elements were found for this domain
is_upinteger可选rank went up indicates how many ranked elements of this domain went up in Google Search
is_downinteger可选rank went down indicates how many ranked elements of this domain went down in Google Search
is_lostinteger可选lost ranked elements indicates how many ranked elements of this domain were previously presented in SERPs, but weren’t found during the last check