# 402utils Echo Endpoint

> 402utils Echo Endpoint is a paid API for AI agents from 402utils.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Echoes back any JSON payload you send, along with a server-generated ISO 8601 timestamp, for end-to-end x402 client integration testing.

## Facts

- Endpoint: POST https://402utils.com/v1/echo
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402utils-echo-endpoint-6d712f68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4JULzq-7I9wig7fxJZsMn

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 402utils-echo-endpoint-6d712f68 -d '<json body>'
```

Example prompt: Send this JSON object — {"hello": "world", "test": 123} — to the 402utils echo endpoint and confirm it comes back unchanged along with the server timestamp.

## When to prefer this

Use this endpoint when you need to verify that your x402 client integration is correctly handling micropayment authentication, request serialization, and response parsing — it is the simplest possible paid endpoint for end-to-end smoke testing.

## Known failure modes

- Missing or malformed JSON body returns a 4xx error
- Non-JSON body type when bodyType is set to 'json' may cause parsing failure
- Payment failure or insufficient USDC balance results in 402 Payment Required
- Network timeout if the x402 facilitator is unreachable

## How this service works

Echoes back the JSON body you send, with a server timestamp. Useful for verifying your x402 client integration end to end.

## Output

Returns a JSON object with two fields: 'echo' containing the exact JSON body you submitted unchanged, and 'ts' with the server time as an ISO 8601 datetime string.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "Any JSON object; it is returned verbatim in the response.",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "echo",
      "ts"
     ],
     "properties": {
      "ts": {
       "type": "string",
       "format": "date-time",
       "description": "Server time (ISO 8601)."
      },
      "echo": {
       "type": "object",
       "description": "The JSON object you sent, unchanged.",
       "additionalProperties": true
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-07-03T12:00:00.000Z",
  "echo": {
   "msg": "hello farm"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402utils-echo-endpoint-6d712f68/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402utils.com](https://www.zero.xyz/host/402utils.com/llms.txt)
