OpenAPI Spec (preview)
openapi: 3.1.0
info:
version: 3.5.1
license:
name: MIT
url: https://opensource.org/licenses/MIT
title: API Reference - Postcodes.io
termsOfService: https://postcodes.io/docs/licenses
description: |
Postcodes.io is a free postcode lookup API and geocoder for the UK.
## Endpoint
All services can be accessed from the following endpoint.
```
https://api.postcodes.io
```
The API accepts GET and POST requests. POST methods use content type `application