# Hearth Route — x402 API Discovery & Pay-Per-Call Router

> Hearth Route — x402 API Discovery & Pay-Per-Call Router is a paid API for AI agents from 138-197-15-135.sslip.io, paid per call via x402, $0.008/call, status unknown (last checked 2026-11-20).

Discovers, ranks, and routes plain-language queries to the best x402-enabled API seller, runs pay-safety prechecks, and returns the result — all for $0.01 USDC per call.

## Facts

- Endpoint: GET https://138-197-15-135.sslip.io/v1/route?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hearth-route-x402-api-discovery-pay-per-call-router-714e6e44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_62S8cLHbuaQKiDax5INVa

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-route-x402-api-discovery-pay-per-call-router-714e6e44
```

Example prompt: I need onchain data about a Base wallet address — use Hearth to find and call the best x402 API for it, passing the address as params, and make sure it passes the safety precheck before paying.

## When to prefer this

Choose this endpoint when you need to discover and call x402-enabled pay-per-call APIs without managing individual seller discovery, ranking, or payment safety yourself. It is ideal for AI agents that need onchain (Base/EVM/Solana) data, web-to-Markdown conversion, or any category of x402 API (search, scrape, LLM, image, enrich, price, social, weather, geo, audio, security) and want a single routing layer that handles precheck scoring and seller ranking automatically. Prefer it over direct seller calls when you don't know which x402 seller is safest or most relevant.

## Known failure modes

- No matching x402 seller found for the query — result is null with an empty results array
- Seller fails safety precheck — low precheckScore returned, call may be blocked
- Invalid or unsupported category override — request rejected or falls back to auto-detection
- Seller URL not reachable or not listed — error returned
- Insufficient USDC balance for x402 payment — payment fails before routing
- params JSON is malformed — query string or body parsing error

## 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

A JSON object containing the seller's API result, the matched seller's metadata (URL, payTo address, price in USD, rank score, precheck safety score), the inferred or overridden category, content type, and the total Hearth price paid in USD.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "What you need, in plain words"
      },
      "url": {
       "type": "string",
       "description": "Optional: a specific listed x402 seller URL to buy from"
      },
      "params": {
       "type": "string",
       "description": "JSON object passed to the seller (query string for GET, body for POST)"
      },
      "category": {
       "type": "string",
       "description": "Optional category override: search, scrape, llm, image, enrich, onchain, price, social, weather, geo, audio, security"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {
      "result": {
       "type": [
        "object",
        "null"
       ]
      },
      "schema": {
       "type": [
        "string",
        "null"
       ]
      },
      "seller": {
       "type": [
        "object",
        "null"
       ]
      },
      "category": {
       "type": [
        "string",
        "null"
       ]
      },
      "contentType": {
       "type": [
        "string",
        "null"
       ]
      },
      "hearthPriceUsd": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "results": []
  },
  "schema": "hearth.route.v1",
  "seller": {
   "tx": "0x…",
   "url": "https://seller.example/api/search",
   "payTo": "0x…",
   "priceUsd": 0.005,
   "rankScore": 6.2,
   "precheckScore": 90
  },
  "category": "search",
  "contentType": "application/json",
  "hearthPriceUsd": 0.008
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hearth-route-x402-api-discovery-pay-per-call-router-714e6e44/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)
