About the API:
Be able to access Postcode Addresses Files from the Royal Mail with this API. Just with the Postal Code you will be able to make reverse geocoding in the UK.
Pass the Post Code of your choice, and receive information like district, geocode, and Post Code Addresses.
This API is useful for those apps and website that needs to implement a Post Code Lookup integration.
Be able to verify the location of your users when creating a checkout integration.
Recognize their location with this API. And create a validation for payment checkouts.
Besides API call limitations per month, there are no other limitations.
{"status":200,"result":{"postcode":"SW1A 1AA","quality":1,"eastings":529090,"northings":179645,"country":"England","nhs_ha":"London","longitude":-0.141588,"latitude":51.501009,"european_electoral_region":"London","primary_care_trust":"Westminster","region":"London","lsoa":"Westminster 018C","msoa":"Westminster 018","incode":"1AA","outcode":"SW1A","parliamentary_constituency":"Cities of London and Westminster","parliamentary_constituency_2024":"Cities of London and Westminster","admin_district":"Westminster","parish":"Westminster, unparished area","admin_county":null,"date_of_introduction":"198001","admin_ward":"St James's","ced":null,"ccg":"NHS North West London","nuts":"Westminster","pfa":"Metropolitan Police","codes":{"admin_district":"E09000033","admin_county":"E99999999","admin_ward":"E05013806","parish":"E43000236","parliamentary_constituency":"E14001172","parliamentary_constituency_2024":"E14001172","ccg":"E38000256","ccg_id":"W2U3Z","ced":"E99999999","nuts":"TLI32","lsoa":"E01004736","msoa":"E02000977","lau2":"E09000033","pfa":"E23000001"}}}
curl --location --request GET 'https://zylalabs.com/api/759/uk+post+code+api/481/post+code+lookup&postcode=Required' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Post Code Lookup endpoint returns detailed information about a specific UK postcode, including geographic coordinates, administrative district, region, and various identifiers like NHS health authority and parliamentary constituency.
Key fields in the response include "postcode," "country," "longitude," "latitude," "admin_district," "region," and "parliamentary_constituency." These fields provide essential location and administrative details.
The response data is structured in JSON format, with a "status" field indicating the request outcome and a "result" object containing detailed postcode information, organized into key-value pairs for easy access.
The endpoint provides information such as geographic coordinates, administrative boundaries, health authorities, and electoral regions, enabling users to understand the location context of a postcode.
Users can customize requests by specifying different UK postcodes in the API call. Each postcode will return unique data related to that specific location, allowing for targeted lookups.
The data is sourced from the Royal Mail's Postcode Addresses File, ensuring high accuracy and reliability for UK postcode information, as it is maintained by the official postal service.
Data accuracy is maintained through regular updates from the Royal Mail, which ensures that the postcode information reflects current geographical and administrative changes in the UK.
Typical use cases include validating user addresses during checkout processes, enhancing location-based services, and integrating postcode lookup features in applications for improved user experience.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
267ms
Service Level:
100%
Response Time:
6,153ms
Service Level:
100%
Response Time:
332ms
Service Level:
100%
Response Time:
568ms
Service Level:
100%
Response Time:
1,775ms
Service Level:
100%
Response Time:
337ms
Service Level:
100%
Response Time:
355ms
Service Level:
100%
Response Time:
604ms
Service Level:
100%
Response Time:
2,081ms
Service Level:
100%
Response Time:
275ms
Service Level:
100%
Response Time:
50ms
Service Level:
100%
Response Time:
113ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
11ms
Service Level:
100%
Response Time:
45ms
Service Level:
100%
Response Time:
32ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
89ms
Service Level:
100%
Response Time:
69ms
Service Level:
100%
Response Time:
181ms