Amazon Book Price Tracker

Number of APIs: 4

Amazon book price tracker is a Qodex Collection that can track price of a particular book on amazon.in. When run it searches the book on amazon and notifies the user through slack when the price reduces. It can be run locally with the Qodex collection runner, but it's best to run the collection as a scheduled job with Qodex Monitor. You can set the book's name with environment variables, and it stores the price and other details about the book to a environment for future use, and to check next time if the price has decreased or not.

Before starting


Before you can run the collection, you need to create an environment. Add the following required variables there.

Name of the variableInitial value
book nameThe book's name
slackwebhookurl Link to your slack apps webhook
apikeyYour api key for using Qodex Api, get it from here
env uidThe unique id of the environment that you created

Get the slack webhook url

Log in to your team Slack account and create a Slack app. Then activate and configure an incoming webhook for your app. Add this webhook url as webhook in your environment.

Get the Qodex Api key

You need a valid API Key to send requests to the API endpoints. You can get a key in the Integrations page.

Get the environment unique id

Once you've created your environment, you can get the env uid value by downloading the environment and copying the id from the environment file.

Add the book name

Now as all the setup is done, now you need to edit the book name environment variable to the book's name you want to track the price of. And the name should be accurate otherwise it may get incorrect result.

  1. Search Amazon.in GET https://www.amazon.in/s?k=electronics+under+300&ref=nb_sb_noss_1

  2. Amazon Price Request GET {{product_url}}

  3. Send Notification to Slack POST {{slack_webhook_url}}

  4. Update Environment PUT https://api.getpostman.com/environments/{{env uid}}