# Agent Preflight URL Analysis

> Agent Preflight URL Analysis is a paid API for AI agents from preflight.lorensaisolutions.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Analyzes a URL to detect CAPTCHA, login walls, bot protection, and browser requirements before an AI agent attempts to access it

## Facts

- Endpoint: GET https://preflight.lorensaisolutions.com/v1/url-ping
- 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/agent-preflight-url-analysis-1a6df580
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZPftDJ8bbgmdOjAoNowJN

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 agent-preflight-url-analysis-1a6df580
```

Example prompt: Before my agent tries to scrape https://example.com/pricing, can you do a preflight check on it with a 'research' intent to see if it has CAPTCHA, login walls, or bot protection that would block a direct fetch?

## When to prefer this

Use this endpoint when your AI agent needs to decide how to approach a URL before fetching it — especially when you need to avoid wasted browser-automation overhead, detect paywalls or login gates early, or route scraping tasks to the right fetching strategy. It is the right choice before any web-access step in an agent pipeline where the target URL's accessibility characteristics are unknown.

## Known failure modes

- Invalid or malformed URL returns a validation error
- Unreachable URLs return reachable: false with relevant HTTP status
- Network timeouts may return incomplete analysis with lower confidence
- Highly dynamic pages may produce lower confidence scores
- Rate limiting from target servers may affect analysis accuracy

## How this service works

Paid URL analysis, CAPTCHA and login detection, API discovery, product intelligence, change monitoring, and batch preflight for AI agents and agent swarms.

## Output

Returns a JSON object with: final resolved URL, page type classification, reachability boolean, HTTP status, content type, flags for CAPTCHA presence, login requirement, bot protection, and browser requirement, plus a recommended action string and a confidence score between 0 and 1.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Absolute HTTP or HTTPS URL"
      },
      "intent": {
       "enum": [
        "research",
        "purchase",
        "scrape",
        "contact",
        "download",
        "apply",
        "book",
        "monitor"
       ],
       "type": "string",
       "default": "research"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "finalUrl": "https://example.com/",
  "pageType": "website",
  "reachable": true,
  "riskFlags": [],
  "confidence": 0.92,
  "httpStatus": 200,
  "contentType": "text/html",
  "loginRequired": false,
  "captchaPresent": false,
  "browserRequired": false,
  "recommendedAction": "Use direct fetch",
  "botProtectionPresent": false,
  "directFetchSufficient": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-preflight-url-analysis-1a6df580/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.lorensaisolutions.com](https://www.zero.xyz/host/preflight.lorensaisolutions.com/llms.txt)
