Data API / DataForSEO / DataForSEO Labs
Product Rank Overview
Where a set of Amazon products rank overall - the product-level equivalent of a domain rank overview. This one takes no limit parameter, but it is priced per call rather than per item, so send the whole list at once. 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 keywords behind those rankings use post_dataforseo_labs_amazon_ranked_keywords_live.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
asinsstring[]Обязательныйproduct IDs to compare required field product IDs to receive ranking data for; the maximum number of ASINs you can specify in this array is 1000; you can receive the asin parameter by making a separate request to the Amazon Products endpoint Note: all letters in ASIN code must be specified in uppercase format; example: B01LW2SL7R
location_namestringНеобязательныйfull name of the location required field if don’t specify location_code you can receive the list of available locations with their location_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; Note: this endpoint currently supports the US, Egypt, Saudi Arabia, and the United Arab Emirates locations only; example: United States
location_codeintegerНеобязательныйlocation code required field if don’t specify location_name you can receive the list of available locations with their location_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; Note: this endpoint currently supports the US, Egypt, Saudi Arabia, and the United Arab Emirates locations only; example: 2840
language_namestringНеобязательныйfull name of the language required field if don’t 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 example: English
language_codestringНеобязательныйlanguage code required field if don’t 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 example: en
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/amazon/product_rank_overview/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"asins": [
"<string>"
],
"location_name": "<string>",
"location_code": 0,
"language_name": "<string>",
"language_code": "<string>",
"tag": "<string>"
}'Ответ
Поля ответа
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
location_codeintegerНеобязательныйlocation code in a POST array if there is no data, then the value is null
language_codestringНеобязательныйlanguage code in a POST array if there is no data, then the value is null
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 detected Amazon product competitors and related data
se_typestringНеобязательныйsearch engine type
asinstringНеобязательныйASIN of the product unique product identifier on Amazon; for more information, refer to this help center guide
metricsobjectНеобязательныйaverage keyword position of the product
amazon_serpobjectНеобязательныйranking data from Amazon organic SERP
pos_1integerНеобязательныйnumber of organic SERPs where the product ranks #1
pos_2_3integerНеобязательныйnumber of organic SERPs where the product ranks #2-3
pos_4_10integerНеобязательныйnumber of organic SERPs where the product ranks #4-10
pos_11_100integerНеобязательныйnumber of organic SERPs where the product ranks #11-100
countintegerНеобязательныйtotal count of Amazon organic SERPs that contain the product
search_volumeintegerНеобязательныйtotal search volume of the product’s ranking keywords in organic SERP
amazon_paidobjectНеобязательныйranking data from Amazon paid SERP
pos_1integerНеобязательныйnumber of paid SERPs where the product ranks #1
pos_2_3integerНеобязательныйnumber of paid SERPs where the product ranks #2-3
pos_4_10integerНеобязательныйnumber of paid SERPs where the product ranks #4-10
pos_11_100integerНеобязательныйnumber of paid SERPs where the product ranks #11-100
countintegerНеобязательныйtotal count of Amazon paid SERPs that contain the product
search_volumeintegerНеобязательныйtotal search volume of the product’s ranking keywords in paid SERP