API health check pack: uptime, latency, headers, x402

$0.02 per call · failed calls are never charged · no account or API key needed

One call to health-check an API endpoint: up or down with status and response time over three requests (min, median, max), the redirect chain, HTTP security headers, whether it is a paid x402 endpoint and what its payment terms are, and the API's OpenAPI document when one is found at the usual places. Cheaper than the tools bought one by one. Use for API monitoring, before integrating a third-party API, or to check your own after a deploy.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Try it with your own inputs

The API endpoint URL

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
url (required)stringThe API endpoint URL

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/pack/api-health?url=https%3A%2F%2Fpetstore3.swagger.io%2Fapi%2Fv3%2Fpet%2FfindByStatus%3Fstatus%3Davailable"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/pack/api-health?url=https%3A%2F%2Fpetstore3.swagger.io%2Fapi%2Fv3%2Fpet%2FfindByStatus%3Fstatus%3Davailable&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "pack": "api-health",
  "url": "https://petstore3.swagger.io/api/v3/pet/findByStatus?status=available",
  "up": true,
  "status": 200,
  "latencyMs": {
    "min": 180,
    "median": 210,
    "max": 260
  },
  "redirects": 0,
  "security": {
    "grade": "C"
  },
  "x402": {
    "paid": false
  },
  "openapi": {
    "found": true,
    "specUrl": "https://petstore3.swagger.io/api/v3/openapi.json",
    "title": "Swagger Petstore - OpenAPI 3.0",
    "operationCount": 19
  },
  "failed": {}
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_api_health, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools