# Losbeto /ping402 — x402 Payment Loop Smoke Test

> Losbeto /ping402 — x402 Payment Loop Smoke Test is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Returns a signed liveness receipt and node/catalog info to let agents smoke-test the full x402 payment flow (402 challenge → wallet signature → facilitator settlement → JSON delivery) at minimum cost ($0.001 USDC).

## Facts

- Endpoint: GET https://markets.losbeto.xyz/ping402?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-ping402-x402-payment-loop-smoke-test-991a2c1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8fC0FBnPnESdQoFE4_Eyu

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 losbeto-ping402-x402-payment-loop-smoke-test-991a2c1e
```

Example prompt: Run the cheapest possible live x402 payment test against the Losbeto node — I want to confirm my agent wallet can complete the full 402 challenge, sign, settle via the facilitator, and get back a signed liveness receipt, all for $0.001 USDC on Base.

## When to prefer this

Choose this endpoint when you need the absolute cheapest ($0.001 USDC) live end-to-end test of an x402 payment pipeline against a real merchant node. It is the canonical smoke-test call for agents integrating x402 micropayments — use it to validate wallet configuration, chain support, facilitator connectivity, and JSON delivery before committing to higher-cost calls on the same node. Prefer it over other liveness checks when you specifically need a signed receipt proving payment completed.

## Known failure modes

- Insufficient USDC balance in agent wallet — payment rejected before data is returned
- Unsupported blockchain network — payment attempted on a chain not supported (only Base, Solana, Algorand, Polygon accepted)
- Facilitator settlement failure — 402 challenge completed but facilitator cannot confirm payment
- Invalid format query param — unexpected value causes malformed request
- Node downtime — merchant node offline, no 402 challenge issued

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

A JSON object containing a signed liveness receipt (proving the full x402 payment loop completed), the current node version, a pointer to the free trial, and a map of the full Losbeto endpoint catalog. No upstream calls are made; response is generated locally by the node.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "format": {
       "type": "string",
       "description": "Response format (json)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "x402 hello-world: the cheapest live call on this node ($0.001), built for agents to smoke-test the full payment loop — 402 challenge, wallet signature, facilitator settlement, JSON delivery — against a real merchant. Returns a signed liveness receipt, the node version and a map to the free trial and the full catalog. Zero upstream calls."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-ping402-x402-payment-loop-smoke-test-991a2c1e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
