Skip to content

Sales Analysis and History Request

Send a GET request with operation=SALES_ANALYSIS_HISTORY to the Real-Time API. You identify the product with its asin, and you choose how much weekly history to include with history_range.

Endpoint

GET https://realtime.easyparser.com/v1/request

Required parameters

All parameters go in the query string. See Common Request Fields for details on the shared parameters.

ParameterTypeRequiredDescription
api_keystringYesYour API key, sent as a query parameter. Find it at Account > Plan.
platformstringYesTarget platform. Allowed: AMZ (Amazon).
operationstringYesOperation code in upper case. Allowed: SALES_ANALYSIS_HISTORY.
domainstringYesAmazon marketplace, written with a leading dot, for example .com. See Supported Marketplaces.
asinstringYesAmazon product ID: 10 upper-case letters or digits, for example B0CJB6V2L5.

Optional parameters

ParameterTypeRequiredDescription
history_rangestringNoMonths of history to return, aggregated by week. 0 returns the current snapshot only, with no weekly history. Default: 0. Allowed: 0, 3, 6, 9, 12.

Credit cost

The base cost is 5 credits. Each month of history adds 1 credit.

ConditionCredits
history_range=0 (default, current snapshot)5
history_range=3 (last 3 months)8
history_range=6 (last 6 months)11
history_range=9 (last 9 months)14
history_range=12 (last 12 months)17

See Credit Consumption for the rules of every operation.

Example request

This request returns the current snapshot plus 3 months of weekly history. It costs 8 credits when the product has history, otherwise 5.

Terminal window
curl --get "https://realtime.easyparser.com/v1/request" \
--data-urlencode "api_key=YOUR_API_KEY" \
--data-urlencode "platform=AMZ" \
--data-urlencode "operation=SALES_ANALYSIS_HISTORY" \
--data-urlencode "domain=.com" \
--data-urlencode "asin=B0CJB6V2L5" \
--data-urlencode "history_range=3"

Notes

  • You set history_range in months, but the history array in the response has one entry per week. See Response.
  • This operation does not support address parameters (address_id, zip_code, city, district, country_code), language or currency. See Address Management for the operations that do.
  • To analyze many ASINs at once, send this operation with an asins list through the Bulk API.