{
  "url": "https://phonelookup.dev/country/lv",
  "iso": "LV",
  "slug": "lv",
  "name": "Latvia",
  "callingCode": 371,
  "exitCode": "00",
  "preferredExitCode": "",
  "trunkPrefix": "",
  "mobilePortable": true,
  "mobileStarts": [
    "2"
  ],
  "lineTypes": [
    {
      "type": "mobile",
      "label": "Mobile",
      "regex": "2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "21 234 567",
      "exampleInternational": "+371 21 234 567",
      "exampleE164": "+37121234567"
    },
    {
      "type": "fixedLine",
      "label": "Fixed line",
      "regex": "6\\d{7}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "63 123 456",
      "exampleInternational": "+371 63 123 456",
      "exampleE164": "+37163123456"
    },
    {
      "type": "tollFree",
      "label": "Toll-free",
      "regex": "80\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "80 123 456",
      "exampleInternational": "+371 80 123 456",
      "exampleE164": "+37180123456"
    },
    {
      "type": "sharedCost",
      "label": "Shared cost",
      "regex": "81\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "81 123 456",
      "exampleInternational": "+371 81 123 456",
      "exampleE164": "+37181123456"
    },
    {
      "type": "premiumRate",
      "label": "Premium-rate",
      "regex": "90\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "90 123 456",
      "exampleInternational": "+371 90 123 456",
      "exampleE164": "+37190123456"
    }
  ],
  "formats": {
    "e164": "+37121234567",
    "international": "+371 21 234 567",
    "national": "21 234 567",
    "rfc3966": "tel:+371-21-234-567"
  },
  "carriers": [
    {
      "name": "Bite Latvia",
      "lineType": "mobile",
      "prefixCount": 84,
      "ranges": [
        "21",
        "201",
        "206–208",
        "221–222",
        "225",
        "230",
        "251",
        "255",
        "274–275",
        "277",
        "2205–2209",
        "2239",
        "2272",
        "2280–2284",
        "2311",
        "2317",
        "2320",
        "2322",
        "2327",
        "2330",
        "2337",
        "2347",
        "2355",
        "2357",
        "2366",
        "2377",
        "2388",
        "2399–2400",
        "2411",
        "2420",
        "2422",
        "2424",
        "2433",
        "2440",
        "2442",
        "2450",
        "2455",
        "2460",
        "2466",
        "2477",
        "2488",
        "2499–2500",
        "2585–2588",
        "2720–2725",
        "2727",
        "2760–2767",
        "2792",
        "2799",
        "2855",
        "2900",
        "2902",
        "23100",
        "23400",
        "23444",
        "23500"
      ]
    },
    {
      "name": "Tele2",
      "lineType": "mobile",
      "prefixCount": 46,
      "ranges": [
        "200",
        "203–205",
        "223",
        "248–249",
        "252–253",
        "259–260",
        "267–271",
        "281–282",
        "288–289",
        "295–299",
        "2018",
        "2089",
        "2091–2093",
        "2095–2097",
        "2267",
        "2323",
        "2333",
        "2478–2479",
        "2726",
        "2844–2848",
        "23402",
        "23456"
      ]
    },
    {
      "name": "LMT",
      "lineType": "mobile",
      "prefixCount": 40,
      "ranges": [
        "26",
        "202",
        "224",
        "254",
        "256–257",
        "273",
        "278",
        "280",
        "283",
        "286–287",
        "291–294",
        "2200–2204",
        "2266",
        "2277",
        "2288",
        "2299",
        "2328",
        "2380–2384",
        "2444",
        "2556–2559",
        "2729",
        "2777",
        "2790",
        "2849"
      ]
    },
    {
      "name": "Triatel",
      "lineType": "mobile",
      "prefixCount": 4,
      "ranges": [
        "258",
        "2094",
        "2286–2287"
      ]
    },
    {
      "name": "UNISTARS",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "2285"
      ]
    }
  ],
  "sandbox": {
    "input": "+37121234567",
    "valid": true,
    "type": "Mobile",
    "carrier": "Bite Latvia",
    "region": "LV",
    "formats": {
      "e164": "+37121234567",
      "international": "+371 21 234 567",
      "national": "21 234 567",
      "rfc3966": "tel:+371-21-234-567"
    },
    "parts": {
      "countryCode": "+371",
      "destinationCode": "21",
      "destinationKind": "network code",
      "subscriber": "234567"
    }
  },
  "faq": [
    {
      "question": "How many digits does a phone number in Latvia have?",
      "answer": "Mobile numbers have 8 national digits. Fixed line numbers have 8 national digits. That is the national number, without the country code +371."
    },
    {
      "question": "What is the country code for Latvia?",
      "answer": "+371. From abroad, dial your own exit code, then 371, then the national number. From inside Latvia, the exit code for international calls is 00."
    },
    {
      "question": "Which prefixes are mobile numbers in Latvia?",
      "answer": "Mobile numbers start with 2 in national form; the mobile regular expression on this page gives the exact ranges (example: 21 234 567). The carrier table shows which prefix blocks were allocated to which operator."
    },
    {
      "question": "Can a mobile number in Latvia be ported to another carrier?",
      "answer": "Yes. Latvia has mobile number portability, so a prefix tells you the carrier a number was originally allocated to, not necessarily the one serving it today. Only a live carrier lookup (an HLR or MNP query) answers that."
    }
  ],
  "meta": {
    "dataAsOf": "2026-10-25",
    "dataPoints": 24,
    "references": [
      {
        "authority": "ITU",
        "title": "National numbering plan: Latvia",
        "url": "https://www.itu.int/oth/T0202000076/en"
      }
    ]
  },
  "neighbours": [
    "https://phonelookup.dev/country/ee.json",
    "https://phonelookup.dev/country/lt.json",
    "https://phonelookup.dev/country/md.json",
    "https://phonelookup.dev/country/am.json",
    "https://phonelookup.dev/country/by.json",
    "https://phonelookup.dev/country/ad.json",
    "https://phonelookup.dev/country/mc.json",
    "https://phonelookup.dev/country/sm.json",
    "https://phonelookup.dev/country/ua.json",
    "https://phonelookup.dev/country/rs.json",
    "https://phonelookup.dev/country/me.json",
    "https://phonelookup.dev/country/bg.json"
  ]
}
