Country Calling Codes and Telephone Number Lengths
Territory calling codes, dialing-prefix metadata and number-length ranges by service type.
Sources and dates
- Google libphonenumber contributors: retrieved metadata snapshot. Retrieved (UTC).
Contents
The download contains the populated data, a field dictionary, source metadata, reuse terms, a change log and file digests. It contains no scripts, libraries, executables or conversion tools.
Coverage
Every territory/service record and every explicit possibleLengths entry in the source metadata. Source national-number validation patterns and formatting logic are deliberately absent. No phone-number conversion or validation code is included. Shared calling codes are retained as separate territory records.
Read the data
JSON tables are arrays of records. GeoJSON files are FeatureCollections, with data fields under each feature’s properties. data-dictionary.json defines the fields, units, nulls and observed types. metadata.json supplies primary keys and source hashes. Preserve identifiers as text and distinguish missing values from zero.
Example record
This is an actual record from the data. For map layers, the example shows properties; the downloaded GeoJSON also contains the complete geometry.
{
"record_id": "AC:247",
"territory_code": "AC",
"calling_code": "247",
"main_country_for_shared_code": false,
"international_prefix_pattern": "00",
"national_prefix": null,
"preferred_international_prefix": null
}