# Crypto Microdata x402 Ping

> Crypto Microdata x402 Ping is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Minimal paid heartbeat endpoint for testing x402 payment-gated API calls end-to-end, returning status confirmation and discovery links.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-microdata-x402-ping-e46eefb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iN_EAQWkg-npwlUCPBVBv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability crypto-microdata-x402-ping-e46eefb3
```

Example prompt: Send a test ping to the x402 crypto microdata service using my testRunId 'run-001' and echo tag 'my-agent-1' so I can confirm my Base USDC payment client is working end-to-end.

## When to prefer this

Use this endpoint when you need the cheapest possible way ($0.001 USDC) to validate that your x402 micropayment client is correctly configured and can complete a full payment cycle on Base before calling more expensive crypto data endpoints. Ideal for CI/CD pipeline health checks, first-time integration testing, and agent bootstrapping flows that need to confirm payment credentials are live.

## Known failure modes

- Payment not received or insufficient USDC balance — returns 402 Payment Required
- Invalid echo or testRunId exceeds maxLength — may return 400 Bad Request
- Cloudflare Worker cold start or downtime — returns 5xx error
- Malformed x402 payment header — returns 402 with payment details
- Network timeout if Base USDC settlement is delayed

## How this service works

Paid heartbeat: cheapest way to test your x402 client end-to-end on Base USDC. Returns {ok:true,t,next}.

## Output

Returns a JSON object with: ok (true), t (ISO timestamp of the call), next (array of sibling endpoint paths to call next), receiptId (payment receipt for the USDC charge), testRunId (echoed correlation ID if supplied), nextAction (hint string like 'call_paid_data'), and paymentVerified (true). Confirms that the x402 payment was accepted and processed on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "echo": {
       "type": "string",
       "examples": [
        "my-agent-1"
       ],
       "maxLength": 64,
       "description": "Optional string echoed back (correlate your test call)"
      },
      "testRunId": {
       "type": "string",
       "examples": [
        "run-001"
       ],
       "maxLength": 100,
       "description": "Optional caller-supplied correlation ID for a bounded validation run (echoed back)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "t": "2026-10-28T14:00:00Z",
  "ok": true,
  "next": [
   "/crypto/simulate",
   "/crypto/ens",
   "/crypto/liquidations?coin=BTC",
   "/crypto/base-gas"
  ],
  "receiptId": "rcpt_0b9f6c1e2a7d4c55",
  "testRunId": "run-001",
  "nextAction": "call_paid_data",
  "paymentVerified": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-microdata-x402-ping-e46eefb3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kr-x402-mvp.kgy5612.workers.dev](https://www.zero.xyz/host/kr-x402-mvp.kgy5612.workers.dev/llms.txt)
