Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: PropertyData Area Type API
description: 'Comprehensive UK property market data API. Provides prices, rents, sold prices, crime statistics, flood risk, planning applications, and much more. Note: This schema includes our 30 most popular endpoints. For access to all endpoints, use the API directly or our MCP Server. Most endpoints cost 1 credit per call; each operation''s description notes its cost. Full documentation for all endpoints, including credit costs and error codes: https://propertydata.co.uk/api/markdown (see also https://propertydata.co.uk/llms.txt).'
version: 1.0.0
servers:
- url: https://api.propertydata.co.uk
security:
- BearerAuth: []
tags:
- name: Area Type
paths:
/area-type:
get:
operationId: getAreaType
summary: Determine area type (rural or urban)
description: Costs 1 credit per call.
parameters:
- name: postcode
in: query
description: UK postcode
schema:
type: string
- name: town
in: query
description: UK town name
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
status:
type: string
postcode:
type: string
postcode_type:
type: string
area_type:
type: string
process_time:
type: string
description: Server processing time in seconds
4XX:
$ref: '#/components/responses/Error'
tags:
- Area Type
components:
schemas:
ErrorResponse:
type: object
properties:
status:
type: string
enum:
- error
code:
type: string
description: PropertyData error code, e.g. X02
message:
type: string
documentation_url:
type: string
description: The error reference entry for this code. Branch on code, not on message text
process_time:
type: string
upgrade_url:
type: string
description: 'On a credit limit error (X04, X13): where to get more credits'
responses:
Error:
description: 'Error response. Common codes: X02 missing key (400), X03 invalid key (422), X04 credit limit exceeded (403), X06/X07 missing or invalid location input (400/422), X08 insufficient data for location (404), X13 free trial limit exceeded (403), X14 rate limited (429), X20 server busy, retry after 60 seconds (503).'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
securitySchemes:
BearerAuth:
type: http
scheme: bearer