# l402.space x402 Ping

> l402.space x402 Ping is a paid API for AI agents from l402.space, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

A paid echo/ping endpoint that verifies x402 payment connectivity by echoing back a user-supplied string along with payment rail metadata.

## Facts

- Endpoint: GET https://l402.space/x402/ping
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/l402-space-x402-ping-e3769f7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xBocjvrIrINL0H_HQsy__

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 l402-space-x402-ping-e3769f7a
```

Example prompt: Can you send a ping to the l402.space x402 gateway with the echo string 'hello-test' to verify my payment wallet can successfully complete an x402 micropayment?

## When to prefer this

Use this endpoint when you need the cheapest possible live test to confirm an agentic wallet can successfully negotiate and pay a 402-gated API call. Ideal for CI/CD smoke tests, wallet integration validation, or debugging which payment rail (L402, x402, MPP) is active. Prefer this over a real paid endpoint when you just need to verify payment plumbing without side effects beyond the $0.01 test charge.

## Known failure modes

- Payment not authorized — wallet lacks funds or has not approved the $0.01 USDC charge
- Invalid or missing 'echo' parameter — returns 400-level error
- Payment rail mismatch — wallet does not support the requested protocol (L402/x402/MPP)
- Network unavailable — Lightning or Tempo node unreachable
- Stale payment token — 402 challenge expired before wallet responded

## How this service works

Any wallet. Any paid API. Any rail. l402.space is a payment gateway that lets you pay for any 402-gated API with any agentic wallet — over L402, x402, or MPP (Lightning or Tempo). Browse live stats and grab a proxy URL for any endpoint.

## Output

Returns a JSON object containing the echoed input string, a 'pong' boolean confirming success, the payment rail used (e.g. x402, L402, MPP), the network (e.g. Lightning, Tempo), the price in USD, the amount in satoshis, and a status message. Confirms end-to-end payment flow completed successfully.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "echo"
 ],
 "properties": {
  "echo": {
   "type": "string",
   "description": "Any string; echoed back verbatim in the pong response."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "echo": {
   "type": "string"
  },
  "pong": {
   "type": "boolean"
  },
  "rail": {
   "type": "string"
  },
  "message": {
   "type": "string"
  },
  "network": {
   "type": "string"
  },
  "priceUsd": {
   "type": "number"
  },
  "amountSats": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/l402-space-x402-ping-e3769f7a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from l402.space](https://www.zero.xyz/host/l402.space/llms.txt)
