D

Data Lookup API · Payments History

by Data Lookup API

GETBase

$0.001

per call · USD Coin on Base

This seller's own recent USDC settlement history on Base mainnet — every payment received, with transaction hash, payer address, amount, and block number. Use it to confirm whether a specific payment settled, or to audit real payment volume; verifiable on any Base block explorer. Bounded to a recent rolling window (default 24h, max 72h) to keep responses fast. Optional 'address' param filters to one payer wallet.

Endpoint

GET https://x402-seller.onrender.com/payments/history

1

Calls / 30d

1

Unique payers / 30d

Aug 29

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402-seller.onrender.com/payments/history", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-seller.onrender.com/payments/history?hours=24" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 1,
  "note": "Settlements to this seller's own wallet on Base mainnet, USDC only, over the last 24 hour(s) (max 72). Independently verifiable on any Base block explorer.",
  "payTo": "0xbd61dfb01f81c91f02b0ccd51b0220e0c8918639",
  "payments": [
    {
      "amountUsdc": 0.001,
      "block": 48989927,
      "from": "0x6bae57ad66659cdf660e0874d948226696299c71",
      "txHash": "0x2b4e98bfedc3311d02fbf673fc6a62475600aca34db837744e685661478ae001"
    }
  ],
  "source": "Base mainnet public RPC (on-chain USDC Transfer event logs)",
  "windowHours": 24
}

Payment details

Pay to0xbd61dfb01f81c91f02b0ccd51b0220e0c8918639
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Data Lookup API & similar services