Request

To initiate a Sales Analysis & History request, send a GET request to the EasyParser Real-Time API endpoint.

Endpoint

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

Required Parameters

This operation requires certain common parameters to be included in every request. For more details, see Common Required Request Fields.

Optional Parameters

history_range

String

Defines the historical depth of the data in months. Valid values are "0", "3", "6", "9", "12".

Important Note on Historical Data: When you request historical data using history_range (e.g., "3" for 3 months), the API returns a history array.

  • Input: Defined in Months.

  • Output: Aggregated by Weeks.

Each item in the history array represents one week of performance data (Views, Sales, Price, Rank) corresponding to the requested date range.

Credit Consumption

This operation has a base cost of 5 credits. Requesting historical data incurs additional credits based on the depth of history required.

"0" (Default)

Current Snapshot

5

+0

5 Credits

"3"

Last 3 Months

5

+3

8 Credits

"6"

Last 6 Months

5

+6

11 Credits

"9"

Last 9 Months

5

+9

14 Credits

"12"

Last 12 Months

5

+12

17 Credits

For more details, please refer to the Credit Consumption Page.

Example Request

curl --location 'https://realtime.easyparser.com/v1/request?
  api_key=YOUR_API_KEY&
  platform=AMZ&
  operation=SALES_ANALYSIS_HISTORY&
  domain=.com&
  asin=B07C2Z21X5&
  history_range=3'

Last updated