0

0000402 · Donate

by 0000402

POSTBase

$0.01

per call · USD Coin on Base

Pay $0.01 USDC as a small donation or a simple live x402 integration test. Optional name and message are stored publicly and shown on GET /donations. Network: Base Mainnet. Each request records one donation and returns public feed links.

Endpoint

POST https://donate.0000402.xyz/donate

1

Calls / 30d

1

Unique payers / 30d

Aug 13

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://donate.0000402.xyz/donate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "message": "Testing x402 from our agent",
    "name": "Omniac"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://donate.0000402.xyz/donate" \
  -H "Content-Type: application/json" \
  -d '{"message":"Testing x402 from our agent","name":"Omniac"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "accepted": true,
  "amount_display": "$0.01",
  "amount_usdc": 0.01,
  "display_name": "Omniac",
  "donation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "donations_json_url": "https://donate.0000402.xyz/donations.json",
  "donations_url": "https://donate.0000402.xyz/donations",
  "message": "Testing x402 from our agent",
  "message_text": "Donation recorded. Thank you for supporting Omniacs DAO.",
  "name": "Omniac",
  "recorded_at": "2026-03-31T12:34:56+00:00"
}

Payment details

Pay to0xee72b902af7466023595512e3359bb5bf312977c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from 0000402 & similar services