# Local Business Website Check API

> Local Business Website Check API is a paid API for AI agents from local-leads-api.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Checks whether a given website URL is live, reachable, and returns key page metadata including title, HTTPS status, and CMS info

## Facts

- Endpoint: GET https://local-leads-api.vercel.app/api/v1/website-check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/local-business-website-check-api-ba38b8da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_22BerWTcOUXBk2QQ0OjA8

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 local-business-website-check-api-ba38b8da
```

Example prompt: Can you check if example-plumbing.com is actually live and reachable — I want to know whether the site loads, if it uses HTTPS, and what CMS it's running on?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-query check on whether a specific business website URL is reachable and to extract basic page metadata without doing a full crawl. It is ideal for enriching local business leads with web presence signals, validating URLs before outreach, or filtering dead domains from a dataset. Prefer this over full-crawl services when you only need top-level page health signals and want to avoid over-spending on inactive or broken URLs.

## Known failure modes

- Domain does not exist — status: unreachable, reason: domain_not_found
- Site returns 4xx or 5xx — status: unreachable, reason: http_404 or similar
- Request times out — status: inconclusive, not charged
- SSL certificate error — status: unreachable with certificate-related reason
- Redirect loop detected — status: unreachable, reason: redirect_loop
- Malformed or too-short URL input — schema validation error before request is made

## How this service works

Live health check of one public website's home page: up/down, HTTPS, redirects, speed and basic SEO tags. 0.02 USDC per check.

## Output

Returns a status field ('live', 'unreachable', or 'inconclusive'), the final resolved URL after any redirects, the HTTP status code, response time in milliseconds, whether HTTPS works and whether HTTP redirects to HTTPS, the full redirect chain, and a page object containing the page title, meta description, H1 presence, CMS/generator name, canonical URL, mobile viewport flag, and noindex flag. If unreachable, a reason code explains why (e.g. domain_not_found, timeout, http_404).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 500,
       "minLength": 4,
       "description": "Public website, e.g. \"https://www.example.com\" or \"example.com\"."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "input_url",
      "status",
      "reason",
      "final_url",
      "http_status",
      "response_time_ms",
      "https_works",
      "http_redirects_to_https",
      "redirects",
      "page",
      "checked_at"
     ],
     "properties": {
      "page": {
       "anyOf": [
        {
         "type": "object",
         "required": [
          "title",
          "meta_description",
          "has_h1",
          "mobile_viewport",
          "canonical_url",
          "noindex",
          "generator"
         ],
         "properties": {
          "title": {
           "type": [
            "string",
            "null"
           ]
          },
          "has_h1": {
           "type": "boolean"
          },
          "noindex": {
           "type": "boolean",
           "description": "Page asks search engines not to index it."
          },
          "generator": {
           "type": [
            "string",
            "null"
           ],
           "description": "Site builder/CMS if declared, e.g. WordPress."
          },
          "canonical_url": {
           "type": [
            "string",
            "null"
           ]
          },
          "mobile_viewport": {
           "type": "boolean",
           "description": "Has a mobile viewport tag (basic mobile-friendliness signal)."
          },
          "meta_description": {
           "type": [
           
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "page": {
   "title": "Example Plumbing | Atlanta Plumbers",
   "has_h1": true,
   "noindex": false,
   "generator": "WordPress 6.6",
   "canonical_url": "https://www.example.com/",
   "mobile_viewport": true,
   "meta_description": "24/7 plumbing repair in Atlanta."
  },
  "reason": null,
  "status": "live",
  "final_url": "https://www.example.com/",
  "input_url": "https://www.example.com",
  "redirects": [
   {
    "url": "https://www.example.com/",
    "status": 200
   }
  ],
  "checked_at": "2026-10-21T00:00:00.000Z",
  "http_status": 200,
  "https_works": true,
  "response_time_ms": 312,
  "http_redirects_to_https": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/local-business-website-check-api-ba38b8da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from local-leads-api.vercel.app](https://www.zero.xyz/host/local-leads-api.vercel.app/llms.txt)
