Peru Postal Code API

Look up codigo postals in Peru with PostalDataPI — sub-10ms responses, one API key for 70+ countries.

Country Code

PE

Format

NNNNN

Example

15001

About Peru codigo postals

Peru uses 5-digit postal codes. Lima codes start with 15.

Local term: codigo postal | Regex pattern: ^\d{5}$

API Usage Examples

cURL

curl -X POST https://postaldatapi.com/api/lookup \
  -H "Content-Type: application/json" \
  -d '{"zipcode": "15001", "country": "PE", "apiKey": "YOUR_API_KEY"}'

Python

from postaldatapi import PostalDataPI

client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("15001", country="PE")
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('15001', { country: 'PE' });
console.log(result.placeName, result.latitude, result.longitude);

$0.000028 per query

Same price for Peru and all 70+ countries. No tiers, no per-country pricing.

Peru Postal Code API | PostalDataPI