Gibraltar Postal Code API

Look up postal codes in Gibraltar with PostalDataPI — sub-5ms responses, one API key for 240+ countries and territories.

Country Code

GI

Format

varies

Example

GX11 1AA

About Gibraltar postal codes

Gibraltar uses a UK-style postcode: GX11 1AA. As a small British Overseas Territory of just 6.7 square kilometers, a single postcode covers the entire territory. Mail is routed through the Royal Gibraltar Post Office.

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": "GX11 1AA", "country": "GI", "apiKey": "YOUR_API_KEY"}'

Python

from postaldatapi import PostalDataPI

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

$0.000028 per query

Same price for Gibraltar and all 240+ countries and territories. No tiers, no per-country pricing.

Gibraltar Postal Code API | PostalDataPI