# Vextorium URL/API Health Check with x402 Detection

> Vextorium URL/API Health Check with x402 Detection is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Checks whether a given URL or API endpoint is up or down, returning HTTP status code, response latency, response size, and whether it is a valid x402 paid endpoint.

## Facts

- Endpoint: POST https://api.vextorium.com/comprobar-salud-pago?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-url-api-health-check-with-x402-detection-932729fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uoeG4aAt-3WhjZIGmew4r

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 vextorium-url-api-health-check-with-x402-detection-932729fb -d '<json body>'
```

Example prompt: Can you check if https://api.example.com/payment is up and whether it's a valid x402 paid endpoint? Use a GET request.

## When to prefer this

Choose this endpoint when you need to combine standard uptime/health checking with x402 protocol detection in a single call. Ideal for agents that orchestrate paid API workflows and need to verify that a target endpoint is both live and x402-compliant before attempting a payment-gated request. Also useful for lightweight latency probing without running a full synthetic monitor.

## Known failure modes

- URL is unreachable or DNS fails — returns active: false with null status fields
- Invalid URL format provided — validation error before request is sent
- Target server times out — may return active: false with null response time
- Non-HTTP scheme provided — schema requires http type, unsupported schemes will error
- x402 detection fields null if endpoint does not implement x402 protocol

## How this service works

API/URL health check: up or down, HTTP status, latency, and whether the endpoint is a valid x402 paid endpoint.

## Output

Returns a JSON object with: the checked URL, a boolean indicating if the endpoint is active, the HTTP method used, the HTTP status code, the response time in milliseconds, the response size in bytes, a boolean indicating if the endpoint is a valid x402 paid endpoint, and the x402 version number if applicable.

## 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": {
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "URL a comprobar"
      },
      "metodo": {
       "enum": [
        "GET",
        "HEAD",
        "POST"
       ],
       "type": "string",
       "description": "Metodo HTTP a usar"
      }
     }
    },
    "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",
     "properties": {
      "url": {
       "type": [
        "string",
        "null"
       ]
      },
      "activo": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "metodo": {
       "type": [
        "string",
        "null"
       ]
      },
      "version_x402": {
       "type": [
        "number",
        "null"
       ]
      },
      "codigo_estado": {
       "type": [
        "number",
        "null"
       ]
      },
      "es_endpoint_x402": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "tiempo_respuesta_ms": {
       "type": [
        "number",
        "null"
       ]
      },
      "tamano_respuesta_bytes": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://ejemplo.com/api",
  "activo": true,
  "metodo": "GET",
  "codigo_estado": 200,
  "es_endpoint_x402": false,
  "tiempo_respuesta_ms": 189,
  "tamano_respuesta_bytes": 109
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-url-api-health-check-with-x402-detection-932729fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
