78trust / 100

Amazon Com Products

by Amazon Products Search and Best in Search & web

x402 APIPassing, checked 4 h ago

Amazon Products Search and Best Sellers: Product details by ASIN or URL. Detailed Amazon product rows for given ASINs or detailUrls. $0.0030/row USDC, up to 1 rows per call; 0-row and failed calls are never charged.

POST
https://x402.opendata.best/s/amazon-com/v1/products
Price
$0.003
per call in USDC
Uptime
100%
last 30 days
Response time
219 ms
508 ms slowest 5%
Last check
Passed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402.opendata.best/s/amazon-com/v1/products

Each call costs $0.003 in USDC on Polygon, 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.

POST https://x402.opendata.best/s/amazon-com/v1/products
content-type: application/json

{
  "asins": [
    "B07684BPLB"
  ],
  "market": "US",
  "maxResults": 1
}

Parameters

ParameterTypeRequiredDescription
asinsarray of stringNoOptional list of 10-character Amazon ASINs (for example B07684BPLB). Each ASIN is resolved to a product detail URL on the selected marketplace.
detailUrlsarray of stringNoAmazon product links (/dp/ASIN) or seller profile links (/sp?seller=ID) on the chosen market's site, e.g. https://www.amazon.com/dp/B0ABCD1234. Fill this to fetch those pages (detail mode).
enrichDetailsbooleanNoAdd available seller business information to product rows. On by default; enrichment does not create a separate seller row. Default: true.
marketstringNoAmazon storefront to query. One of: AE, AU, BE, BR, CA, DE, EG, ES, FR, GB, IE, IN. Default: "US".
maxResultsintegerNoMaximum product rows delivered and billed per input (a keyword, a detail URL, a category or ranking target is one input). Default 70; larger numbers are collected in parts of 70. All row types count together. The whole run stops at your maximum total charge. Free platform plan runs are capped autom… Default: 5.
postalCodestringNoOptional marketplace delivery postal or ZIP code (for example 10001 for US or 100-0001 for JP) used to anchor local currency, BuyBox price, and domestic shipping text.
scrapeDetailsbooleanNoEnable product-detail enrichment of listing rows. On by default; seller enrichment also requires enrichDetails and a positive enrichMaxItems value. Default: true.

Example response

The provider's example. We can't check it without paying.

Example response, 30 lines
{
  "done": true,
  "jobId": "job_amazon-c_example",
  "meta": {
    "endpoint": "products",
    "maxResults": 5,
    "payment": {
      "network": "eip155:8453",
      "quotedMicrousd": 15000,
      "scheme": "upto",
      "settledMicrousd": 3000,
      "transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    "site": "amazon-com"
  },
  "rowCount": 1,
  "rows": [
    {
      "category": "example_category",
      "keyword": "example_keyword",
      "market": "example_market",
      "mode": "example_mode",
      "page": 10,
      "rank": 10
    }
  ],
  "rowsBilled": 1,
  "rowsDelivered": 1,
  "status": "succeeded"
}

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.003.

The code pays $0.003 in USDC on Base instead: it uses a payment scheme other than exact, which needs a different client setup.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402.opendata.best/s/amazon-com/v1/products' \
  -H 'content-type: application/json' \
  --data-raw '{"asins":["B07684BPLB"],"market":"US","maxResults":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 - -X POST 'https://x402.opendata.best/s/amazon-com/v1/products' \
  -H 'content-type: application/json' \
  --data-raw '{"asins":["B07684BPLB"],"market":"US","maxResults":1}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
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.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.opendata.best%2Fs%2Famazon-com%2Fv1%2Fproducts&method=POST
const res = await pay("https://x402.opendata.best/s/amazon-com/v1/products", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "asins": [
      "B07684BPLB"
    ],
    "market": "US",
    "maxResults": 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.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402.opendata.best/s/amazon-com/v1/products",
        json={
            "asins": [
                "B07684BPLB",
            ],
            "market": "US",
            "maxResults": 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

WhenResultHTTPTimePrice
4 h agoPassed402392 ms$0.003
14 h agoPassed402219 ms$0.003
24 h agoPassed402131 ms$0.003
38 h agoPassed402508 ms$0.003