{"openapi":"3.1.0","info":{"title":"Asin API","version":"0.0.1","description":"Track Amazon prices and products: a watchlist checked on schedule, with price history and alerts. Authenticate with a personal API key from your account (Bearer token). Each price check of a tracked product costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent. Failed checks are refunded. The free plan includes 200 API and MCP requests a month (UTC) and reads the last 30 days of price history; a plan or a credit pack lifts both limits. The Chrome extension's requests and GET \/account (get_account), which says how many are left, aren't counted. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active ones with an alert set; the others stay tracked, without emails (alerts_paused: true), until one of those has its alert turned off or is paused. A plan or a credit pack alerts on every product. alert_on_drop and target_price can be set on any product either way. The same key works with the MCP server at \/api\/mcp, which also accepts a sign-in through OAuth, and the Chrome extension."},"externalDocs":{"description":"Documentation","url":"https:\/\/www.asin.dev\/docs"},"servers":[{"url":"https:\/\/www.asin.dev\/api\/v1"}],"tags":[{"name":"Watchlist","description":"The products you track, checked on their schedule."},{"name":"Amazon data","description":"Search Amazon and read any product's offers and shared price history."},{"name":"Account","description":"Your plan and your credits."}],"security":[{"bearerAuth":[]}],"paths":{"\/account":{"get":{"operationId":"getAccount","tags":["Account"],"summary":"Plan and remaining credits","description":"Your plan, the credits left (monthly allowance and packs), how many products you track and the credits they use per month, the credits each alert email costs, the days of history you can read and, on the free plan, the API and MCP requests left this month. Not counted as a request. The free plan includes 200 API and MCP requests a month (UTC) and reads the last 30 days of price history; a plan or a credit pack lifts both limits. The Chrome extension's requests and GET \/account (get_account), which says how many are left, aren't counted.","responses":{"200":{"description":"Account","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Account"},"example":{"plan":"basic","plan_name":"Starter","credits":29588,"renews_at":"2026-12-01T09:12:44.000Z","products":42,"product_limit":50000,"fastest_interval_minutes":60,"alert_credits":10,"monthly_credits":1260,"history_days":730,"api_requests_used":null,"api_requests_limit":null,"api_requests_reset_at":null,"manage_url":"https:\/\/www.asin.dev\/app"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/search":{"get":{"operationId":"searchAmazon","tags":["Amazon data"],"summary":"Search Amazon","description":"Amazon search results (up to 60, sponsored included), to find the ASIN of a product. Free, limited to 30 searches per hour.","parameters":[{"name":"query","in":"query","required":true,"description":"Keywords","schema":{"type":"string"},"example":"wireless earbuds"},{"name":"marketplace","in":"query","description":"Amazon store, e.g. com for amazon.com","schema":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"default":"com","description":"Amazon store, e.g. com for amazon.com"},"example":"com"}],"responses":{"200":{"description":"Results","content":{"application\/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#\/components\/schemas\/SearchResult"}}}},"example":{"results":[{"asin":"B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","price":79.99,"currency":"USD","rating":4.4,"reviews_count":12873}]}}}},"400":{"description":"invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history or offers reads in an hour, too many reads of Amazon at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories, offers and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"502":{"description":"amazon_unavailable: Amazon couldn't be read right now (GET \/search, GET \/offers). Nothing is charged; retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/offers":{"get":{"operationId":"getOffers","tags":["Amazon data"],"summary":"Offers already known","description":"Who sells the product and at what price, as last read, cheapest first, with Amazon's own price and the cheapest new and used offers (used is only known for Amazon's own outlet). Free: this never reads Amazon or spends a credit. When nobody read this product's offers yet, the list is empty and fetched_at is null: POST \/offers reads them.","parameters":[{"name":"asin","in":"query","required":true,"description":"10-character ASIN","schema":{"type":"string","pattern":"^[A-Za-z0-9]{10}$","description":"10-character ASIN"},"example":"B09DFCB66S"},{"name":"marketplace","in":"query","description":"Amazon store, e.g. com for amazon.com","schema":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"default":"com","description":"Amazon store, e.g. com for amazon.com"},"example":"com"}],"responses":{"200":{"description":"Offers","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offers"},"example":{"asin":"B09DFCB66S","marketplace":"com","currency":"USD","fetched_at":"2026-11-03T08:00:12.441Z","charged":false,"amazon_price":79.99,"lowest_new_price":74.5,"lowest_used_price":61.2,"offers":[{"seller":"Amazon Resale","seller_id":null,"price":61.2,"amazon":false,"fulfilled_by_amazon":false,"used":true,"delivery_time":"Friday, November 6","delivery_price":"FREE"},{"seller":"Example Audio Store","seller_id":"A10IJ5BG4OYOQ1","price":74.5,"amazon":false,"fulfilled_by_amazon":true,"used":false,"delivery_time":"Friday, November 6","delivery_price":"FREE"},{"seller":"Amazon","seller_id":null,"price":79.99,"amazon":true,"fulfilled_by_amazon":false,"used":false,"delivery_time":"Thursday, November 5","delivery_price":"FREE"}]}}}},"400":{"description":"invalid_product: product is neither a 10-character ASIN nor an Amazon product link, or asin isn't a 10-character ASIN. invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history or offers reads in an hour, too many reads of Amazon at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories, offers and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}},"post":{"operationId":"fetchOffers","tags":["Amazon data"],"summary":"Read every offer from Amazon","description":"Reads the offers on Amazon for 1 credit, refunded if it doesn't answer. A read made in the last 3 hours, by anyone, is returned instead, for free (charged: false). The answer is the same as GET \/offers.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["asin"],"properties":{"asin":{"type":"string","pattern":"^[A-Za-z0-9]{10}$","description":"10-character ASIN"},"marketplace":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"default":"com","description":"Amazon store, e.g. com for amazon.com"},"refresh":{"type":"boolean","default":false,"description":"Read Amazon again unless the last read is under 5 minutes old (1 credit)"}}},"example":{"asin":"B09DFCB66S","marketplace":"com"}}}},"responses":{"200":{"description":"Offers","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offers"},"example":{"asin":"B09DFCB66S","marketplace":"com","currency":"USD","fetched_at":"2026-11-03T08:00:12.441Z","charged":true,"amazon_price":79.99,"lowest_new_price":74.5,"lowest_used_price":61.2,"offers":[{"seller":"Amazon Resale","seller_id":null,"price":61.2,"amazon":false,"fulfilled_by_amazon":false,"used":true,"delivery_time":"Friday, November 6","delivery_price":"FREE"},{"seller":"Example Audio Store","seller_id":"A10IJ5BG4OYOQ1","price":74.5,"amazon":false,"fulfilled_by_amazon":true,"used":false,"delivery_time":"Friday, November 6","delivery_price":"FREE"},{"seller":"Amazon","seller_id":null,"price":79.99,"amazon":true,"fulfilled_by_amazon":false,"used":false,"delivery_time":"Thursday, November 5","delivery_price":"FREE"}]}}}},"400":{"description":"invalid_product: product is neither a 10-character ASIN nor an Amazon product link, or asin isn't a 10-character ASIN. invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"insufficient_credits: Reading Amazon now (POST \/offers) costs 1 credit and the balance is empty. email_not_verified: The account's email isn't confirmed yet, so it has no credits to read Amazon with. api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"product_not_found: Amazon has no product for this ASIN on this marketplace (POST \/offers). Refunded.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history or offers reads in an hour, too many reads of Amazon at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories, offers and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"502":{"description":"amazon_unavailable: Amazon couldn't be read right now (GET \/search, GET \/offers). Nothing is charged; retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/history":{"get":{"operationId":"getAsinHistory","tags":["Amazon data"],"summary":"Price history of any ASIN","description":"Every price Asin read for an ASIN on a marketplace over the period, whoever tracks it, oldest first, with the lowest, highest and average of those prices. A history of more than 5000 points is thinned evenly, keeping its first and last point. No credit is used and nothing is read from Amazon, so an ASIN nobody tracked yet has an empty history; limited to 600 reads per hour. The free plan reads the last 30 days: history_limited says when the period asked for was cut.","parameters":[{"name":"asin","in":"query","required":true,"description":"10-character ASIN","schema":{"type":"string","pattern":"^[A-Za-z0-9]{10}$","description":"10-character ASIN"},"example":"B09DFCB66S"},{"name":"marketplace","in":"query","description":"Amazon store, e.g. com for amazon.com","schema":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"default":"com","description":"Amazon store, e.g. com for amazon.com"},"example":"com"},{"name":"days","in":"query","description":"History period in days. The free plan reads the last 30: history_days says which period was returned.","schema":{"type":"integer","minimum":1,"maximum":730,"default":90,"description":"History period in days. The free plan reads the last 30: history_days says which period was returned."},"example":"30"}],"responses":{"200":{"description":"History of the ASIN","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AsinHistory"},"example":{"asin":"B09DFCB66S","marketplace":"com","currency":"USD","lowest_price":74.5,"highest_price":99.99,"average_price":84.83,"history_days":90,"history_limited":false,"history":[{"price":99.99,"in_stock":true,"coupon":null,"seller":"Amazon","checked_at":"2026-10-01T09:30:35.002Z"},{"price":74.5,"in_stock":true,"coupon":"Save 5%","seller":"Example Audio Store","checked_at":"2026-10-24T08:00:10.913Z"},{"price":79.99,"in_stock":true,"coupon":null,"seller":"Amazon","checked_at":"2026-11-03T08:00:12.441Z"}]}}}},"400":{"description":"invalid_product: product is neither a 10-character ASIN nor an Amazon product link, or asin isn't a 10-character ASIN. invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history or offers reads in an hour, too many reads of Amazon at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories, offers and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/products":{"get":{"operationId":"listProducts","tags":["Watchlist"],"summary":"List tracked products","description":"Your watchlist, newest first, with each product's latest state and its recent prices (trend). Filter with asin (and marketplace) to know if a product is tracked, or with filter to get the same lists as the app's tabs.","parameters":[{"name":"asin","in":"query","description":"Only this ASIN","schema":{"type":"string","pattern":"^[A-Za-z0-9]{10}$","description":"10-character ASIN"},"example":"B09DFCB66S"},{"name":"marketplace","in":"query","description":"Only this Amazon store","schema":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"description":"Only this Amazon store"}},{"name":"filter","in":"query","description":"Only the products of one of the app's watchlist filters. all: Every tracked product (default). drops: Cheaper now than when the product was added. target: At or below its target price. out_of_stock: No offer at the last check. attention: The last check didn't go through (last_error is set): no credits, not found or Amazon unavailable. paused: Paused by you: not checked, not charged.","schema":{"type":"string","enum":["all","drops","target","out_of_stock","attention","paused"],"default":"all","description":"Only the products of one of the app's watchlist filters. all: Every tracked product (default). drops: Cheaper now than when the product was added. target: At or below its target price. out_of_stock: No offer at the last check. attention: The last check didn't go through (last_error is set): no credits, not found or Amazon unavailable. paused: Paused by you: not checked, not charged."}},{"name":"page","in":"query","description":"Page number","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","description":"Products per page","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"Products","content":{"application\/json":{"schema":{"type":"object","required":["products","total","page"],"properties":{"products":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product"}},"total":{"type":"integer"},"page":{"type":"integer"}}},"example":{"products":[{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","asin":"B09DFCB66S","marketplace":"com","url":"https:\/\/www.amazon.com\/dp\/B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","brand":"Example Audio","currency":"USD","price":79.99,"first_price":99.99,"lowest_price":74.5,"highest_price":99.99,"in_stock":true,"stock":"In Stock","coupon":null,"seller":"Amazon","best_sellers_rank":"#152 in Electronics","target_price":70,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z","trend":[99.99,74.5,79.99]}],"total":1,"page":1}}}},"400":{"description":"invalid_product: product is neither a 10-character ASIN nor an Amazon product link, or asin isn't a 10-character ASIN. invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}},"post":{"operationId":"trackProduct","tags":["Watchlist"],"summary":"Track a product","description":"Adds an ASIN, an Amazon link or a short link (amzn.to, a.co\u2026) to your watchlist. The first check runs in the background within seconds (checking is true until then): poll GET \/products\/{id}, or send wait: true to get the answer once it's done (up to 45 seconds). Each price check of a tracked product costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent. Without credits the product is added and its first check waits. What Amazon answers shows on the product (last_error), never as an error here. Adding a product you already track returns it unchanged, with status 200.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["product"],"properties":{"product":{"type":"string","description":"ASIN (B09DFCB66S) or Amazon product link"},"marketplace":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"default":"com","description":"Amazon store, e.g. com for amazon.com. A product link sets it on its own."},"target_price":{"type":["number","null"],"description":"Email the owner when the price goes at or below this amount (on the free plan, for the first 5 products with an alert). null removes it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"default":1440,"description":"Minutes between two checks (1440 = daily). Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business."},"wait":{"type":"boolean","default":false,"description":"Answer once the first check is done (up to 45 seconds)"}}},"example":{"product":"B09DFCB66S","marketplace":"com","target_price":70,"wait":true}}}},"responses":{"200":{"description":"Already tracked: the product as it is, unchanged","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","asin":"B09DFCB66S","marketplace":"com","url":"https:\/\/www.amazon.com\/dp\/B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","brand":"Example Audio","currency":"USD","price":79.99,"first_price":99.99,"lowest_price":74.5,"highest_price":99.99,"in_stock":true,"stock":"In Stock","coupon":null,"seller":"Amazon","best_sellers_rank":"#152 in Electronics","target_price":70,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"201":{"description":"Tracked product","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","asin":"B09DFCB66S","marketplace":"com","url":"https:\/\/www.amazon.com\/dp\/B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","brand":"Example Audio","currency":"USD","price":79.99,"first_price":99.99,"lowest_price":74.5,"highest_price":99.99,"in_stock":true,"stock":"In Stock","coupon":null,"seller":"Amazon","best_sellers_rank":"#152 in Electronics","target_price":70,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"400":{"description":"invalid_product: product is neither a 10-character ASIN nor an Amazon product link, or asin isn't a 10-character ASIN. unsupported_marketplace: The link is from an Amazon store that isn't supported (supported: com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in). invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"paid_option: Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business. product_limit: The account tracks as many products as its plan allows (50 on the free plan).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"},"example":{"error":{"code":"product_limit","message":"You've reached your plan's product limit. The free plan tracks up to 50 products."}}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history or offers reads in an hour, too many reads of Amazon at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories, offers and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/products\/{id}":{"get":{"operationId":"getProduct","tags":["Watchlist"],"summary":"Get a product and its price history","description":"The product's latest state and every price read of the period, oldest first. The history covers every read of this ASIN on this marketplace, including those made before you added it, so a product added today can come with months of prices; created_at says when you added it. A history of more than 5000 points is thinned evenly, keeping its first and last point. The free plan reads the last 30 days: history_limited says when the period asked for was cut.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"},{"name":"days","in":"query","description":"History period in days. The free plan reads the last 30: history_days says which period was returned.","schema":{"type":"integer","minimum":1,"maximum":730,"default":90,"description":"History period in days. The free plan reads the last 30: history_days says which period was returned."},"example":"30"}],"responses":{"200":{"description":"Product with history","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProductWithHistory"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","asin":"B09DFCB66S","marketplace":"com","url":"https:\/\/www.amazon.com\/dp\/B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","brand":"Example Audio","currency":"USD","price":79.99,"first_price":99.99,"lowest_price":74.5,"highest_price":99.99,"in_stock":true,"stock":"In Stock","coupon":null,"seller":"Amazon","best_sellers_rank":"#152 in Electronics","target_price":70,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z","history_days":90,"history_limited":false,"history":[{"price":99.99,"in_stock":true,"coupon":null,"seller":"Amazon","checked_at":"2026-10-01T09:30:35.002Z"},{"price":74.5,"in_stock":true,"coupon":"Save 5%","seller":"Example Audio Store","checked_at":"2026-10-24T08:00:10.913Z"},{"price":79.99,"in_stock":true,"coupon":null,"seller":"Amazon","checked_at":"2026-11-03T08:00:12.441Z"}]}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history or offers reads in an hour, too many reads of Amazon at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories, offers and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}},"patch":{"operationId":"updateProduct","tags":["Watchlist"],"summary":"Change alerts and checks","description":"Target price, drop alerts, check interval, or pause. Send only what changes. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active ones with an alert set; the others stay tracked, without emails (alerts_paused: true), until one of those has its alert turned off or is paused. A plan or a credit pack alerts on every product. alert_on_drop and target_price can be set on any product either way.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"target_price":{"type":["number","null"],"description":"Email the owner when the price goes at or below this amount (on the free plan, for the first 5 products with an alert). null removes it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"default":1440,"description":"Minutes between two checks (1440 = daily). Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business."},"alert_on_drop":{"type":"boolean","description":"Email when the price drops or the product is back in stock (on the free plan, for the first 5 products with an alert)"},"paused":{"type":"boolean","description":"Stop checking (and charging) for now; false resumes"}}},"example":{"target_price":65,"interval_minutes":360}}}},"responses":{"200":{"description":"Product","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","asin":"B09DFCB66S","marketplace":"com","url":"https:\/\/www.amazon.com\/dp\/B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","brand":"Example Audio","currency":"USD","price":79.99,"first_price":99.99,"lowest_price":74.5,"highest_price":99.99,"in_stock":true,"stock":"In Stock","coupon":null,"seller":"Amazon","best_sellers_rank":"#152 in Electronics","target_price":70,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"400":{"description":"invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"paid_option: Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}},"delete":{"operationId":"deleteProduct","tags":["Watchlist"],"summary":"Stop tracking a product","description":"Removes the product and its price history.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"}],"responses":{"200":{"description":"Deleted","content":{"application\/json":{"schema":{"type":"object","required":["deleted","product_id"],"properties":{"deleted":{"type":"boolean"},"product_id":{"type":"string","format":"uuid"}}},"example":{"deleted":true,"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/products\/{id}\/check":{"post":{"operationId":"checkProduct","tags":["Watchlist"],"summary":"Check the price now","description":"Asks for a check right away (1 credit), at most once per 5 minutes; earlier calls return the product unchanged. A paused product has to be resumed first. The check runs in the background; with wait=true the answer waits for it. Read last_error if it didn't go through.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"},{"name":"wait","in":"query","description":"Answer once the check is done (up to 45 seconds)","schema":{"type":"boolean","default":false},"example":"true"}],"responses":{"200":{"description":"Product","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","asin":"B09DFCB66S","marketplace":"com","url":"https:\/\/www.amazon.com\/dp\/B09DFCB66S","title":"Wireless Earbuds, Bluetooth 5.3, Noise Cancelling","image":"https:\/\/m.media-amazon.com\/images\/I\/61SUj2aKoEL.jpg","brand":"Example Audio","currency":"USD","price":79.99,"first_price":99.99,"lowest_price":74.5,"highest_price":99.99,"in_stock":true,"stock":"In Stock","coupon":null,"seller":"Amazon","best_sellers_rank":"#152 in Electronics","target_price":70,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"400":{"description":"invalid_option: A setting isn't valid: marketplace (com, co.uk, de, fr, it, es, ca, co.jp, com.br, com.mx, in), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET \/account still answers.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Personal API key (asin_\u2026), created in your account."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_product","unsupported_marketplace","invalid_option","unauthorized","insufficient_credits","email_not_verified","api_limit","paid_option","product_limit","not_found","product_not_found","method_not_allowed","rate_limited","generic","amazon_unavailable"],"description":"Stable code to branch on"},"message":{"type":"string","description":"Human-readable explanation"}}}}},"Account":{"type":"object","required":["plan","plan_name","credits","renews_at","products","product_limit","fastest_interval_minutes","alert_credits","monthly_credits","history_days","api_requests_used","api_requests_limit","api_requests_reset_at","manage_url"],"properties":{"plan":{"type":"string","enum":["free","basic","pro","mega"],"description":"Plan id"},"plan_name":{"type":"string","description":"Display name of the plan"},"credits":{"type":"integer","description":"Credits left, packs included"},"renews_at":{"type":["string","null"],"format":"date-time","description":"Next renewal of a paid plan"},"products":{"type":"integer","description":"Tracked products"},"product_limit":{"type":"integer","description":"Products the plan allows"},"fastest_interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"description":"Shortest interval_minutes the account can choose now"},"alert_credits":{"type":"integer","description":"Credits each alert email costs this account, on top of the check: 20 on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business. Without enough credits, the alert email isn't sent; nothing is charged when alert emails are off"},"monthly_credits":{"type":"integer","description":"Credits the active products use per 30 days at their intervals"},"history_days":{"type":"integer","description":"Days of price history the account can read: 30 on the free plan, 730 with a plan or a credit pack"},"api_requests_used":{"type":["integer","null"],"description":"API and MCP requests made this month (UTC) on the free plan; null when they aren't counted"},"api_requests_limit":{"type":["integer","null"],"description":"Requests the free plan allows per month (200); null with a plan or a credit pack"},"api_requests_reset_at":{"type":["string","null"],"format":"date-time","description":"When the free plan's requests start again; null when they aren't counted"},"manage_url":{"type":"string","format":"uri","description":"Where to change plan or buy a pack"}}},"SearchResult":{"type":"object","required":["asin","title","image","price","currency","rating","reviews_count"],"properties":{"asin":{"type":"string","description":"10-character ASIN, to track or read its history"},"title":{"type":"string","description":"Product title"},"image":{"type":["string","null"],"format":"uri","description":"Main product image"},"price":{"type":["number","null"],"description":"Price shown in the results"},"currency":{"type":"string","description":"ISO 4217 code of the marketplace"},"rating":{"type":["number","null"],"description":"Average rating out of 5"},"reviews_count":{"type":["integer","null"],"description":"Number of reviews"}}},"Product":{"type":"object","required":["product_id","asin","marketplace","url","title","image","brand","currency","price","first_price","lowest_price","highest_price","in_stock","stock","coupon","seller","best_sellers_rank","target_price","alert_on_drop","alerts_paused","interval_minutes","status","last_error","found_on","checking","last_checked_at","next_check_at","created_at"],"properties":{"product_id":{"type":"string","format":"uuid","description":"Id of this watchlist entry"},"asin":{"type":"string","description":"Amazon's 10-character product code"},"marketplace":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"description":"Amazon store"},"url":{"type":"string","format":"uri","description":"Product page on Amazon"},"title":{"type":["string","null"],"description":"null until the first check"},"image":{"type":["string","null"],"format":"uri","description":"Main product image"},"brand":{"type":["string","null"],"description":"Brand shown by Amazon"},"currency":{"type":["string","null"],"description":"ISO code, e.g. USD, EUR, JPY"},"price":{"type":["number","null"],"description":"Latest price; null when there is no offer"},"first_price":{"type":["number","null"],"description":"Price at the first check"},"lowest_price":{"type":["number","null"],"description":"Lowest price seen"},"highest_price":{"type":["number","null"],"description":"Highest price seen"},"in_stock":{"type":["boolean","null"],"description":"null until the first check"},"stock":{"type":["string","null"],"description":"Amazon's availability text"},"coupon":{"type":["string","null"],"description":"Coupon shown on the page, if any"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"best_sellers_rank":{"type":["string","null"],"description":"Main Best Sellers Rank"},"target_price":{"type":["number","null"],"description":"Alert threshold"},"alert_on_drop":{"type":"boolean","description":"Email when the price drops or the product is back in stock (on the free plan, for the first 5 products with an alert)"},"alerts_paused":{"type":"boolean","description":"true when the product has an alert set (alert_on_drop or target_price) but no email goes: past the free plan's 5 products with an alert. A plan or a credit pack lifts it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"description":"Minutes between two checks"},"status":{"type":"string","enum":["active","paused"],"description":"Paused products aren't checked"},"last_error":{"type":["string","null"],"enum":["email_not_verified","insufficient_credits","amazon_unavailable","product_not_found",null],"description":"Why the last check didn't go through, if it didn't"},"found_on":{"type":"array","items":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"]},"description":"When last_error is product_not_found: marketplaces where the ASIN exists"},"checking":{"type":"boolean","description":"A check is due or running; poll until it's false"},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"When the last check ran"},"next_check_at":{"type":"string","format":"date-time","description":"When the next one is due"},"created_at":{"type":"string","format":"date-time","description":"When it was added"},"trend":{"type":"array","items":{"type":"number"},"description":"Only in lists: up to 30 prices of the last 30 days, oldest first"}}},"ProductWithHistory":{"type":"object","required":["product_id","asin","marketplace","url","title","image","brand","currency","price","first_price","lowest_price","highest_price","in_stock","stock","coupon","seller","best_sellers_rank","target_price","alert_on_drop","alerts_paused","interval_minutes","status","last_error","found_on","checking","last_checked_at","next_check_at","created_at","history_days","history_limited","history"],"properties":{"product_id":{"type":"string","format":"uuid","description":"Id of this watchlist entry"},"asin":{"type":"string","description":"Amazon's 10-character product code"},"marketplace":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"description":"Amazon store"},"url":{"type":"string","format":"uri","description":"Product page on Amazon"},"title":{"type":["string","null"],"description":"null until the first check"},"image":{"type":["string","null"],"format":"uri","description":"Main product image"},"brand":{"type":["string","null"],"description":"Brand shown by Amazon"},"currency":{"type":["string","null"],"description":"ISO code, e.g. USD, EUR, JPY"},"price":{"type":["number","null"],"description":"Latest price; null when there is no offer"},"first_price":{"type":["number","null"],"description":"Price at the first check"},"lowest_price":{"type":["number","null"],"description":"Lowest price seen"},"highest_price":{"type":["number","null"],"description":"Highest price seen"},"in_stock":{"type":["boolean","null"],"description":"null until the first check"},"stock":{"type":["string","null"],"description":"Amazon's availability text"},"coupon":{"type":["string","null"],"description":"Coupon shown on the page, if any"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"best_sellers_rank":{"type":["string","null"],"description":"Main Best Sellers Rank"},"target_price":{"type":["number","null"],"description":"Alert threshold"},"alert_on_drop":{"type":"boolean","description":"Email when the price drops or the product is back in stock (on the free plan, for the first 5 products with an alert)"},"alerts_paused":{"type":"boolean","description":"true when the product has an alert set (alert_on_drop or target_price) but no email goes: past the free plan's 5 products with an alert. A plan or a credit pack lifts it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"description":"Minutes between two checks"},"status":{"type":"string","enum":["active","paused"],"description":"Paused products aren't checked"},"last_error":{"type":["string","null"],"enum":["email_not_verified","insufficient_credits","amazon_unavailable","product_not_found",null],"description":"Why the last check didn't go through, if it didn't"},"found_on":{"type":"array","items":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"]},"description":"When last_error is product_not_found: marketplaces where the ASIN exists"},"checking":{"type":"boolean","description":"A check is due or running; poll until it's false"},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"When the last check ran"},"next_check_at":{"type":"string","format":"date-time","description":"When the next one is due"},"created_at":{"type":"string","format":"date-time","description":"When it was added"},"history_days":{"type":"integer","description":"Days the history covers"},"history_limited":{"type":"boolean","description":"true when the period asked for was cut to the free plan's 30 days"},"history":{"type":"array","items":{"type":"object","required":["price","in_stock","coupon","seller","checked_at"],"properties":{"price":{"type":["number","null"],"description":"null when there was no offer"},"in_stock":{"type":["boolean","null"],"description":"Whether it was in stock"},"coupon":{"type":["string","null"],"description":"Coupon shown, if any"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"checked_at":{"type":"string","format":"date-time","description":"When Amazon was read"}}}}}},"Offers":{"type":"object","required":["asin","marketplace","currency","fetched_at","charged","amazon_price","lowest_new_price","lowest_used_price","offers"],"properties":{"asin":{"type":"string","description":"10-character ASIN"},"marketplace":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"description":"Amazon store"},"currency":{"type":"string","description":"ISO 4217 code of the marketplace"},"fetched_at":{"type":["string","null"],"format":"date-time","description":"When Amazon was read; null when nobody asked yet"},"charged":{"type":"boolean","description":"Whether this answer used a credit"},"amazon_price":{"type":["number","null"],"description":"Amazon's own offer, when Amazon sells it"},"lowest_new_price":{"type":["number","null"],"description":"Cheapest offer that isn't used"},"lowest_used_price":{"type":["number","null"],"description":"Cheapest used or renewed offer, when Amazon's outlet has one"},"offers":{"type":"array","items":{"type":"object","required":["seller","seller_id","price","amazon","fulfilled_by_amazon","used","delivery_time","delivery_price"],"properties":{"seller":{"type":"string","description":"Seller's name"},"seller_id":{"type":["string","null"],"description":"Amazon's id of the seller"},"price":{"type":"number","description":"Price of the offer"},"amazon":{"type":"boolean","description":"Sold by Amazon itself"},"fulfilled_by_amazon":{"type":"boolean","description":"Shipped by Amazon"},"used":{"type":"boolean","description":"Used or renewed"},"delivery_time":{"type":["string","null"],"description":"Delivery date, as Amazon says it"},"delivery_price":{"type":["string","null"],"description":"Delivery cost, as Amazon says it"}}}}}},"AsinHistory":{"type":"object","required":["asin","marketplace","currency","lowest_price","highest_price","average_price","history_days","history_limited","history"],"properties":{"asin":{"type":"string","description":"10-character ASIN"},"marketplace":{"type":"string","enum":["com","co.uk","de","fr","it","es","ca","co.jp","com.br","com.mx","in"],"description":"Amazon store"},"currency":{"type":"string","description":"ISO 4217 code of the marketplace"},"lowest_price":{"type":["number","null"],"description":"Lowest price of the period"},"highest_price":{"type":["number","null"],"description":"Highest price of the period"},"average_price":{"type":["number","null"],"description":"Average of the period's prices"},"history_days":{"type":"integer","description":"Days the history covers"},"history_limited":{"type":"boolean","description":"true when the period asked for was cut to the free plan's 30 days"},"history":{"type":"array","items":{"type":"object","required":["price","in_stock","coupon","seller","checked_at"],"properties":{"price":{"type":["number","null"],"description":"null when there was no offer"},"in_stock":{"type":["boolean","null"],"description":"Whether it was in stock"},"coupon":{"type":["string","null"],"description":"Coupon shown, if any"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"checked_at":{"type":"string","format":"date-time","description":"When Amazon was read"}}}}}}}}}