Western Sahara Postal Code API
Look up postal codes in Western Sahara with PostalDataPI — sub-5ms responses, one API key for 240+ countries.
Country Code
EH
Format
N/A
Example
N/A
About Western Sahara postal codes
Western Sahara uses Moroccan postal codes in areas under Moroccan administration. PostalDataPI coverage follows the Moroccan system.
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": "N/A", "country": "EH", "apiKey": "YOUR_API_KEY"}'Python
from postaldatapi import PostalDataPI
client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("N/A", country="EH")
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('N/A', { country: 'EH' });
console.log(result.placeName, result.latitude, result.longitude);$0.000028 per query
Same price for Western Sahara and all 240+ countries. No tiers, no per-country pricing.