Page cover image

Amazon Query Command (/query)

This section describes the /query command

This command allows you to query an Amazon product, using its Amazon Standard Identification Number (ASIN). The command provides you with an array of data in regard to the product, its sales, ratings, and more.

Usage

Locating the ASIN of an Amazon product

Firstly, find a product you want to query on Amazon.

Example Amazon product
Example Amazon product

You will notice in the URL of the page, there is a special identifier, this is the ASIN. They usually have the same format.

Amazon URL containing ASIN

In this example, the ASIN is B07NL27TCK.

Running the /query command

Now on the Discord server running the Mercury Dynamics bot, begin typing the command like so:

Query command populated for the example

You may also query an Amazon product using its barcode

It is also important to note that you can use the query command to locate products based on their barcode. Below is an example of this:

Example product query using a barcode

There are three parameters for this command:

  • Extension - This is the corresponding Amazon country that will be queried for the product (remember ASINs in different regions won't always be the same)

  • Identifier - This is the product ASIN or Barcode

  • Public - This defines whether your results will be posted for everyone to see, or just for yourself

If ran correctly, you should receive a result like below.

Example /query results

Last updated