# ScriptMasterLabs PHA Lookup API

> ScriptMasterLabs PHA Lookup API is a paid API for AI agents from mcp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Look up Public Housing Authority (PHA) and Section 8/HUD housing program information by ZIP code, city, state, or county via pay-per-call x402 micropayment

## Facts

- Endpoint: GET https://mcp-x402-discovery.onrender.com/x402/pha-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-pha-lookup-api-6610cc85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ifp6BgmQ6D3R3bCYX4FtZ

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 scriptmasterlabs-pha-lookup-api-6610cc85
```

Example prompt: Can you look up the Public Housing Authority information for ZIP code 90210 in Beverly Hills, California? I need to find out which PHA and Section 8 program serves that area.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to Section 8/HUD Public Housing Authority data by geographic identifier (ZIP, city, state, or county). Prefer this over manual HUD website searches when building automated housing research agents, compliance tools, or real estate applications that need structured PHA data at scale. The x402 micropayment model ($0.001 USDC) makes it cost-effective for high-volume lookups.

## Known failure modes

- 402 Payment Required if no valid x402 payment or API key is provided
- No PHA found for unrecognized or rural ZIP codes with no associated authority
- Missing required query parameters (zip, city, state, or county) may return an error or empty result
- Rate limiting or service unavailability from the Render.com hosted backend
- Invalid geographic input (e.g. non-existent ZIP or misspelled county) returns empty or error response

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

Returns Public Housing Authority (PHA) details for the queried location, including agency names, HUD program affiliations, Section 8 voucher program administrators, and relevant contact or jurisdictional information for the specified ZIP code, city, state, or county.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "zip": {
       "type": "string"
      },
      "city": {
       "type": "string"
      },
      "state": {
       "type": "string"
      },
      "county": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-pha-lookup-api-6610cc85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402-discovery.onrender.com](https://www.zero.xyz/host/mcp-x402-discovery.onrender.com/llms.txt)
