Avoid unnecessary browser launches with a lightweight preflight for AI agents
Avoid unnecessary browser launches with a lightweight preflight for AI agents. ZeroWorker inspects public pages before browser automation and returns static forms, field constraints, CAPTCHA/SPA signals, DNS/public-network safety checks, and a 3-state routing…
by zeroworker-web-action-api.zeroworker-lab.workers.dev · discovered, not yet claimed by its owner · updated 2026-09-25
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Avoid unnecessary browser launches with a lightweight preflight for AI agents. ZeroWorker inspects public pages before browser automation and returns static forms, field constraints, CAPTCHA/SPA signals, DNS/public-network safety checks, and a 3-state routing verdict: http_candidate, browser_likely, or undetermined. Use it to choose direct HTTP or escalate to a browser. No API key required. $0.003 USDC per successful request via x402 on Base Mainnet.
Tags: preflight · forms · ai-agents · web-automation · browser-automation · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-09
{
"url": "https://example.com/contact"
}{
"agentVerdict": {
"browserLikelyRequired": false,
"confidence": "high",
"reasons": [
"At least one static GET/POST form can be described from the initial HTML without executing page JavaScript."
],
"verdict": "http_candidate"
},
"fetchedAt": "2026-09-23T10:00:00.000Z",
"finalUrl": "https://example.com/contact",
"forms": [
{
"action": "https://example.com/contact/submit",
"enctype": "application/x-www-form-urlencoded",
"fieldCount": 4,
"fields": [
{
"autocomplete": "email",
"checked": false,
"disabled": false,
"id": "contact-email",
"label": "Email address",
"max": null,
"maxLength": 254,
"min": null,
"minLength": null,
"multiple": false,
"name": "email",
"options": null,
"pattern": null,
"placeholder": "[email protected]",
"required": true,
"selectedValues": null,
"step": null,
"type": "email",
"value": ""
},
{
"autocomplete": null,
"checked": false,
"disabled": false,
"id": "plan",
"label": "Plan",
"max": null,
"maxLength": null,
"min": null,
"minLength": null,
"multiple": false,
"name": "plan",
"options": [
{
"disabled": false,
"label": null,
"selected": false,
"text": "Basic",
"value": "basic"
},
{
"disabled": false,
"label": null,
"selected": true,
"text": "Pro",
"value": "pro"
}
],
"pattern": null,
"placeholder": null,
"required": true,
"selectedValues": [
"pro"
],
"step": null,
"type": "select",
"value": "pro"
}
],
"hasFileUpload": false,
"hasPasswordField": false,
"index": 0,
"method": "POST",
"standardHttpSubmission": true,
"submitControls": 1
}
],
"http": {
"contentType": "text/html; charset=utf-8",
"redirectCount": 0,
"status": 200
},
"limitations": [
"Static initial HTML only; page JavaScript is not executed.",
"Use agentVerdict.verdict for the preferred three-state routing result; browserLikelyRequired remains for backward compatibility and false can also mean undetermined.",
"This service inspects structure only and does not submit forms or perform actions."
],
"networkSafety": {
"fetchDnsChecks": 2,
"initialDnsCheck": {
"addressCount": 2,
"allPublic": true,
"families": [
4,
6
]
},
"postFetchDnsPublicRecheck": true,
"redirectTargetsRechecked": true
},
"page": {
"captchaMarkers": [],
"formsFound": 1,
"iframeCount": 0,
"scriptCount": 2,
"spaMarkers": []
},
"requestedUrl": "https://example.com/contact"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/38428.jsonfor the price and payment options. - Pay. Call
GET https://zeroworker-web-action-api.zeroworker-lab.workers.dev/v1/preflight. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.003 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 7 calls · 4 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.003 | 0xad277cf8B5D9fa5008D06cBdBE349F5DF3c0Cc8f | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xad277cf8B5D9fa5008D06cBdBE349F5DF3c0Cc8f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"agentVerdict": {
"properties": {
"browserLikelyRequired": {
"description": "Backward-compatible boolean. True only for browser_likely; false also covers undetermined.",
"type": "boolean"
},
"confidence": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"verdict": {
"description": "Preferred three-state routing result. Use this instead of inferring direct-HTTP suitability from browserLikelyRequired=false.",
"enum": [
"http_candidate",
"browser_likely",
"undetermined"
],
"type": "string"
}
},
"required": [
"verdict",
"browserLikelyRequired",
"confidence",
"reasons"
],
"type": "object"
},
"fetchedAt": {
"type": "string"
},
"finalUrl": {
"type": "string"
},
"forms": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
"http": {
"properties": {
"contentType": {
"type": "string"
},
"redirectCount": {
"minimum": 0,
"type": "integer"
},
"status": {
"type": "integer"
}
},
"required": [
"status",
"contentType",
"redirectCount"
],
"type": "object"
},
"limitations": {
"items": {
"type": "string"
},
"type": "array"
},
"networkSafety": {
"properties": {
"fetchDnsChecks": {
"minimum": 2,
"type": "integer"
},
"initialDnsCheck": {
"properties": {
"addressCount": {
"minimum": 1,
"type": "integer"
},
"allPublic": {
"type": "boolean"
},
"families": {
"items": {
"enum": [
4,
6
],
"type": "integer"
},
"type": "array"
}
},
"required": [
"addressCount",
"families",
"allPublic"
],
"type": "object"
},
"postFetchDnsPublicRecheck": {
"type": "boolean"
},
"redirectTargetsRechecked": {
"type": "boolean"
}
},
"required": [
"initialDnsCheck",
"fetchDnsChecks",
"redirectTargetsRechecked",
"postFetchDnsPublicRecheck"
],
"type": "object"
},
"page": {
"properties": {
"captchaMarkers": {
"items": {
"type": "string"
},
"type": "array"
},
"formsFound": {
"minimum": 0,
"type": "integer"
},
"iframeCount": {
"minimum": 0,
"type": "integer"
},
"scriptCount": {
"minimum": 0,
"type": "integer"
},
"spaMarkers": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"formsFound",
"scriptCount",
"iframeCount",
"spaMarkers",
"captchaMarkers"
],
"type": "object"
},
"requestedUrl": {
"type": "string"
}
},
"required": [
"requestedUrl",
"finalUrl",
"fetchedAt",
"http",
"networkSafety",
"page",
"forms",
"agentVerdict",
"limitations"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"agentVerdict": {
"browserLikelyRequired": true,
"confidence": "low",
"reasons": [
"string"
],
"verdict": "http_candidate"
},
"fetchedAt": "string",
"finalUrl": "string",
"forms": [
{}
],
"http": {
"contentType": "string",
"redirectCount": 0,
"status": 0
},
"limitations": [
"string"
],
"networkSafety": {
"fetchDnsChecks": 0,
"initialDnsCheck": {
"addressCount": 0,
"allPublic": true,
"families": [
4
]
},
"postFetchDnsPublicRecheck": true,
"redirectTargetsRechecked": true
},
"page": {
"captchaMarkers": [
"string"
],
"formsFound": 0,
"iframeCount": 0,
"scriptCount": 0,
"spaMarkers": [
"string"
]
},
"requestedUrl": "string"
},
"type": "string"
}Examples
curl "https://zeroworker-web-action-api.zeroworker-lab.workers.dev/v1/preflight"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://zeroworker-web-action-api.zeroworker-lab.workers.dev/v1/preflight");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://zeroworker-web-action-api.zeroworker-lab.workers.dev/v1/preflight")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- zeroworker-web-action-api.zeroworker-lab.workers.dev
- Endpoint
- https://zeroworker-web-action-api.zeroworker-lab.workers.dev/v1/preflight
- Machine-readable
/resources/38428.json