API documentation

Rental market data API: UK rents by area for developers

Lettance’s rental market data API returns average private rents and sale price figures by postcode across England’s 296 councils. Developers and agents can call GET /api/v1/area-market or the area_market tool at https://lettance.com/mcp. A lookup costs one credit (16p) when data is returned and costs nothing when both rent and sale figures are unavailable.

Look up market data with REST

Send a full English postcode with a production bearer key that has data:read and a unique Idempotency-Key. Set LETTANCE_KEY on your server and reuse the same request key for an identical retry.

Read area market data with REST
export AREA_MARKET_REST_ID="${AREA_MARKET_REST_ID:-$(uuidgen)}"
curl -isS --fail-with-body 'https://lettance.com/api/v1/area-market?postcode=SE15%205BA' \
  -H "Authorization: Bearer ${LETTANCE_KEY:?Set your production project key}" \
  -H "Idempotency-Key: ${AREA_MARKET_REST_ID:?Set a unique purchase ID}"

The dated snapshot includes the Office for National Statistics average monthly private rent for the local authority, with a bedroom breakdown and annual change, and the HM Land Registry median sale price and sales count for the postcode district. Keep the source, observation period and attribution with each figure. The figures describe areas and cannot value an individual home.

Check official observation periods and freshness with the free GET /api/v1/coverage report.

Read the same figures with MCP

area_market is an extended tool on /mcp and follows the same pricing rule as REST. Use a production data:read key as below or an OAuth connection with credits:spend. Send a fresh requestId UUID for each purchase and reuse it for an identical retry.

Read area market data with MCP
export AREA_MARKET_MCP_ID="${AREA_MARKET_MCP_ID:-$(uuidgen)}"
curl https://lettance.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  -H "Authorization: Bearer ${LETTANCE_KEY:?Set your production project key}" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"area_market","arguments":{"postcode":"SE15 5BA","requestId":"'"$AREA_MARKET_MCP_ID"'"}}}'

Prepaid packs are 10 credits for £1.60 or 50 credits for £8.00. Custom amounts use the same unit price.

Compare two to four postcodes

Use GET /api/v1/compare with a repeated postcode parameter, or call compare_addresses on MCP with a postcodes array. The comparison includes licensing context and market figures side by side. It costs one credit if at least one postcode returns data. If none does, there is no charge.