API for HMO licensing data by postcode in England
Lettance provides HMO and selective licensing data by postcode and household type in England, with a directory of 296 councils. Call GET /api/v1/check for council scheme context for one credit (16p), or call check_address for a postcode-level licensing indication free at https://lettance.com/mcp.
Check a postcode with REST
Send a full English postcode and one of these household values.
singlefor one householdsmall_hmofor 3 or 4 people from 2 or more householdslarge_hmofor 5 or more people from 2 or more households
Set LETTANCE_KEY to a production bearer key with data:read. Use a unique Idempotency-Key for each lookup and reuse it for an identical retry.
export HMO_CHECK_ID="${HMO_CHECK_ID:-$(uuidgen)}"
curl -isS --fail-with-body 'https://lettance.com/api/v1/check?postcode=SE15%205BA&household=small_hmo' \
-H "Authorization: Bearer ${LETTANCE_KEY:?Set your production project key}" \
-H "Idempotency-Key: ${HMO_CHECK_ID:?Set a unique purchase ID}"The REST response gives the ward, recorded scheme types, dates and sources, and returns licence.needed as check. GET /api/v1/councils lists all English councils and their research status. GET /api/v1/councils/{slug} returns one council’s scheme facts and sources where research is published. Each delivered council lookup costs one credit.
Check licensing free with MCP
check_address indicates whether a household may need a mandatory HMO, additional HMO or selective licence. It includes recorded schemes for the postcode’s ward with dates, fees, exemptions and council sources. council_licensing accepts a council slug or name and returns the council’s schemes. Both tools are free and anonymous on com.lettance/rules.
curl https://lettance.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-11-25' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"check_address","arguments":{"postcode":"SE15 5BA","household":"small_hmo"}}}'curl https://lettance.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-11-25' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"council_licensing","arguments":{"council":"southwark"}}}'A postcode identifies an area. Confirm the exact property’s boundary with the council, especially near a scheme edge. Treat missing research as unknown. Use these results as information. For legal advice, consult a qualified adviser.
Check one property or an issued reference
This API describes licensing requirements and scheme context. It does not provide a national register of issued HMO licences or list all licensed HMOs in a postcode. If you already have an exact published licence or planning reference, register_reference can look it up. A match costs one credit. There is no charge when no record matches.
For an exact property, call preflight_property free to see the available scope and missing facts. Buy a cited licensing assessment for 10 credits or pay with x402.