X4
Developer Tool · x402 · early usage

Testnet demo endpoint for x402 resource discovery

Testnet demo endpoint for x402 resource discovery

by x402-demo-discovery-endpoint.vercel.app · discovered, not yet claimed by its owner · updated 2026-09-22

30d calls1
30d payers1
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Testnet demo endpoint for x402 resource discovery

Tags: bazaar

Call contract

Method
GET
Input
HTTP request
Output
json
Last paid call
2026-09-22
No input exampleProvider did not publish one in Bazaar metadata.
No output exampleProvider did not publish one in Bazaar metadata.

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/57401.json for the price and payment options.
  3. Pay. Call GET https://x402-demo-discovery-endpoint.vercel.app/protected/testnet. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v1
Auth
No account or API key. Pay per request.
Networks
Base Sepolia
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
base-sepolia
USDC10000x021028695EAfDDe60E139D87000a8bd6cB65645e300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "base-sepolia",
    "payTo": "0x021028695EAfDDe60E139D87000a8bd6cB65645e",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "1000",
    "maxTimeoutSeconds": 300
  }
]

Examples

curl
curl -X GET 'https://x402-demo-discovery-endpoint.vercel.app/protected/testnet'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://x402-demo-discovery-endpoint.vercel.app/protected/testnet", {
  "method": "GET"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.request("GET", "https://x402-demo-discovery-endpoint.vercel.app/protected/testnet")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402-demo-discovery-endpoint.vercel.app
Endpoint
https://x402-demo-discovery-endpoint.vercel.app/protected/testnet
Machine-readable
/resources/57401.json