# Coin Railz x402 Ping

> Coin Railz x402 Ping is a paid API for AI agents from coinrailz.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Lowest-cost test endpoint that verifies x402 payment flow, returns platform info, and echoes your message.

## Facts

- Endpoint: POST https://coinrailz.com/x402/ping
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coin-railz-x402-ping-5a9fcf67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AA9-WKSR4kPkG8E05R1hf

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 coin-railz-x402-ping-5a9fcf67 -d '<json body>'
```

Example prompt: Run a quick x402 ping test on Coin Railz with the message 'hello world' so I can confirm my micropayment setup is working correctly.

## When to prefer this

Choose this endpoint when you need to verify that your x402 payment integration is correctly configured at the lowest possible cost ($0.25 USDC). It is the canonical smoke-test before invoking more expensive Coin Railz endpoints like trading signals or sentiment analysis.

## Known failure modes

- Payment not included or malformed x402 header — 402 Payment Required response
- Insufficient USDC balance — payment rejection before endpoint executes
- Network timeout if coinrailz.com is unreachable
- Invalid message format in POST body — may return 400 Bad Request

## How this service works

Lowest-cost test endpoint to verify x402 payment flow. Returns platform info and echoes your message.

## Output

A JSON object with fields: success (boolean), service ('ping'), result ('Service executed successfully'), and a UTC timestamp — confirming that the x402 payment was accepted and the endpoint is reachable.

## Example request

```json
{
 "agentId": "qa-test-agent-001",
 "networks": [
  "ethereum",
  "polygon"
 ],
 "agentName": "QA Test Agent"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the service"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "application/json",
 "format": "json",
 "example": {
  "result": "Service executed successfully",
  "service": "ping",
  "success": true,
  "timestamp": "2026-02-07T01:34:17.367Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coin-railz-x402-ping-5a9fcf67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinrailz.com](https://www.zero.xyz/host/coinrailz.com/llms.txt)
