Directory / Commerce & payments

Payment receipt with transaction details

Payment receipt with transaction details

not checked yetBaseGETx402 v2

Price per call
$0.005
Endpoint
https://www.api-xpay.com/x402/payment
Provider
www.api-xpay.com
Paid calls (30 days)
68k
Unique payers (30 days)
106
Last paid call
4 h ago
Health check
pending
Pays to
0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8
Listed here since
2026-11-23 (source: bazaar)

Input

{
  "method": "GET",
  "type": "http"
}

Example output

{
  "example": {
    "payment": {
      "amount": "0.005",
      "asset": "USDC",
      "network": "base",
      "payer": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
      "receiver": "0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8",
      "requestId": "req_abc123",
      "transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
    },
    "service": "X Pay",
    "success": true
  },
  "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://www.api-xpay.com/x402/payment", { method: "GET" });
console.log(await res.json()); // costs $0.005 in USDC on Base

Machine-readable: /api/tools/a6086bf28f50. Listings are informational; check a provider before sending large amounts.