CRNorth America · Central America

Costa Rica Address Validation API

Validate and standardise Costa Rica addresses in real time. Get a matched address, geocoordinates, confidence score, and Código Postal data via a single API call.

NNNNN
Código Postal
OpenStreetMap
Data Source
Spanish
Languages
HIGH
Max Confidence

Costa Rica Address Validation Demo

Confidence:HIGH
POST /enrich — ResponseSample
{
  "_note": "Sample response — enter any address and click Validate for live data",
  "valid": true,
  "canonical_address": "Barrio Escalante, San Pedro, San José 10201",
  "confidence": "HIGH",
  "delivery_risk": "low",
  "matched_address": {
    "line1": "Barrio Escalante",
    "city": "San",
    "postal_code": "San José 10201",
    "country": "Costa Rica",
    "iso2": "CR"
  },
  "geocode": {
    "lat": 0,
    "lng": 0
  },
  "data_source": "OpenStreetMap",
  "issues": []
}

Costa Rica Address Format

Province, canton, district, neighbourhood, street description, 5-digit postal code.

Postal Code Name
Código Postal
Format
NNNNN
Official Languages
Spanish
Sample address:
Barrio Escalante, San Pedro, San José 10201
Major cities:
San JoséAlajuelaDesamparadosHerediaCartago

Integration Code

curl -X POST https://agent.apitier.com/v1/enrich \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{"address": "Barrio Escalante, San Pedro, San José 10201"}'

Frequently Asked Questions

What address format does Costa Rica use?
Province, canton, district, neighbourhood, street description, 5-digit postal code.
What is a Código Postal in Costa Rica?
Costa Rica uses a Código Postal with the format NNNNN to identify delivery areas. The APITier Address Agent API validates and standardises addresses including the Código Postal as part of the response.
How do I validate a Costa Rica address via API?
Send a POST request to https://agent.apitier.com/v1/enrich with your address string in the request body and your API key in the x-api-key header. The response includes the standardised Costa Rica address, geocoordinates (lat/lng), a confidence score (HIGH/MEDIUM/LOW), and data source information.

More North America Countries

Ready to validate Costa Rica addresses at scale?

The APITier Address Agent API handles address validation across 120+ countries. Free trial — 20 requests, no credit card required.