83trust / 100

Amazon Search

by glim.sh in Search & web

x402 APIPassing, checked 2 h ago

Search Amazon by keyword or browse bestsellers by category slug

POST https://glim.sh/api/v1/amazon/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
187 ms typical, 187 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://glim.sh/api/v1/amazon/search" \
  -H "content-type: application/json" \
  -d '{"query":"LG Ultragear OLED 34","tld":"de"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fglim.sh%2Fapi%2Fv1%2Famazon%2Fsearch
const res = await pay("https://glim.sh/api/v1/amazon/search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"LG Ultragear OLED 34","tld":"de"}),
});
console.log(await res.json());

Example input

{
  "query": "LG Ultragear OLED 34",
  "tld": "de"
}

Example output

{
  "mode": "query",
  "organic": [
    {
      "asin": "B0F59XT8QM",
      "currency": "EUR",
      "price_gross": 782.04,
      "title": "LG Ultragear ..."
    }
  ],
  "page": 1,
  "tld": "de"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402187 ms$0.005
7 h agoPassed402242 ms$0.005