P

Payapi · HMO BY Postcode

by Payapi

POSTBase

$0.03

per call · USD Coin on Base

UK licensed HMOs in a postcode area. Returns all licensed Houses in Multiple Occupation registered with the local council.

Endpoint

POST https://hmo.payapi.market/hmo-by-postcode

3

Calls / 30d

2

Unique payers / 30d

Aug 23

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://hmo.payapi.market/hmo-by-postcode", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "postcode": "M1 1AE"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://hmo.payapi.market/hmo-by-postcode" \
  -H "Content-Type: application/json" \
  -d '{"postcode":"M1 1AE"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "council": "Manchester City Council",
  "count": 2,
  "data_source": "https://manchester.gov.uk/HMO_register",
  "last_updated": "2026-04-28T09:00:00Z",
  "postcode": "M1 1AE",
  "results": [
    {
      "address": "12 Example Road, Manchester, M1 1AE",
      "expiry_date": "2029-03-15",
      "licence_number": "HMO/2024/00123",
      "licence_type": "Mandatory",
      "max_occupancy": 5
    },
    {
      "address": "14 Example Road, Manchester, M1 1AE",
      "expiry_date": "2028-09-22",
      "licence_number": "HMO/2023/00567",
      "licence_type": "Additional",
      "max_occupancy": 4
    }
  ]
}

Payment details

Pay to0xffc458db291b4abce020fe3de4f91f2770e537b1
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Payapi & similar services