Cuba Postal Code API
Look up postal codes in Cuba with PostalDataPI — sub-5ms responses, one API key for 240+ countries and territories.
Country Code
CU
Format
varies
Example
# 255
About Cuba postal codes
Cuba uses 5-digit postal codes (codigo postal) managed by Correos de Cuba. The first two digits indicate the province: 10 for Havana, 60 for Santiago de Cuba. Despite limited internet infrastructure, postal codes remain essential for addressing across the island's 15 provinces.
Local term: postal code | Regex pattern: ^.+$
API Usage Examples
cURL
curl -X POST https://postaldatapi.com/api/lookup \
-H "Content-Type: application/json" \
-d '{"zipcode": "# 255", "country": "CU", "apiKey": "YOUR_API_KEY"}'Python
from postaldatapi import PostalDataPI
client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("# 255", country="CU")
print(result.place_name, result.latitude, result.longitude)Node.js
import { PostalDataPI } from 'postaldatapi';
const client = new PostalDataPI({ apiKey: 'YOUR_API_KEY' });
const result = await client.lookup('# 255', { country: 'CU' });
console.log(result.placeName, result.latitude, result.longitude);$0.000028 per query
Same price for Cuba and all 240+ countries and territories. No tiers, no per-country pricing.