REST API
UK property intelligence,
with receipts.
8 endpoints across 4 categories. Every field tagged with its source and a confidence score. Bearer-auth, per-call credits, OpenAPI documented.
4 live · 4 coming soon
Categories
Start with the data shape you need.
Address
Resolve UK addresses to UPRN. Autocomplete on type. Look up by postcode.
Address autocomplete
GET /v1/address/autocompleteFree typeahead — partial address in, ranked candidates out. Use the resolve endpoint to pin to a UPRN.
Address resolve
POST /v1/address/resolveFree-text address → canonical UPRN-keyed record. Returns a list of candidates with similarity scores.
Lookup by UPRN
GET /v1/address/uprn/{uprn}Fetch the canonical address record for a known UPRN. Same shape as `/resolve`, no fuzzy matching.
Addresses at a postcode
GET /v1/address/postcode/{postcode}All addresses (UPRN + structured fields) at a given UK postcode.
Property Intelligence
A single property record reconciled from HMLR, EPC, Rightmove and OS — every field tagged with its source and a confidence score.
Property lookup by UPRN
GET /v1/property/{uprn}300+ fields per property — physical attributes, EPC, beds/baths, year built, tenure, asset class — each tagged with source (epc / rightmove / ngd / imputed) and confidence (0.0–1.0).
Feature reconciliation
GET /v1/property/{uprn}/reconcileCross-source divergence flags — where EPC says 3 beds and Rightmove says 4, or floor area differs >10% between sources. Returns reconciled value + per-source list.
Market Facts
Pre-cubed rents, yields, prices and growth at postcode, LSOA, ward, LAD and h3 grain. Sliced by asset class, bedroom band, period.
Market facts query
POST /v1/market/factsQuery the area_facts cube: pick a geography (postcode / LSOA / ward / LAD / h3 cell), asset class, bedroom band and period — get back sales_price, price_psm, rental_value, gross_yield, days_on_market.
Transactions
UPRN-matched HMLR Price Paid. Raw HMLR is free; our match work makes it joinable.
Transactions by UPRN
GET /v1/transactions/uprn/{uprn}All HMLR Price Paid records for a UPRN. Returns price, date, transfer duration, old-or-new, ppd_category_type.
Authentication
Bearer token. Standard headers.
curl https://api.marketcode.ai/v1/address/postcode/SW1A1AA \ -H "Authorization: Bearer $MARKETCODE_API_KEY"
Sign up at api-hub.marketcode.ai to mint a key and start calling. First 100 credits free; address autocomplete is always free.
Same surface, inside your AI assistant.
Every endpoint above is also exposed as an MCP tool with the same credit cost. One Bearer token, two surfaces.
MarketCode MCPPilot the API on a real use case.
30-minute call. We'll match your volume to the right pricing tier and provision a key.