Directory / Commerce & payments
Cheapest end-to-end x402 purchase test
Cheapest end-to-end x402 purchase test. Always returns a 402 challenge without payment and the current full NegPrice decision after a valid USDC payment.
not checked yetBaseGETx402 v2
- Price per call
- $0.001
- Endpoint
- https://energy.halowerk.com/demo/paid-sample
- Provider
- energy.halowerk.com
- Paid calls (30 days)
- 108
- Unique payers (30 days)
- 23
- Last paid call
- 16 h ago
- Health check
- pending
- Pays to
- 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
- Listed here since
- 2026-11-23 (source: bazaar)
Input
{
"method": "GET",
"queryParams": {},
"type": "http"
}
Example output
{
"example": {
"endpoint": "/demo/paid-sample",
"ok": true,
"paid": true,
"result": {
"expires_at": "2026-07-12T13:00:00.000Z",
"schema_version": "negprice_signal_v1"
}
},
"type": "json"
}
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);
const res = await paidFetch("https://energy.halowerk.com/demo/paid-sample", { method: "GET" });
console.log(await res.json()); // costs $0.001 in USDC on Base
Machine-readable: /api/tools/881b361ae889. Listings are informational; check a provider before sending large amounts.