Rental intelligence API
Send a rental postcode and letting facts to check licensing in England. Each assessment includes the date, sources and any missing evidence. Compare results on your own schedule using a fingerprint for material changes.
N5 1AB · Islington · Fictional home
Selective licensing applies.
- Status
- required
- Assessment date
Supply the relevant licence if you hold one.
Read the official sourceAll official sources (3)
- https://www.islington.gov.uk/housing/private-sector-housing/landlords/property-licensing/check-what-type-of-property-licence-you-need
- https://www.islington.gov.uk/~/media/sharepoint-lists/public-records/environmentalprotection/information/guidance/20262027/islington-designation-of-an-area-for-selective-licensing-2026.pdf
- https://www.legislation.gov.uk/uksi/2018/221/article/4
API input and result
Highbury ordinary single-household letting when the new designation begins.
{
"input": {
"postcode": "N5 1AB",
"ward": "Highbury",
"household": "single",
"building": "ordinary_house",
"exemption": "none_known"
},
"result": {
"version": "licensing-v1",
"asOf": "2026-11-23",
"status": "required",
"summary": "A licensing requirement matches the supplied facts.",
"coverage": {
"code": "reviewed",
"council": "Islington",
"reviewedAt": "2026-11-23",
"locationBasis": "postcode_district",
"locationNote": "Council is inferred from the postcode. Confirm the property's council near a district boundary. Any supplied ward must be verified for the exact property."
},
"findings": [
{
"id": "islington:323b1b306c83143a",
"scope": "letting",
"schemeType": "selective",
"state": "applies",
"effectiveFrom": "2026-11-23",
"effectiveTo": "2031-11-22",
"reviewedAt": "2026-11-23",
"sourceUrls": [
"https://www.islington.gov.uk/housing/private-sector-housing/landlords/property-licensing/check-what-type-of-property-licence-you-need",
"https://www.islington.gov.uk/~/media/sharepoint-lists/public-records/environmentalprotection/information/guidance/20262027/islington-designation-of-an-area-for-selective-licensing-2026.pdf"
],
"dependsOn": [
"council",
"household",
"exemption",
"building",
"ward"
],
"reason": "The supplied property facts match the reviewed designation.",
"nextCheck": "Compare the property licence and its period with this scheme."
}
],
"pendingEvidence": [],
"evidence": {
"status": "not_provided",
"schemeType": null,
"startsOn": null,
"expiresOn": null,
"nextCheck": "Supply the relevant licence if you hold one."
},
"nextAction": "Supply the relevant licence if you hold one.",
"sources": [
"https://www.islington.gov.uk/housing/private-sector-housing/landlords/property-licensing/check-what-type-of-property-licence-you-need",
"https://www.islington.gov.uk/~/media/sharepoint-lists/public-records/environmentalprotection/information/guidance/20262027/islington-designation-of-an-area-for-selective-licensing-2026.pdf",
"https://www.legislation.gov.uk/uksi/2018/221/article/4"
],
"attributions": [
"Assessment by Lettance.",
"Contains Ordnance Survey data © Crown copyright and database right 2025. Contains Royal Mail data © Royal Mail copyright and database right 2025. Contains National Statistics data © Crown copyright and database right 2025. Contains NRS data © Crown copyright and database right 2025.",
"Contains public sector information licensed under the Open Government Licence v3.0."
],
"comparisonFingerprint": "sha256:8802b80413fc6834d35e9803297c22b4d90edee58ec0479e3acec142c4a3bb56"
}
}Check what you can buy
Preflight is free and anonymous. Start with a postcode. Add the household type to see the price and any property facts that still need confirmation. The example uses a fictional Highbury letting.
curl --fail-with-body --silent --show-error -X POST 'https://lettance.com/api/intelligence/v1/preflight' \
-H 'Content-Type: application/json' \
--data '{"postcode":"N5 1AB","ward":"Highbury","household":"single","building":"ordinary_house","exemption":"none_known"}'Read availableScope, requiredFacts and factsToConfirm. If the council cannot be resolved in England, no purchase is available. If only national HMO criteria are available, buy that scope only after explicitly setting X-Lettance-Accept-National-Only: true. A ward must be confirmed for the exact home.
pendingEvidence lists changes to council sources used for the local decision. Show the affected scheme, source and last confirmed date before purchase. A local finding relying on the changed field stays open until it is verified.
Purchase the assessment
Create a production project key with assess:read and add credits. Store the key server-side as LETTANCE_KEY. Set PULL_ID to a unique ID saved by your application for this purchase. Send the facts again.
curl -i --fail-with-body --silent --show-error -X POST 'https://lettance.com/api/intelligence/v1/assessments' \
-H "Authorization: Bearer $LETTANCE_KEY" \
-H "Idempotency-Key: $PULL_ID" \
-H 'Content-Type: application/json' \
--data '{"postcode":"N5 1AB","ward":"Highbury","household":"single","building":"ordinary_house","exemption":"none_known"}'Read the dated findings, evidence, sources and next action. Store X-Lettance-Receipt-Id and X-Lettance-Credits. To recover a lost response, repeat the same facts, scope choice and ID. X-Lettance-Replayed: true identifies the original result. To practise for free, send an exact catalogue fixture with a sandbox assess:read key.
Compare a portfolio by UPRN or look up application times and fees.
Compare two pulls in your system
Use your scheduler to purchase a fresh assessment when your application needs one. Pick an interval that fits the decision and your budget. A new observation costs 10 credits even when the answer is unchanged.
import { LettanceRestClient } from "lettance";
const client = new LettanceRestClient({ key: process.env.LETTANCE_KEY });
// Your scheduler persists job.id across all retries of this observation.
const { data, receipt } = await client.assess(job.propertyFacts, job.id);
const previous = await store.lastAssessment(job.propertyId);
if (previous && previous.comparisonFingerprint !== data.comparisonFingerprint) {
await alerts.enqueueOnce(job.id, { previous, current: data });
}
await store.saveObservation(job.propertyId, job.id, data, receipt);The fingerprint covers substantive findings, evidence, coverage, sources and the next action. A changed retrieval date alone leaves it unchanged. Keep the previous result to show what changed. Compare the same property and facts, and include sources and effective dates in any alert.
One assessment with x402
A property-specific payment challenge includes pendingEvidence in its JSON body when a council source needs verification. Show the review details before signing. The payment header contains the wallet terms.
An agent with a wallet can request one licensing assessment without creating a project. It supplies the postcode and letting facts. The result includes applicability, evidence and sources. The same assessment is available with project credits.
The configured price is 2 USDC per assessment on Base. Check live availability and payment terms.
Make an x402 request
Read the offer with GET and check that available is true. When enabled, POST the property facts below to receive an HTTP 402 challenge. This example uses a fictional letting with a confirmed ward. Omit the ward if the exact address is unconfirmed. National-only purchases require the same explicit consent header as credit purchases.
curl -i 'https://lettance.com/api/intelligence/v1/x402/assessment' \
-H 'Content-Type: application/json' \
--data '{"postcode":"B6 6AA","household":"single","building":"ordinary_house","ward":"Aston","exemption":"none_known"}'Read the quoted amount, Base network and recipient from PAYMENT-REQUIRED. An x402 client can authorise that quote, repeat the same POST with PAYMENT-SIGNATURE and read the settlement receipt in PAYMENT-RESPONSE. For settlement_pending, reuse the original authorisation. If your wallet confirms a transfer, also send its hash in X-PAYMENT-TRANSACTION. Paid results can be retrieved for 24 hours. x402 protocol reference
Endpoints and coverage
Base URL https://lettance.com/api/intelligence/v1. Production and sandbox credentials are separate. Requests use JSON. Use one idempotency key per intended credit purchase. Keep keys on your server.
POST /preflight- free · Check the council, local coverage, pending source reviews, missing facts and credit cost.
POST /assessments- assess:read · Use project credits to assess a home, or send an exact published fixture with a sandbox key.
GET /x402/assessment- free · Read live wallet payment terms.
POST /x402/assessment- wallet · Request a challenge and settle one assessment on Base.
POST /property-history- data:read or assess:read for a single letting · Compare dated evidence for up to 25 UPRNs (1 credit) or assess a single letting (10 credits).
GET /property-history/coverage- public · See source dates and exact geographic coverage.
GET /outcome-benchmarks- data:read · Pull a council’s published application outcomes.
GET /credits- data:read · Read the available project balance and credit price free. Sandbox returns an unmetered balance of null.
GET /source-manifest- public · Read source attribution and the reuse terms for paid reference fields.
GET /catalogue- public · Read current coverage, field rights, versions and sandbox examples.
Check data coverage and freshness. Local licensing assessment coverage currently includes Birmingham, Blaby, Brent, Bromley, Chelmsford, Colchester, Coventry, Cumberland, Derby, Doncaster, East Staffordshire, Erewash, Halton, Islington, Leicester, Lewisham, Medway, Milton Keynes, Newham, North Kesteven, North Northamptonshire, Nottingham, Oxford, Portsmouth, Rother, Runnymede, Rushcliffe, South Gloucestershire, South Oxfordshire, Spelthorne, Tandridge, Vale Of White Horse, York. National mandatory HMO rules are evaluated for English homes. Research for another council may be available as a one-credit council lookup. Check the returned coverage, boundary uncertainties, evidence status and effective dates before presenting a finding.
Machine-readable coverage, attribution and fixtures · OpenAPI specification
Handle an unsuccessful request
The property API returns an error code and, when available, a message. Use the status, endpoint and code together.
- 401 / 403
invalid_keymeans the project key is missing or invalid. Forinsufficient_scope, check the endpoint’s required permission in the reference above.- 402
- On a project endpoint,
insufficient_creditsmeans the balance is too low. Top up and retry with the same purchase key. On the x402 endpoint, inspectPAYMENT-REQUIREDfor the one-off offer. - 400 / 422
- For
sandbox_fixture_required, send one of the exact catalogue inputs. Forinvalid_facts, correct the supplied fields before retrying. - 409
- For
idempotency_conflict, recover the original purchase with its original facts or use a fresh ID for a different purchase. For a pending payment, reuse the original signed request. - 429 / 503
- Follow
Retry-Afterwhen present and back off before retrying. Preserve the purchase ID or signed payment when retrying the same operation.
Source reviews and corrections
Each new pull uses the currently reviewed rules. Material corrections change the comparison fingerprint when they affect the result. If you find a discrepancy, send the council link, assessment version and disputed field to gm@galleonlabs.io. Omit tenant details and private documents.
Portsmouth ·
A small shared house can need an additional licence anywhere in the city. For a flat, the assessment also flags when the conversion and occupancy of the whole block need checking. Council source
Lewisham ·
The additional HMO designation covers the borough. For selective licensing, the signed designation uses ward boundaries from before May 2022. A current ward name alone leaves the address unresolved. Council source
North Northamptonshire ·
The council states that it has no additional or selective licensing scheme. The assessment checks whether the occupancy and building facts trigger mandatory HMO licensing. Council source
Milton Keynes ·
The council’s published HMO policy confirms that only mandatory licensing operates. The assessment asks for occupancy when the supplied facts cannot establish whether that duty applies. Council source
Oxford ·
Oxford’s current citywide selective designation remains in force. Cabinet approved consultation on a possible replacement. The assessment distinguishes the proposal from the licence required today. Council source
Medway ·
For three unrelated sharers in Strood North and Frindsbury, the council summary and formal notice point to different readings. The assessment flags possible selective licensing and asks for confirmation of the tenancy and designation. Council source
Brent ·
A shared home is excluded from these selective designations when it requires licensing under Part 2. The assessment checks that condition before ruling out selective licensing. Council source
Birmingham ·
The assessment checks the letting and the converted block separately. A flat can have a selective licence while the building still needs an additional licensing check. Council source
Production access
Each delivered assessment costs 10 credits (£1.60). A successful REST reference lookup costs one credit. Coverage checks and synthetic fixtures are free. In your own interface preserve the sources, attributions, dates and uncertain results.