Validate UK Postcodes API
Validate a UK postcode from your code and get a true or false back in one request. Built for checkout, signup and address cleanup. Free tier, no card. The UK…
Developer tools#data-validation
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Validate a UK postcode from your code and get a true or false back in one request. Built for checkout, signup and address cleanup. Free tier, no card.
The UK Postcode Validation API checks whether a UK postcode is real. Send a postcode and get back true or false. Spaces are ignored, so YO17 6DU and YO176DU both work.
Use it to stop bad addresses at the point of entry. Checkout forms. Signup flows. CRM imports. Cleaning up an address list you inherited. Catching a typo before a parcel ships saves a failed delivery and a support ticket.
Authenticate every request with your ApyHub token in the apy-token header. Documentation: https://apyhub.com/utility/data-postcodes-uk
Endpoints 1
- POSTValidate UK postcode
/apyhub/validate-uk-postcodeCheck whether a UK postcode exists by sending the postcode in a JSON body.
API details
- Base URL
https://api.eu.apyhub.com- Authentication
- An API key in the apy-token header
- Operations
- 1 operation on 1 pathPOST 1
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
1.0.0 - Links
- Documentation · OpenAPI document
How to test the Validate UK Postcodes API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Validate UK Postcodes API collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the apy-token header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Validate UK postcode” (POST /apyhub/validate-uk-postcode), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Validate UK Postcodes API?
Validate a UK postcode from your code and get a true or false back in one request. Built for checkout, signup and address cleanup. Free tier, no card. The UK… It is listed under Developer tools and has 1 endpoint.
Who publishes the Validate UK Postcodes API?
It is listed from ApyHub's public API description (an OpenAPI document), not published by ApyHub on Swastik Codes. Anyone who controls apyhub.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Validate UK Postcodes API?
Requests go to https://api.eu.apyhub.com. Endpoint paths are added to this base URL.
How do I authenticate with the Validate UK Postcodes API?
With an API key in the apy-token header.
How many endpoints does the Validate UK Postcodes API have?
1 operation on 1 path (1 POST).
Is forking the Validate UK Postcodes API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.