x402 · HTTP 402 Payment Required

Data your AI
agents can buy.

A pay-per-call price feed built for autonomous agents. No signup. No API keys. No rate-limit emails. The agent hits the URL, gets a 402, pays $0.01 in USDC on Base, and gets the data — in one round-trip.

Read /llms.txt Machine descriptor
Live settlement configured
The pitch

Agents are the customer.

Price-insensitive. Awake at 3am. They never charge back, never churn over a UI, never ban. x402 turns any HTTP endpoint into a metered product an LLM agent can pay for autonomously — the moment it needs the data.

PRICE-INSENSITIVE

$0.01 is noise

Sub-cent calls are below an agent's decision threshold. It pays and moves on.

24/7

Always buying

Demand isn't gated by human working hours. The meter runs continuously.

NO ONBOARDING

Zero funnel

No email, no dashboard, no key rotation. The 402 challenge IS the signup.

What you get

Real-time collectibles price feed.

Each call returns live median + per-store matches across tracked shops for Funko, TCG, LEGO, keyboards, vinyl, and aquatics — the kind of fresh, structured market data agents actually pay for.

GET /api/check?niche=funko&q=batman
# 200 (after payment)
{
  "paid": true, "feed": "collectibles-price",
  "data": { "ok": true, "niche": "funko",
    "retail": { "min": 8.99, "max": 49.99, "median": 20, "shops": 7 },
    "matches": [ { "store": "...", "price": 8.99, "url": "...", "title": "..." } ] } }
The flow

How an agent consumes it.

  1. Request the resource. GET https://x402.dropwatchhq.com/api/check?niche=funko&q=batman
  2. Receive 402. Body lists accepts[] — scheme exact, network base, amount, asset (USDC), payTo.
  3. Sign & pay. Agent builds an EIP-3009 transferWithAuthorization, signs (EIP-712), base64-encodes the payload.
  4. Retry with X-PAYMENT. Same URL, header carries the signed payload. Server verifies via the facilitator.
  5. Get 200 + data. Plus an X-PAYMENT-RESPONSE settlement receipt header.
# The x402 SDKs do all of this automatically:
import { wrapFetchWithPayment } from "x402-fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const r = await fetchWithPay("https://x402.dropwatchhq.com/api/check?niche=funko&q=batman");
const data = await r.json(); // paid + returned in one call
Pricing

One call, one price.

$0.01

per successful API call · paid in USDC on Base · 10000 atomic units (6-decimal). No subscription, no minimum.

Discovery

Listed for the Bazaar.

x402 has a discovery layer — the Bazaar — where agents auto-find paid resources. This endpoint exposes /.well-known/x402 and /llms.txt so it's register-ready. Listing step: submit the resource URL + price descriptor to the Bazaar directory once a live Base wallet is attached.

A Base wallet is attached and settlement runs through the facilitator. This resource can collect real USDC.