# Delx Commerce API Health Report

> Delx Commerce API Health Report is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Checks the health of an API endpoint by fetching it and returning status, latency, content type, and response metadata

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/api-health-report?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-api-health-report-cd6e71c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x4ro3FuieGM8pT0aUTgHr

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 delx-commerce-api-health-report-cd6e71c5 -d '<json body>'
```

Example prompt: Can you check if https://api.example.com/health is up and responding properly, with a timeout of 10 seconds — I want to know the status code, latency, and whether it returns valid JSON?

## When to prefer this

Use this endpoint when an AI agent needs a lightweight, pay-per-use API health check without running its own infrastructure — ideal for pre-flight checks before calling a dependency, diagnosing unresponsive APIs, or verifying JSON response validity. At $0.001 per call with no signup required, it suits ephemeral agent workflows where spinning up monitoring infrastructure is overkill.

## Known failure modes

- Timeout if the target URL does not respond within the specified timeout window
- DNS resolution failure if the URL hostname does not exist
- Connection refused if the target server is down
- Invalid URL format returns an error before the request is attempted
- Timeout parameter out of range (must be 1–15 seconds) results in a validation error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with: HTTP status code, latency in milliseconds, content-type header, server header, whether the response body is valid JSON, the final URL after any redirects, cache-control header value, and response size in bytes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "timeout": {
   "type": "integer",
   "maximum": 15,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "server": "cloudflare",
   "status": 200,
   "is_json": true,
   "final_url": "https://api.example.com/health",
   "json_valid": true,
   "latency_ms": 184,
   "content_type": "application/json",
   "cache_control": "no-store",
   "response_bytes": 128
  },
  "tool_name": "util_api_health_report"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-api-health-report-cd6e71c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
