Skip to content
Fourohtwo

api.alicehub.app/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 *). Ex

BaseDown
GEThttps://api.alicehub.app/x402/url-preflight

Uptime50.0% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.alicehub.app/x402/url-preflight?crawler=GPTBot&url=https%3A%2F%2Fexample.com%2Fdocs");
console.log(await res.json());

Example input

{
  "crawler": "GPTBot",
  "url": "https://example.com/docs"
}

More from AliceHubProvider status