{"openapi":"3.1.0","info":{"title":"ScrapeMole data API for AI agents","version":"0.1.0","description":"Pay-per-call public web data for agents: Amazon products. Pay per successful call in USDC with x402; errors are never charged. No accounts, no API keys.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the scrape and settled only when the response is 200. Terms: https://scrapemole-api.vercel.app/terms","contact":{"email":"edgaras@mail.grokbot.com","url":"https://scrapemole.pages.dev"},"x-guidance":"Call any /v1 endpoint without payment to receive a 402 with the exact price, then retry with an x402 client (e.g. @x402/fetch). Read errors: 4xx/5xx responses are never charged."},"servers":[{"url":"https://scrapemole-api.vercel.app"}],"x-discovery":{"ownershipProofs":[]},"components":{"securitySchemes":{"x402":{"type":"http","scheme":"x402","description":"HTTP 402 payment with USDC via the x402 protocol."}}},"paths":{"/v1/amazon/product":{"get":{"operationId":"amazonProduct","summary":"One Amazon product by ASIN or URL: price, list price, stock, rating, reviews count, Best Sellers rank, specs, images.","description":"Use when you need current data for an Amazon product: price and currency, list price and discount, availability, rating, review count, Best Sellers rank, brand, features, specifications and image URLs. 15 marketplaces. When Amazon shows no buy box (e.g. \"Currently unavailable\"), price, currency and listPrice are null and priceNote explains why; the rest of the product is returned and the call counts as successful. $0.01 per successful call; unknown ASINs and errors are not charged.","tags":["amazon","ecommerce","product-data","price"],"parameters":[{"name":"asin","in":"query","required":true,"description":"ASIN (10 characters) or full product URL.","schema":{"type":"string","examples":["B0CJZW65R3"]}},{"name":"marketplace","in":"query","required":false,"description":"Amazon marketplace (ignored when a full URL is given).","schema":{"type":"string","enum":["amazon.com","amazon.co.uk","amazon.de","amazon.fr","amazon.it","amazon.es","amazon.ca","amazon.com.au","amazon.co.jp","amazon.in","amazon.nl","amazon.se","amazon.pl","amazon.com.mx","amazon.com.br"],"default":"amazon.com"}},{"name":"zip","in":"query","required":false,"description":"Delivery ZIP/postcode for localized price and stock. Default: a marketplace default.","schema":{"type":"string","examples":["10001"]}}],"security":[{"x402":[]}],"x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.01","currency":"USD","network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Data (the payment settles only for this status).","content":{"application/json":{"example":{"sourceType":"product","asin":"B0CJZW65R3","url":"https://www.amazon.com/dp/B0CJZW65R3","marketplace":"amazon.com","title":"STANLEY Quencher H2.0 Flow State Tumbler, 40 oz, Ash","brand":"STANLEY","price":29.97,"currency":"USD","priceText":"$29.97","listPrice":45,"savingsPercent":33,"inStock":true,"availability":"In Stock","rating":4.7,"reviewsCount":206111,"boughtPastMonth":"8K+ bought in past month","bestSellersRank":[{"rank":1,"category":"Home & Kitchen"},{"rank":1,"category":"Insulated Tumblers"}],"categories":["Home & Kitchen","Kitchen & Dining","Storage & Organization"],"features":["YOUR DREAM TUMBLER: Whichever way your day flows, the H2.0 FlowState tumbler keeps you refreshed with fewer refills. Double wall vacuum insulation means drinks stay cold, iced or hot for hours. Choose between our 14oz, 20oz, 30oz,40oz and 64oz options depending on your hydration needs. The narrow ba…","ADVANCED LID CONSTRUCTION: Whether you prefer small sips or maximum thirst quenching, Stanley has developed an advanced FlowState lid, featuring a rotating cover with three positions: a straw opening designed to resist splashes with a seal that holds the reusable straw in place, a drink opening, and…","EARTH-FRIENDLY DURABILITY: Constructed of 90% recycled BPA free stainless steel for sustainable sipping, the Stanley Quencher H2.0 has the durability to stand up to a lifetime of use. Eliminate the use of single-use plastic bottles and straws with a travel tumbler built with sustainability in mind."],"description":"This Quencher H2.0 is generously sized (but not oversized) with an easy-carry, comfort-grip handle and a narrow base that will fit most cup holders. Long day of meetings? Rowing class? Trip out of town? Our durable 30 oz tumbler, made with recycled stainless steel, is up to the hydration challenge. …","specifications":{"Brand":"STANLEY","Material":"Stainless Steel","Color":"Ash","Capacity":"40 fluid ounces","Special Feature":"Rotating","Brand Name":"STANLEY","Recommended Uses For Product":"Travel","Included Components":"Lid, Straw","Specific Uses For Product":"Hot Drinks","Age Range Description":"Adult","Manufacturer":"Stanley","UPC":"041604394003 041604394232","Global Trade Identification Number":"00041604394232","Item Type Name":"Tumbler","Model Number":"100000144278","Manufacturer Part Number":"10-10824-280","Manufacturer Warranty Description":"Lifetime Warranty","ASIN":"B0CJZW65R3","Other Special Features of the Product":"Rotating","Product Style":"40 oz","Theme":"Ash","Shape":"Round","Pattern":"Solid","Occasion":"New Year","Material Type":"Stainless Steel","Product Care Instructions":"Machine Wash","Material Features":"Insulated","Reusability":"Reusable","Material Type Free":"BPA Free","Finish Types":"powder coat","Unit Count":"1 Count","Item Weight":"1.2 pounds","Item Dimensions W x H":"5.43\"W x 11.02\"H","Number of Items":"1","Size":"40 Ounces"},"mainImage":"https://m.media-amazon.com/images/I/41fVlf8ZJyL._AC_SL1500_.jpg","images":["https://m.media-amazon.com/images/I/41fVlf8ZJyL._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/61o3T-YReBL._AC_SL1500_.jpg","https://m.media-amazon.com/images/I/81CUa2st0fL._AC_SL1500_.jpg"],"seller":"Amazon.com","shipsFrom":null,"parentAsin":"B0DG5KQ24H","variantCount":269,"variants":[{"asin":"B0G78CCFP1","values":["30 Ounces","Spring Green"]},{"asin":"B0HF32Z195","values":["40 Ounces","Black Magic"]},{"asin":"B0CN1MVGWK","values":["40 Ounces","Forrest Gloss Deco"]}],"deliveryLocation":"New York 10001"}}}},"400":{"description":"Invalid input. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"charged":{"type":"boolean","const":false}}}}}}}},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header carries the price and accepted networks."},"404":{"description":"Target not found or has no data (e.g. no captions). Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"charged":{"type":"boolean","const":false}}}}}}}},"502":{"description":"Upstream error. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"charged":{"type":"boolean","const":false}}}}}}}},"503":{"description":"Blocked upstream or server busy; retry later. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"charged":{"type":"boolean","const":false}}}}}}}}}}}}}