Data Product
by ASIN402 in Markets & finance
Amazon price history API: full product data for 1-100 ASINs. Complete Amazon price history and sales-rank history (full tracked history) plus current prices, buy box, live offers and stock, ratings history, monthly sales, variations, dimensions and fees for 1-100 ASINs (or UPC/EAN) per call. Clean JSON with ISO dates. From $0.005 per product; options like offers and buybox add credits. Use history=0 for current data only. Free sample: /api/sample/data-product
https://asin402.com/api/data/product- Price
- $0.005
- per call in USDC
- Uptime
- 99.01%
- last 30 days
- Response time
- 382 ms
- 441 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://asin402.com/api/data/product
Each call costs $0.005 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://asin402.com/api/data/product?asin=0735211299&buybox=1&rating=1Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
aplus | integer | No | Include A+ content. No extra cost. One of: 0, 1. |
asin | string | No | ASIN or comma-separated list of up to 100 ASINs. Use asin OR code. |
buybox | integer | No | Buy box price, winner history and buy box statistics. +2 credits per product (included free with offers). One of: 0, 1. |
code | string | No | UPC, EAN, GTIN or ISBN-13 (comma-separated, up to 100). Use asin OR code. |
code_limit | integer | No | With code: max products returned per code. |
days | integer | No | Limit history to the last N days. |
domain | string | No | Amazon marketplace: us, uk, de, fr, jp, ca, it, es, in, mx, br. Default us. |
format | string | No | clean (default): readable JSON, prices in currency units, ISO dates. raw: compact native format (prices in cents, timestamps as minutes since 2011-01-01, flat history arrays). One of: clean, raw. |
historical_variations | integer | No | Include historical and out-of-stock variation ASINs. +1 credit per product with a parent. One of: 0, 1. |
history | integer | No | 1 (default) includes full price/rank history; 0 removes it for a smaller, faster response. One of: 0, 1. |
offers | integer | No | 20-100. Fetch live marketplace offers (sellers, prices, FBA/FBM, Prime). Costs about 6 credits per 10 offers per product instead of the base credit; takes 2-20 seconds. |
only_live_offers | integer | No | With offers: return only currently live offers. One of: 0, 1. |
rating | integer | No | Rating and review-count history. Up to +1 credit per product. One of: 0, 1. |
series | string | No | clean format only. Comma-separated price/rank histories to include, or "all". Default BUY_BOX_SHIPPING,AMAZON,NEW,SALES_RANK. Available: AMAZON, NEW, USED, SALES_RANK, LIST_PRICE, COLLECTIBLE, REFURBISHED, NEW_FBM_SHIPPING, LIGHTNING_DEAL, WAREHOUSE, NEW_FBA, COUNT_NEW, COUNT_USED, COUNT_REFURBISHE… |
stats | integer | No | Add a statistics object (current, averages, min/max) over the last N days. Default 180. 0 to disable. No extra cost. |
stock | integer | No | With offers: stock quantity per offer. Up to +2 credits per product. One of: 0, 1. |
update | integer | No | Refresh data older than N hours. 0 = force live refresh (+1 credit per product if recently updated). -1 = never refresh. Default 1. |
videos | integer | No | Include video metadata. No extra cost. One of: 0, 1. |
Example response
The provider's example. We can't check it without paying.
Example response, 78 lines
{
"_meta": {
"cached": false,
"marketplace_domain_id": 1,
"price_paid": "$0.005"
},
"products": [
{
"asin": "0735211299",
"brand": "Avery",
"categories": [
{
"id": 283155,
"name": "Books"
},
{
"id": 4736,
"name": "Self-Help"
}
],
"currency": "USD",
"fba_fees": {
"pick_and_pack": 5.12
},
"history": {
"BUY_BOX_SHIPPING": [
[
"2026-04-29T18:40:00.000Z",
29.5
],
[
"2026-05-02T18:40:00.000Z",
29.5
]
],
"NEW": [
[
"2026-04-29T18:40:00.000Z",
28.5
],
[
"2026-05-02T18:40:00.000Z",
28.5
]
]
},
"images": [
"https://m.media-amazon.com/images/I/81ANaVZk5LL.jpg"
],
"last_update": "2026-05-27T00:00:00.000Z",
"manufacturer": "Avery",
"marketplace": "us",
"monthly_sold_estimate": 600,
"package": {},
"referral_fee_pct": 15,
"stats": {
"buy_box_price": 24.99,
"by_series": {
"BUY_BOX_SHIPPING": {},
"COUNT_NEW": {},
"COUNT_REVIEWS": {},
"NEW": {},
"RATING": {},
"SALES_RANK": {},
"USED": {}
},
"out_of_stock_pct_90d": {
"AMAZON": -1,
"NEW": 4
},
"sales_rank_drops30": 410,
"sales_rank_drops90": 1150,
"total_offer_count": 7
},
"title": "Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones"
}
]
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://asin402.com/api/data/product?asin=0735211299&buybox=1&rating=1'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://asin402.com/api/data/product?asin=0735211299&buybox=1&rating=1' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fasin402.com%2Fapi%2Fdata%2Fproduct
const res = await pay("https://asin402.com/api/data/product?asin=0735211299&buybox=1&rating=1");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://asin402.com/api/data/product?asin=0735211299&buybox=1&rating=1")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 355 ms | $0.005 |
| 16 h ago | Passed | 402 | 346 ms | $0.005 |
| 29 h ago | Passed | 402 | 403 ms | $0.005 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 364 ms | $0.005 |
Show 10 older checks
| 5 days ago | Passed | 402 | 425 ms | $0.005 |
| 5 days ago | Passed | 402 | 390 ms | $0.005 |
| 6 days ago | Passed | 402 | 122 ms | $0.005 |
| 6 days ago | Passed | 402 | 362 ms | $0.005 |
| 6 days ago | Passed | 402 | 372 ms | $0.005 |
| 7 days ago | Passed | 402 | 343 ms | $0.005 |
| 7 days ago | Passed | 402 | 348 ms | $0.005 |
| 7 days ago | Passed | 402 | 377 ms | $0.005 |
| 8 days ago | Passed | 402 | 340 ms | $0.005 |
| 8 days ago | Passed | 402 | 377 ms | $0.005 |