← Market

X402 · Url Preflight

Returns a JSON preflight of one public https URL for an agent about to fetch or cite it: the redirect chain hop by hop (status, location, ms), the final status, content type and declared size, and whether the host's robots.txt (RFC 9309) allows one named crawler to fetch that path. The page body is never returned. Input: url (public https, port 443), optional crawler (product token, default *). Example: GET /x402/url-preflight?url=https://example.com/docs&crawler=GPTBot

GET https://api.alicehub.app/x402/url-preflight

0.01 USDC on Base · payTo 0x8E0014b38f3300f922100F2973b1bC749A626841

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0x8E0014b38f3300f922100F2973b1bC749A626841 · via cdp · settles direct
{
  "crawler": "GPTBot",
  "url": "https://example.com/docs"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

GET https://api.alicehub.app/x402/url-preflight · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "pattern": "^https://",
      "maxLength": 2048,
      "description": "public https URL (port 443, no credentials)"
    },
    "crawler": {
      "type": "string",
      "pattern": "^(\\*|[A-Za-z_-]{1,64})$",
      "description": "crawler product token for robots.txt, default *"
    }
  }
}
Output schema
{
  "type": "object",
  "required": [
    "service",
    "kind",
    "url",
    "final_url",
    "final_status",
    "ok",
    "hops",
    "stopped_reason",
    "robots",
    "elapsed_ms",
    "errors"
  ],
  "properties": {
    "service": {
      "type": "string",
      "const": "alicehub"
    },
    "kind": {
      "type": "string",
      "const": "url-preflight"
    },
    "url": {
      "type": "string",
      "description": "the URL asked for (fragment removed)"
    },
    "final_url": {
      "type": "string",
      "description": "the last URL fetched"
    },
    "final_status": {
      "type": [
        "integer",
        "null"
      ],
      "description": "HTTP status of the last fetch, null when nothing answered"
    },
    "ok": {
      "type": "boolean",
      "description": "the final status is 2xx"
    },
    "hops": {
      "type": "array",
      "description": "one entry per fetch, in order; an http:// redirect target is listed with status null and never fetched",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "location": {
            "type": [
              "string",
              "null"
            ],
            "description": "Location header, sanitised and truncated"
          },
          "ms": {
            "type": "integer"
          }
        }
      }
    },
    "stopped_reason": {
      "type": "string",
      "enum": [
        "none",
        "http_downgrade",
        "cross_host_refused",
        "too_many_redirects",
        "refused",
        "timeout",
        "tls_error"
      ]
    },
    "content_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "media type of the final answer"
    },
    "content_length": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Content-Length header, else bytes read (capped at 256 KB, see truncated)"
    },
    "truncated": {
      "type": "boolean",
      "description": "true when content_length is the capped count of bytes read"
    },
    "last_modified": {
      "type": [
        "string",
        "null"
      ]
    },
    "cache_control": {
      "type": [
        "string",
        "null"
      ]
    },
    "x_robots_tag": {
      "type": [
        "string",
        "null"
      ]
    },
    "robots": {
      "type": "object",
      "description": "verdict of the URL's own host robots.txt (RFC 9309) for one crawler and the path asked for",
      "properties": {
        "fetched_status": {
          "type": [
            "integer",
            "null"
          ]
        },
        "crawler": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "allowed": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "null when unknown"
        },
        "matched_rule": {
          "type": [
            "string",
            "null"
          ]
        },
        "rule_source": {
          "type": "string",
          "enum": [
            "group",
            "*",
            "none"
          ]
        },
        "note": {
          "type": "string",
          "description": "4xx means allow all, 5xx means disallow all (RFC 9309)"
        }
      }
    },
    "elapsed_ms": {
      "type": "integer"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
curl -i -X GET 'https://api.alicehub.app/x402/url-preflight?url=https%3A%2F%2Fexample.com%2Fpage&crawler=GPTBot'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)