Location intelligence
IMD API: Index of Multiple Deprivation by Postcode
Retrieve deprivation ranks, deciles, scores and domain breakdowns for a full postcode in England, Wales or Scotland, with local authority context. English postcodes use the English Indices of Deprivation 2025, Welsh postcodes the Welsh Index of Multiple Deprivation 2025 and Scottish postcodes the Scottish Index of Multiple Deprivation 2020v2. Ranks and deciles are relative within each nation and cannot be compared across nations.
IMD API endpoint
/api/v1/area/deprivationBilling details in the response
Successful chargeable JSON responses include a top-level billing object. The endpoint examples on this page focus on the endpoint-specific data, so this repeated block may not be shown in every example.
"billing": {
"mode": "prepaid",
"creditsCharged": 1,
"creditsRemaining": 1999,
"creditsRefreshAt": "2026-08-14T09:30:00.000Z"
}| Field or header | Meaning |
|---|---|
| billing.creditsCharged X-Credits-Charged | Credits charged by this call. Failed and non-chargeable calls return 0 in the header. |
| billing.creditsRemaining X-Credits-Remaining | The credit balance after the call. |
| billing.creditsRefreshAt X-Credits-Refresh-At | The next monthly credit refresh as an ISO 8601 timestamp. Trial and non-renewing balances return null and omit the header. |
All authenticated API-key calls expose the billing headers, including validation errors and zero-credit status or management requests. Only successful chargeable JSON responses add the billing object to the response body.
When credits run out
If your balance is lower than the cost of a request, the API returns HTTP 402 and charges nothing. The error includes the credits needed, your balance and a link to change plan.
{
"statusCode": 402,
"statusMessage": "Payment Required",
"data": {
"success": false,
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 35 API credits. Upgrade your plan or wait for your monthly refresh: https://propertyinsights.co.uk/billing",
"required": 35,
"available": 12,
"upgradeUrl": "https://propertyinsights.co.uk/billing"
}
}
}IMD API parameters
| Name | Required | Type | Description |
|---|---|---|---|
| postcode | Yes | string | Full postcode in England, Wales or Scotland. |
Source and coverage
- Source
- English Indices of Deprivation 2025 (MHCLG), Welsh Index of Multiple Deprivation 2025 (Welsh Government), Scottish Index of Multiple Deprivation 2020v2 (Scottish Government)
- Coverage
- England and Wales at LSOA 2021 level, Scotland at 2011 data zone level
Example request
curl -X GET "https://propertyinsights.co.uk/api/v1/area/deprivation?postcode=S11%208YL" \
-H "x-api-key: YOUR_API_KEY"Example response
{
"success": true,
"data": {
"postcode": "S11 8YL",
"index": "english-iod-2025",
"lsoa": {
"code": "E01008049",
"name": "Sheffield 050D"
},
"overall": {
"score": 12.4,
"rank": 26750,
"decile": 8
},
"domains": {
"income": {
"score": 0.08,
"rank": 27110,
"decile": 9
}
}
}
}OpenAPI specification
Authentication, parameters, billing headers and response schemas are also published in the machine-readable OpenAPI documents in JSON and YAML.