84trust / 100
Ping
by 402rates.com in Markets & finance
x402 APIPassing, checked 4 h ago
Payment integration check for 0.001 USDC; no external data lookup. Returns time, rail, network mode and free/paid capabilities. HTTP payment options can include Base, Polygon, Arbitrum and XDC; the challenge lists currently available networks for each transport. The receipt identifies the paid network and transaction. Business/professional use only. Terms: https://402rates.com/data-terms/
GET https://api.402rates.com/v1/ping
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 307 ms typical, 307 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.402rates.com/v1/ping"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.402rates.com%2Fv1%2Fping
const res = await pay("https://api.402rates.com/v1/ping");
console.log(await res.json());Example input
{}Example output
{
"mode": "mainnet",
"next": {
"free": [
{
"capability": "compass.rwa.market_coverage",
"note": "Market-data coverage and serving availability",
"url": "https://api.402rates.com/v1/rwa/market-coverage"
},
{
"capability": "compass.tests.payment_terms_compare",
"method": "POST",
"note": "Compare previous and current x402 payment terms",
"url": "https://api.402rates.com/v1/tests/payment-terms/compare"
},
{
"capability": "compass.settlement.estimate",
"method": "POST",
"note": "Calculate workload costs from supplied payment profiles",
"url": "https://api.402rates.com/v1/settlement/estimate"
},
{
"capability": "compass.rwa.updates",
"method": "POST",
"note": "Read observed Treasury changes since a saved cursor",
"url": "https://api.402rates.com/v1/rwa/updates"
},
{
"capability": "compass.rwa.benchmark",
"method": "POST",
"note": "Compare a supplied USD Treasury return with a matching benchmark",
"url": "https://api.402rates.com/v1/rwa/benchmark"
},
{
"capability": "compass.tests.preflight",
"method": "POST",
"note": "Inspect x402 payment terms without making a payment",
"url": "https://api.402rates.com/v1/tests/preflight"
},
{
"capability": "compass.rwa.changes",
"method": "POST",
"note": "Compare yield and divergence fields in two saved Treasury responses",
"url": "https://api.402rates.com/v1/rwa/changes"
},
{
"capability": "compass.tests.cases",
"note": "List the synthetic agent test cases",
"url": "https://api.402rates.com/v1/tests/cases"
},
{
"capability": "compass.tests.case",
"note": "Describe a synthetic agent test",
"url": "https://api.402rates.com/v1/tests/case"
},
{
"capability": "compass.tests.run",
"method": "POST",
"note": "Start or repeat a synthetic agent test",
"url": "https://api.402rates.com/v1/tests/run"
},
{
"capability": "compass.tests.action",
"method": "POST",
"note": "Execute a synthetic test action",
"url": "https://api.402rates.com/v1/tests/action"
},
{
"capability": "compass.tests.state",
"method": "POST",
"note": "Read synthetic task state",
"url": "https://api.402rates.com/v1/tests/state"
},
{
"capability": "compass.tests.report",
"method": "POST",
"note": "Read or finalize an agent test timeline",
"url": "https://api.402rates.com/v1/tests/report"
},
{
"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": "compassSecurity scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 307 ms | $0.001 |