Pre-payment facts about one x402 seller URL
api.alicehub.app/x402/pay-check
Pre-payment facts about one x402 seller URL: one unpaid GET, the PAYMENT-REQUIRED header and the 402 body decoded, every offer checked against the x402 v2 fields (price in USD, network, asset, payTo format, timeout, resource match, discovery metadata). Facts, not a verdict. Never pays or signs. Port 443 and GET only. Input: ?url=https://seller.example/resource[&max_usd=0.05]. Not charged if the se
GET
https://api.alicehub.app/x402/pay-checkUptime100% of 1 check 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.alicehub.app/x402/pay-check?url=https%3A%2F%2Fseller.example.com%2Fapi%2Fpremium");
console.log(await res.json());Example input
{
"url": "https://seller.example.com/api/premium"
}More from AliceHub
- api.alicehub.app/x402/agent-readyReturns a JSON agent-readiness report for one public https site: pass/fail checks with evidence and a fix for each (robots.txt, sitemap, llms.txt, markdown negotiation, A2A agent card, agent skills, MCP server card, OAuth metadata, Web Bot Auth, API catalog, OpenAPI, auth.md, DNS-AID, x402), plus score and grade. Input: url (site origin, port 443). Example: GET /x402/agent-ready?url=https://exampl0.05
- api.alicehub.app/x402/ai-policyReturns what one site declares about AI use of a page: the robots.txt verdict per crawler (12 AI crawlers by default), the TDMRep reservation and policy, noai or noimageai in meta robots or X-Robots-Tag, and the raw Content-Signal lines. Per page, unlike the site-wide /x402/agent-ready scan; declared signals, not legal advice. Input: url (public https page, port 443), crawlers (optional, comma-sep0.01
- api.alicehub.app/x402/cryptoReturns the AliceHub chain id and head block and, when an address is given, the CDT, POC, TKN and CPT balances of that address, as JSON. Read-only, no market prices. Input: address (optional, 0x followed by 40 hex characters). Example: GET /x402/crypto?address=0x00000000000000000000000000000000000000000.02
- api.alicehub.app/x402/depsReturns a JSON list of known vulnerabilities in the dependencies of one public GitHub repository (package-lock.json, package.json, requirements.txt, go.mod, Cargo.lock), checked against the public OSV database and ranked by severity, with the fixed version when one exists. Input: url (https://github.com/owner/repo). Example: GET /x402/deps?url=https://github.com/owner/repo0.20
- api.alicehub.app/x402/headersReturns a JSON security-headers report for one public https page: score, grade, findings with fixes (HSTS, CSP, framing, referrer, version disclosure). Input: url (public https page). Example: GET /x402/headers?url=https://example.com0.01
- api.alicehub.app/x402/intelReturns one JSON snapshot of the public AliceHub catalogue (up to 50 services with prices) and marketplace listings (up to 60). Input: none. Example: GET /x402/intel. Public data only.0.01
- api.alicehub.app/x402/jsonldStructured data of one public https page as clean JSON: every JSON-LD block parsed, @graph flattened, schema.org types counted, nodes for Product, Offer, Article, Organization, Event, BreadcrumbList, FAQPage and more, plus parse errors, missing @context or @type warnings and the OpenGraph keys. Personal data is redacted. Input: ?url= (public https page). Not charged if the page cannot be fetched.0.01
- api.alicehub.app/x402/privacyReturns a JSON privacy and compliance report for one public https page: third-party trackers, cookie flags, consent tooling, privacy and legal policy links, forms; score, grade, findings with fixes. Input: url (public https page). Example: GET /x402/privacy?url=https://example.com0.15
- api.alicehub.app/x402/seoReturns a JSON SEO audit of one public https page: title, description, headings, canonical, robots, structured data, response time; score, grade, findings with fixes. Input: url (public https page). Example: GET /x402/seo?url=https://example.com0.10
- api.alicehub.app/x402/tlsReturns a JSON TLS report for one public https host: certificate trust and expiry, protocol version, handshake; score, grade, findings with fixes. Input: url (public https page on the host). Example: GET /x402/tls?url=https://example.com0.01
- api.alicehub.app/x402/url-preflightReturns 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 *). Ex0.01
