{
  "url": "https://phonelookup.dev/country/cr",
  "iso": "CR",
  "slug": "cr",
  "name": "Costa Rica",
  "callingCode": 506,
  "exitCode": "00",
  "preferredExitCode": "",
  "trunkPrefix": "",
  "mobilePortable": false,
  "mobileStarts": [
    "3",
    "5",
    "6",
    "7",
    "8"
  ],
  "lineTypes": [
    {
      "type": "mobile",
      "label": "Mobile",
      "regex": "(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "8312 3456",
      "exampleInternational": "+506 8312 3456",
      "exampleE164": "+50683123456"
    },
    {
      "type": "fixedLine",
      "label": "Fixed line",
      "regex": "210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "2212 3456",
      "exampleInternational": "+506 2212 3456",
      "exampleE164": "+50622123456"
    },
    {
      "type": "tollFree",
      "label": "Toll-free",
      "regex": "800\\d{7}",
      "lengths": [
        10
      ],
      "localOnlyLengths": [],
      "exampleNational": "800-123-4567",
      "exampleInternational": "+506 800-123-4567",
      "exampleE164": "+5068001234567"
    },
    {
      "type": "voip",
      "label": "VoIP",
      "regex": "(?:210[0-6]|4\\d{3}|5100)\\d{4}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "4000 1234",
      "exampleInternational": "+506 4000 1234",
      "exampleE164": "+50640001234"
    },
    {
      "type": "premiumRate",
      "label": "Premium-rate",
      "regex": "90[059]\\d{7}",
      "lengths": [
        10
      ],
      "localOnlyLengths": [],
      "exampleNational": "900-123-4567",
      "exampleInternational": "+506 900-123-4567",
      "exampleE164": "+5069001234567"
    }
  ],
  "formats": {
    "e164": "+50683123456",
    "international": "+506 8312 3456",
    "national": "8312 3456",
    "rfc3966": "tel:+506-8312-3456"
  },
  "carriers": [
    {
      "name": "Claro",
      "lineType": "mobile",
      "prefixCount": 27,
      "ranges": [
        "71–72",
        "701–709",
        "7000",
        "7002–7009",
        "7300–7301",
        "70010–70014"
      ]
    },
    {
      "name": "Kolbi ICE",
      "lineType": "mobile",
      "prefixCount": 9,
      "ranges": [
        "50",
        "57",
        "83–89"
      ]
    },
    {
      "name": "Movistar",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "6"
      ]
    }
  ],
  "sandbox": {
    "input": "+50683123456",
    "valid": true,
    "type": "Mobile",
    "carrier": "Kolbi ICE",
    "region": "CR",
    "formats": {
      "e164": "+50683123456",
      "international": "+506 8312 3456",
      "national": "8312 3456",
      "rfc3966": "tel:+506-8312-3456"
    },
    "parts": {
      "countryCode": "+506",
      "destinationCode": "8312",
      "destinationKind": "network code",
      "subscriber": "3456"
    }
  },
  "faq": [
    {
      "question": "How many digits does a phone number in Costa Rica have?",
      "answer": "Mobile numbers have 8 national digits. Fixed line numbers have 8 national digits. That is the national number, without the country code +506."
    },
    {
      "question": "What is the country code for Costa Rica?",
      "answer": "+506. From abroad, dial your own exit code, then 506, then the national number. From inside Costa Rica, the exit code for international calls is 00."
    },
    {
      "question": "Which prefixes are mobile numbers in Costa Rica?",
      "answer": "Mobile numbers start with 3, 5, 6, 7 or 8 in national form; the mobile regular expression on this page gives the exact ranges (example: 8312 3456). The carrier table shows which prefix blocks were allocated to which operator."
    },
    {
      "question": "Can a mobile number in Costa Rica be ported to another carrier?",
      "answer": "Not on record. The plan data this page is built from does not list mobile number portability for Costa Rica, so the carrier a prefix was allocated to is likely, not certainly, the carrier serving the number. Only a live carrier lookup (an HLR or MNP query) confirms it."
    }
  ],
  "meta": {
    "dataAsOf": "2026-10-25",
    "dataPoints": 22,
    "references": [
      {
        "authority": "ITU",
        "title": "National numbering plan: Costa Rica",
        "url": "https://www.itu.int/oth/T0202000030/en"
      }
    ]
  },
  "neighbours": [
    "https://phonelookup.dev/country/ni.json",
    "https://phonelookup.dev/country/pa.json",
    "https://phonelookup.dev/country/hn.json",
    "https://phonelookup.dev/country/pm.json",
    "https://phonelookup.dev/country/ht.json",
    "https://phonelookup.dev/country/sv.json",
    "https://phonelookup.dev/country/gt.json",
    "https://phonelookup.dev/country/bz.json",
    "https://phonelookup.dev/country/fk.json",
    "https://phonelookup.dev/country/gp.json",
    "https://phonelookup.dev/country/bo.json",
    "https://phonelookup.dev/country/gy.json"
  ]
}
