API documentation
How requests, keys, credits and errors are planned to work.
The API is not live. Nothing on this page can be called yet, and details may change.
Getting started
Every endpoint is a web address you request with GET. Replies are JSON and always carry a status field.
curl "https://api.example/sold-prices?postcode=AB1+2CD" \ -H "Authorization: Bearer YOUR_KEY"
The address above is a stand-in. The real one will be published when the API opens.
Signing requests
Each account has an API key. Send it in the Authorization header as a bearer token. Keep keys on your server: a key placed in a web page can be copied by anyone who views it.
Credits
Requests are paid for in credits. Most use one credit; a few heavier ones use more, and each endpoint page will say how many. You are charged only when a request succeeds, or when it correctly reports that there is no data. Failed and rate-limited requests cost nothing.
Charged
A request that succeeds, or correctly reports no data.
Not charged
A request that fails or is rate-limited.
Rate limits
Each plan allows a set number of requests every 30 seconds, counted across all keys on the account. If you go over, the reply has status 429 and a Retry-After header saying how long to wait.
Errors
An error reply carries a short code that never changes and a message for people. Write your code against the code, not the message.
{
"status": "error",
"code": "X01",
"message": "The postcode was not recognised."
}Endpoints
Planned endpoints, grouped by theme. Each will have its own page with inputs and an example reply.
Address and identity
- Match an address to its property number
- Property profile
- Properties in a postcode
Property and buildings
- Building outlines
- Energy rating
- Floor area
Market prices
- Sold prices
- Price per square foot
- Price growth
- Sale valuation
Rental market
- Rents
- Yields
- Rent valuation
Planning and constraints
- Planning applications
- Flood risk
- Conservation areas
- Listed buildings
Land and ownership
- Title boundaries
- Titles by company
Area
- Population
- Housing stock
- Council tax
Tools
- Stamp duty
- Mortgage payments
Account
- Credits remaining