79trust / 100

Verify Offer

by offercheck in Security & trust

x402 APIPassing, checked 1 h ago

Verify the live price and availability of a product at a URL before you buy or quote it. Fetches the page now, extracts price/currency/availability from JSON-LD, Shopify JSON, OpenGraph or microdata, and returns evidence (method, snippet, content hash, fetch time) plus a confidence score. $0.01 per check.

GET https://offercheck.offercheck.workers.dev/v1/verify/offer

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://offercheck.offercheck.workers.dev/v1/verify/offer?url=https%3A%2F%2Fshop.example.com%2Fproducts%2Fwidget"
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%2Foffercheck.offercheck.workers.dev%2Fv1%2Fverify%2Foffer
const res = await pay("https://offercheck.offercheck.workers.dev/v1/verify/offer?url=https%3A%2F%2Fshop.example.com%2Fproducts%2Fwidget");
console.log(await res.json());

Example input

{
  "url": "https://shop.example.com/products/widget"
}

Example output

{
  "confidence": 0.9,
  "evidence": {
    "bytes": 84210,
    "content_sha256": "…",
    "content_type": "text/html; charset=utf-8",
    "fetched_at": "2026-09-25T20:00:00.000Z",
    "method": "json-ld",
    "snippet": "{\"@type\":\"Product\",\"offers\":{\"price\":\"19.99\",\"priceCurrency\":\"USD\",\"availability\":\"https://schema.org/InStock\"}}"
  },
  "final_url": "https://shop.example.com/products/widget",
  "http_status": 200,
  "ms": 812,
  "offer": {
    "availability": "in_stock",
    "currency": "USD",
    "price": 19.99
  },
  "product": {
    "brand": "Example",
    "name": "Example Widget",
    "sku": "W-100"
  },
  "url": "https://shop.example.com/products/widget",
  "warnings": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402274 ms$0.01
5 h agoPassed402530 ms$0.01
8 h agoPassed402330 ms$0.01
12 h agoPassed402329 ms$0.01
16 h agoPassed402392 ms$0.01
19 h agoPassed402323 ms$0.01
24 h agoPassed402308 ms$0.01
26 h agoPassed402270 ms$0.01
30 h agoPassed402506 ms$0.01
35 h agoPassed402392 ms$0.01