Api Endpoint

ZeroWorker Web Action API

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.

Open interactive test console

Offering

Provider
zeroworker-web-action-api.zeroworker-lab.workers.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://zeroworker-web-action-api.zeroworker-lab.workers.dev/v1/preflight
MIME type
Not provided
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
preflight, forms, AI-agents, web-automation, browser-automation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0xad277cf8B5D9fa5008D06cBdBE349F5DF3c0Cc8f"
  }
]

Observed health

Status
Healthy
Latest latency
1173 ms
Average latency
1907 ms
HTTP status
204
Last checked
Reachability
92.9% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "url": {
          "description": "Absolute public HTTP(S) URL to inspect. Literal IPs, localhost/local hostnames, credentials, and non-standard ports are rejected.",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output 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"
}