# Hearth x402 Precheck Batch

> Hearth x402 Precheck Batch is a paid API for AI agents from 138-197-15-135.sslip.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-20).

Batch safety-checks up to 10 x402 payment-gated API URLs, returning a trust score and pay/caution/avoid verdict for each

## Facts

- Endpoint: GET https://138-197-15-135.sslip.io/v1/x402/precheck-batch?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hearth-x402-precheck-batch-1a0c7d14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L16OR5y3gFmaf1TNvzwbh

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 hearth-x402-precheck-batch-1a0c7d14
```

Example prompt: Before my agent pays any of these x402 APIs, can you run a safety precheck on all of them — https://api.exa.ai/search, https://example-api.com/data, https://another-x402.com/v1/query — and tell me which ones score well enough to pay and which to avoid?

## When to prefer this

Use this endpoint when an AI agent needs to autonomously decide whether to pay for one or more x402-gated APIs before committing USDC, especially in automated pipelines where calling unvetted endpoints is a financial or security risk. Prefer this over manual inspection when checking more than one URL at a time, or when you need a machine-readable trust score to gate downstream payment decisions.

## Known failure modes

- More than 10 URLs submitted — batch limit exceeded
- Malformed or non-x402 URLs provided — unrecognized endpoint returns low score or error
- Network timeout if upstream x402 registry is unreachable
- Missing required 'urls' query parameter returns 400 error
- URL list is empty — returns count 0 with empty results

## How this service works

x402 pay-safety precheck, ranked x402 API discovery, onchain (Base/EVM/Solana) data and web-to-Markdown for AI agents. Pay per call with x402 (USDC on Base).

## Output

Returns a JSON object with a count of checked URLs, an array of per-URL results (each with the URL, a numeric trust score up to 100, and a verdict of 'pay', 'caution', or 'avoid'), and a summary object tallying how many URLs fell into each verdict category.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "urls"
     ],
     "properties": {
      "urls": {
       "type": "string",
       "description": "Comma-separated x402 URLs (max 10)"
      },
      "maxPrice": {
       "type": "string",
       "description": "Max USD per call you expect"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {
      "count": {
       "type": [
        "integer",
        "null"
       ]
      },
      "results": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "object",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "results": [
   {
    "url": "https://api.exa.ai/search",
    "score": 90,
    "verdict": "pay"
   }
  ],
  "summary": {
   "pay": 2,
   "avoid": 0,
   "caution": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hearth-x402-precheck-batch-1a0c7d14/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 138-197-15-135.sslip.io](https://www.zero.xyz/host/138-197-15-135.sslip.io/llms.txt)
