79trust / 100

Data Search

by ASIN402 in Search & web

x402 APIPassing, checked 4 h ago

Amazon product search by keyword, with prices and sales. Keyword search like the Amazon search bar, returning up to 10 full products per page with current prices, price history statistics, sales rank and estimated monthly sales (not just titles and links). 11 marketplaces. Add history=0 for smaller responses.

GET
https://asin402.com/api/data/search
Price
$0.005
per call in USDC
Uptime
99.01%
last 30 days
Response time
381 ms
460 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

GET https://asin402.com/api/data/search

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/search?history=0&term=insulated+water+bottle

Parameters

ParameterTypeRequiredDescription
daysintegerNoLimit history to the last N days.
domainstringNoAmazon marketplace: us, uk, de, fr, jp, ca, it, es, in, mx, br. Default us.
formatstringNoclean (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.
historyintegerNo1 (default) includes full price/rank history; 0 removes it for a smaller, faster response. One of: 0, 1.
pageintegerNoResult page, 0-9. Default 0.
seriesstringNoclean 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…
statsintegerNoAdd a statistics object (current, averages, min/max) over the last N days. Default 180. 0 to disable. No extra cost.
termstringYesSearch keywords.

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/search?history=0&term=insulated+water+bottle'

# 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/search?history=0&term=insulated+water+bottle' \
  | 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.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%2Fsearch
const res = await pay("https://asin402.com/api/data/search?history=0&term=insulated+water+bottle");
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/search?history=0&term=insulated+water+bottle")
    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 agoPassed402351 ms$0.005
15 h agoPassed402335 ms$0.005
28 h agoPassed402435 ms$0.005
3 days agoTimed out---
4 days agoPassed402378 ms$0.005
Show 10 older checks
5 days agoPassed402441 ms$0.005
5 days agoPassed402392 ms$0.005
6 days agoPassed402383 ms$0.005
6 days agoPassed402434 ms$0.005
6 days agoPassed402385 ms$0.005
7 days agoPassed402373 ms$0.005
7 days agoPassed402336 ms$0.005
7 days agoPassed402390 ms$0.005
8 days agoPassed402377 ms$0.005
8 days agoPassed402379 ms$0.005