# AgentUtility Building Permits API

> AgentUtility Building Permits API is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Looks up building permit records for a given city, returning permit IDs and their current status

## Facts

- Endpoint: POST https://x402.agentutility.ai/building-permits-api
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-building-permits-api-0fffa2ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t-x9cQXFWopNcp33z2cB4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentutility-building-permits-api-0fffa2ee -d '<json body>'
```

Example prompt: Can you pull up all the issued building permits in NYC for me? I need the permit IDs and their current status.

## When to prefer this

Use this endpoint when an agent needs to programmatically retrieve building permit records for a specific city, especially in automated workflows requiring pay-per-call access with USDC settlement. Prefer this over manual government portals when building real estate research tools, compliance checkers, or construction monitoring agents.

## Known failure modes

- City not found or unsupported — may return empty permits array
- Malformed request body — returns error indicating missing required fields
- Payment failure via x402 — 402 response if USDC payment not included or insufficient
- Rate limiting — too many requests in a short window
- Upstream municipal data unavailable — partial or empty results

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

Returns a JSON object containing the queried city, a list of permits (each with a permit_id and status such as 'issued'), and a count of permits returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "City code: 'nyc' | 'sf' | 'chicago' | 'la' | 'seattle' | 'austin'. Each maps to an official city open-data portal."
      },
      "days": {
       "type": "number",
       "description": "Restrict to permits filed in the last N days."
      },
      "limit": {
       "type": "number",
       "description": "Max records to return. 1-100. Default 20."
      },
      "status": {
       "type": "string",
       "description": "Permit status filter, e.g. 'ISSUED', 'FILED', 'IN PROCESS'. Values vary by city."
      },
      "address": {
       "type": "string",
       "description": "Street / address substring to match (case-insensitive). E.g. 'broadway', '123 main st'."
      },
      "permit_type": {
       "type": "string",
       "description": "Permit type filter, e.g. 'EW' (equipment work) or 'NB' (new building) for NYC. Values vary by city."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "city": {
       "type": "string"
      },
      "permits": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "status": {
          "type": "string"
         },
         "permit_id": {
          "type": "string"
         }
        }
       }
      },
      "returned": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "city": "nyc",
  "permits": [
   {
    "status": "issued",
    "permit_id": "123"
   }
  ],
  "returned": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-building-permits-api-0fffa2ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
