Z

ZoningVerdict · Preflights

by ZoningVerdict

POSTBase

$3

per call · USD Coin on Base

Compile an address and structured project intent into a preliminary zoning verdict, cited conditions, approval path, versioned evidence and EdDSA JWS. $3 USDC on Base; pack_gap refusals are never charged. Paid Preflight coverage is narrower than address resolution. Durable workflow status and result retrieval included.

Endpoint

POST https://zoningverdict.com/api/v1/preflights

1

Calls / 30d

1

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://zoningverdict.com/api/v1/preflights", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "address": "1000 W Avon Rd, Rochester Hills, MI 48309",
    "intent": {
      "attributes": {
        "height_band": "over_4_to_6_ft",
        "yard": "rear"
      },
      "project_type": "fence",
      "taxonomy_version": 2,
      "use": "residential_single_family"
    },
    "request_id": "replace-with-a-fresh-random-uuid-per-purchase"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://zoningverdict.com/api/v1/preflights" \
  -H "Content-Type: application/json" \
  -d '{"address":"1000 W Avon Rd, Rochester Hills, MI 48309","intent":{"attributes":{"height_band":"over_4_to_6_ft","yard":"rear"},"project_type":"fence","taxonomy_version":2,"use":"residential_single_family"},"request_id":"replace-with-a-fresh-random-uuid-per-purchase"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "poll_after_ms": 5000,
  "status": "queued",
  "workflow_id": "00000000-0000-4000-8000-000000000000"
}

Payment details

Pay to0xc1dab3c368f8b6595c49df67f4a17225e0ceb785
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from ZoningVerdict & similar services