X402 · Pha Lookup
Landlord contacts, HCV/Section 8 links, hours. Seed includes Kinston Housing Authority (Lenoir County NC). Pay 0.001 USDC on Base.
price
0.0010 USDC
rail
Base
facilitator
OMNIGATE
method
GET
endpoint https://mcp-x402.onrender.com/x402/pha-lookup
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z
Live 402 challenge
Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.
Pay from your agent
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });
const res = await pay("https://mcp-x402.onrender.com/x402/pha-lookup", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));Example input
{
"zip": "28504",
"city": "Kinston",
"county": "Lenoir",
"state": "NC"
}Example output
{
"matches": [
{
"id": "nc-kinston-kha",
"name": "Kinston Housing Authority",
"hud_code": "NC004",
"city": "Kinston",
"county": "Lenoir",
"state": "NC",
"zips": [
"…",
"…"
],
"phone": "252-523-1195",
"fax": "252-523-7984",
"landlord_phone": "252-527-9160 ext. 256",
"landlord_email": "asanders@khanc.org",
"address": "608 N. Queen Street, Kinston, NC 28501",
"mail": "P.O. Box 697, Kinston, NC 28502",
"website": "https://www.khanc.org/",
"landlords_url": "https://www.khanc.org/landlords",
"hcv_url": "https://www.khanc.org/housing-choice-vouchers",
"hours": "Mon–Thu 8:00am–5:30pm; 1st Friday 8:00am–noon",
"programs": [
"…",
"…"
],
"notes": [
"…",
"…"
]
}
],
"query": {
"zip": "28504",
"city": "Kinston",
"county": "Lenoir",
"state": "NC"
}
}