Directory / Crypto & onchain data

Payment quote with amount, asset, and merchant wallet

Payment quote with amount, asset, and merchant wallet

not checked yetBaseGETx402 v2

Price per call
$0.005
Endpoint
https://www.api-xpay.com/x402/quote
Provider
www.api-xpay.com
Paid calls (30 days)
68k
Unique payers (30 days)
109
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": {
    "quote": {
      "amount": "0.005",
      "asset": "USDC",
      "network": "base",
      "payTo": "0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8",
      "protocol": "x402",
      "requestId": "req_abc123"
    },
    "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/quote", { method: "GET" });
console.log(await res.json()); // costs $0.005 in USDC on Base

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

Similar tools

ToolPrice / callPayers (30d)Status
Pay the send-token execution fee (ERC-20 transfer) Pay the send-token execution fee (ERC-20 transfer) Crypto & onchain datakeyring-agent.blockchhub.linkBase $0.055.7k402 OK
Pay the send-native execution fee (native coin transfer) Pay the send-native execution fee (native coin transfer) Crypto & onchain datakeyring-agent.blockchhub.linkBase $0.055.6k402 OK
ERC20 token balance for any Ethereum wallet ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC Crypto & onchain dataapi.onesource.ioBase $0.003648402 OK
Latest Ethereum block height Latest Ethereum block height - current chain tip via eth_blockNumber Crypto & onchain dataapi.onesource.ioBase $0.001579402 OK
Live wallet balance Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch Crypto & onchain dataapi.onesource.ioBase $0.003535402 OK