4

402rates.com · Ping

by 402rates.com

GETBaseArbitrumPolygonXDC

$0.001

per call · USD Coin on Base

A payment integration check for 0.001 USDC, with no external data lookup. Returns time, transport rail, network mode and a catalogue of free and paid capabilities. HTTP payment options can include Base, Polygon, Arbitrum and XDC; the challenge lists currently available networks for each transport. The settlement receipt identifies the paid network and transaction.

Endpoint

GET https://api.402rates.com/v1/ping

17

Calls / 30d

7

Unique payers / 30d

Sep 8

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://api.402rates.com/v1/ping", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.402rates.com/v1/ping" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "mode": "mainnet",
  "next": {
    "free": [
      {
        "capability": "compass.rwa.coverage",
        "note": "What the RWA yield data covers, and what it does not",
        "url": "https://api.402rates.com/v1/rwa/coverage"
      },
      {
        "capability": "compass.rwa.filter",
        "note": "Published instrument constraints compared with supplied facts",
        "url": "https://api.402rates.com/v1/rwa/filter"
      },
      {
        "capability": "compass.rwa.instrument",
        "note": "Full evidence-backed state for one tokenized treasury",
        "url": "https://api.402rates.com/v1/rwa/instrument"
      },
      {
        "capability": "compass.rwa.history",
        "note": "Normalized history for one reconstructible RWA source",
        "url": "https://api.402rates.com/v1/rwa/history"
      },
      {
        "capability": "compass.discovery",
        "note": "Search the x402 catalogue with usage figures",
        "url": "https://api.402rates.com/v1/discovery"
      },
      {
        "capability": "compass.manifest",
        "note": "Service manifest",
        "url": "https://api.402rates.com/v1/manifest"
      },
      {
        "capability": "compass.health",
        "note": "Liveness probe",
        "url": "https://api.402rates.com/health"
      },
      {
        "capability": "compass.ready",
        "note": "Readiness probe",
        "url": "https://api.402rates.com/ready"
      }
    ],
    "mcp": "https://api.402rates.com/mcp",
    "paid": [
      {
        "capability": "compass.settlement.costs",
        "note": "Measured cost of a USDC transfer per chain, cheapest first",
        "price_usdc": "0.01",
        "url": "https://api.402rates.com/v1/settlement/costs"
      },
      {
        "capability": "compass.rwa.yields",
        "note": "Realised 30-day yields of tokenized treasuries, recomputable",
        "price_usdc": "0.03",
        "url": "https://api.402rates.com/v1/rwa/yields"
      },
      {
        "capability": "compass.rwa.instruments.all",
        "note": "Complete evidence snapshot for all tracked tokenized treasuries",
        "price_usdc": "5",
        "url": "https://api.402rates.com/v1/rwa/instruments"
      },
      {
        "capability": "compass.ping",
        "note": "Payment integration check",
        "price_usdc": "0.001",
        "url": "https://api.402rates.com/v1/ping"
      }
    ]
  },
  "pong": true,
  "rail": "cdp-v2",
  "time": "2026-07-10T12:00:00Z"
}

Payment details

Pay to0xf567cfe0fdb87a1d6ca330e3f30f0d3da0f7cb98
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon, XDC
Schemesexact

Is this your API?

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

Get featured →

More from 402rates.com & similar services