Skip to main content
Glade API can provide periodic Amazon price snapshots for monitoring workflows. Product details have a six-hour cache target, so this interface is suitable for periodic tracking rather than real-time repricing. See Data Freshness.

Fetching a product price

The GET /api/amazon/product endpoint can return a price object with symbol, value, currency, and display fields. Price data is optional because not every listing exposes a price.
The price data lives inside the data.amazonProduct object in the response:
Use price.display when you want to render the price to users. Use price.value when you want to store or compare it programmatically.

Monitoring across marketplaces

Prices vary significantly between Amazon’s regional stores. The same ASIN can carry a different price on Amazon.co.uk versus Amazon.de due to local currency rates, regional competition, Prime availability, and import costs. Glade API normalizes all price objects to the same shape regardless of marketplace, so your comparison logic stays the same everywhere. The following JavaScript example fetches the same ASIN from the US, UK, and DE marketplaces in parallel using Promise.all, then returns a unified array you can render or persist:
Each parallel request counts as one unit, so fetching across three domains costs three units total. If you poll frequently, consider staggering requests or caching results with a short TTL.

Detecting price drops

To detect a price drop, you need to compare the current price against a previously stored value. The pattern is simple: persist the last known price.value in a database or cache after each successful fetch, then compare it to the next fetch’s result.
get_price returns None when the product has no listed price (for example, when it is temporarily out of stock and price data is unavailable). Always guard against None before storing or comparing values. A recommended polling pattern:
1

Fetch and store the baseline price

On first run, call get_price and write the result to your database as the baseline.
2

Schedule a recurring poll

Use a cron job or task queue to call get_price at your desired interval (for example, every hour).
3

Compare and alert

Call check_price_drop with the stored baseline. If it returns True, fire your alert — email, push notification, webhook, or otherwise.
4

Update the stored price

After alerting (or even if no drop occurred), overwrite the stored baseline with the current price so future comparisons reflect the latest value.

Tracking third-party offers

The buy-box price is not always the cheapest option. Third-party sellers often list the same ASIN at a lower price, sometimes with free shipping. Use GET /api/amazon/product/offers to retrieve all active seller listings for an ASIN.
Each offer in the response includes: To find the lowest total cost, iterate offers and sum price.value with any delivery cost. Filtering to conditionIsNew: true and delivery.fulfilledByAmazon: true narrows results to the most reliable FBA-fulfilled new listings.

Checking coupons and deals

Amazon regularly applies clip-and-save coupons and time-limited deals to products. Glade API surfaces both. Coupons: Products with an active coupon include a coupon field containing a human-readable label string, for example "Save $5.00" or "10% off". Check this field after fetching product details to include savings in your price comparisons. Deals: Use GET /api/amazon/deals to browse currently active deals across categories. The endpoint returns lightning deals, best deals, and other promotional pricing — useful for building a deal-alert feature or scanning a category for temporarily discounted products.
Coupon labels are display text, not a normalized numeric discount. Show the label to users, but do not subtract it from price.value unless your application has parsed and validated the specific label format.