# Knight Logics Public URL Preflight Extractor

> Knight Logics Public URL Preflight Extractor is a paid API for AI agents from agent.tryknightlogics.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches a public URL and extracts page metadata including title, H1 tags, canonical URL, meta description, and a content hash for verification.

## Facts

- Endpoint: POST https://agent.tryknightlogics.com/api/public-url-preflight
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/knight-logics-public-url-preflight-extractor-67833e9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ujh7GKfoAWtEMqNVVuuUh

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 knight-logics-public-url-preflight-extractor-67833e9c -d '<json body>'
```

Example prompt: Can you do a preflight check on https://acmecorp.com and tell me the page title, H1 headings, canonical URL, and meta description — plus confirm what the final URL resolves to?

## When to prefer this

Choose this endpoint when you need fast, structured extraction of page-level metadata (title, H1, canonical, meta description, status, final URL, and a content hash) from a single public URL — especially for CRM enrichment preflight checks, SEO audits, or content verification workflows. It is priced at $0.05 USDC per call via x402 and also available on Apify and RapidAPI. Prefer this over full contact-extraction endpoints when you only need page metadata rather than emails, phones, or social profiles.

## Known failure modes

- Non-public or paywalled URLs may return empty or incomplete metadata
- URLs that redirect to login pages may return login-page metadata instead of target content
- Pages with heavy JavaScript rendering may not yield accurate H1/title extraction
- Invalid or malformed URLs will result in an error response
- Rate limits or network timeouts may cause failed fetches for slow-loading sites

## How this service works

Public website contact extractor for CRM enrichment: emails, phones, forms, socials, DNS mail-policy. Also on Apify ($0.005/site) and RapidAPI (BASIC free).

## Output

Returns a JSON object containing: the page title, an array of H1 headings, HTTP status code, canonical tag value, the final resolved URL (after redirects), the originally requested URL, meta description, a SHA-256 hash of the page evidence, and a timestamp of when the data was generated.

## 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": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "requested_url",
      "final_url",
      "status",
      "evidence_sha256",
      "generated_at"
     ],
     "properties": {
      "h1": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "title": {
       "type": "string"
      },
      "status": {
       "type": "integer"
      },
      "canonical": {
       "type": "string"
      },
      "final_url": {
       "type": "string"
      },
      "generated_at": {
       "type": "string",
       "format": "date-time"
      },
      "requested_url": {
       "type": "string"
      },
      "evidence_sha256": {
       "type": "string"
      },
      "meta_description": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "h1": [
   "Example Domain"
  ],
  "title": "Example Domain",
  "status": 200,
  "canonical": "",
  "final_url": "https://example.com",
  "generated_at": "2026-01-01T00:00:00Z",
  "requested_url": "https://example.com",
  "evidence_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
  "meta_description": ""
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/knight-logics-public-url-preflight-extractor-67833e9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.tryknightlogics.com](https://www.zero.xyz/host/agent.tryknightlogics.com/llms.txt)
