S

Sniperx · Ping

by Sniperx

GETSolana

per call · USDC on Solana

Health check endpoint for x402 payment flow testing

Endpoint

GET https://x402.sniperx.fun/api/v1/ping

1

Calls / 30d

1

Unique payers / 30d

Sep 9

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

Example response

{
  "status": {
    "description": "Service status",
    "type": "string"
  },
  "timestamp": {
    "description": "Server timestamp",
    "type": "number"
  }
}

Payment details

Pay tobd2xs189uhhnxuebevf3jfxrg8zqgrvqztpqh8hgkceq
Assetepjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1v
NetworksSolana
Schemesexact

Is this your API?

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

Get featured →

More from Sniperx & similar services