NALENND®
North American Local Exchange NPA NXX Database™ - Platinum Edition

NALENND NPA NXX Database

The Platinum Edition is a general purpose NPA NXX database containing geographic cross referencing and basic geocoding information.

You can use this data to identify all active NPA NXX combinations at the 1,000 block level, what areas they serve, what time zone are they in and more.

This data set is suitable for applications that need to identify valid NPA NXX combinations, determine where they are and make basic geographic and demographic associations.

Produced: on or before 5th calendar day monthly
Current Release: November 3, 2024
Distribution Frequency: monthly or quarterly (issue date: January, April, July, October)
Distribution Format: Internet download

pdf file NALENND® Platinum Edition Reference Manual
zipped file NALENND® Platinum Edition Sample Data


Platinum Edition - NPA NXX Master Assignments File

FieldData TypeField Description
NPACHAR (3)Numbering Plan Area code, the first three digits of a 10 digit North American Numbering Plan (NANP) number, commonly called the Area Code.
NXXCHAR (3)Central Office Code, the first three digits following the Area Code in a 10 digit NANP number, commonly called the telephone exchange or prefix.
BLOCK_IDCHAR (1)Block identifier. Implies, represents, or identifies either the entire group of 10,000 numbers or a specific group of 1,000 numbers within the NPA NXX.
TBP_INDCHAR (1)Thousands-block pooling indicator.
LATACHAR (5)Local Access and Transport Area (LATA), or LATA-like code of the Rate Center.
LTYPECHAR (1)Identifies whether the primary use of the NPA NXX is wireless or landline based on its initial assignment.
CONTAMCHAR (1)For pooled numbers, specifies whether the thousands-block allocation is contaminated (i.e. the block contains at least one number that cannot be assigned).
STATECHAR (2)State or province postal abbreviation of the Rate Center locale.
COUNTRYCHAR (2)ISO 3166-1 Country Code of the Rate Center locale.
WCVARCHAR (128)Name of the Serving Wire Center, also referred to as the Wire Center, Central Office, or exchange. Decoded from the first 8 characters of the switch CLLI code, this field will identify at a minimum the city location of the telco switch. The Wire Center identifies where service for a particular NPA NXX originates from which may be different than the NPA NXX service area.
SWITCHCHAR (11)The Common Language® Location Identifier (CLLI) code of the telco switch serving the NPA NXX. This field is generally present for all United States and Canadian records. For NXXs in the Caribbean and Bermuda NPAs, the SWITCH field may be populated with SWCHxxUNKNO, where xx identifies one of the countries or territories in the Caribbean or Bermuda.
RCSTATUSVARCHAR (2)Specifies whether Number Pooling is required within this Rate Center. Currently applies to United States entries only.
RCTYPECHAR (1)Identifies whether the Rate Center is a zoned or non-zoned Rate Center.
RCVARCHAR (128)Full name of the geographical Rate Exchange Area, commonly referred to as the Rate Center. A Rate Center identifies the geographic area (i.e. locality, town, or city) served by a particular NPA NXX combination.
TZCHAR (2)Time zone of the Rate Center locale.
DSTCHAR (1)Single character Y/N value indicating whether daylight saving time is observed at this location.
ZIPVARCHAR (5)5-digit United States ZIP or 3-character Canadian Forward Sortation Area code for the Rate Center locale.
ZIP2VARCHAR (5)Second possible ZIP or FSA code
ZIP3VARCHAR (5)Third possible ZIP or FSA code
ZIP4VARCHAR (5)Fourth possible ZIP or FSA code
FIPSCHAR (5)United States FIPS county code or Canadian Census Division code.
FIPS2CHAR (5)Second possible FIPS or Census Division code
FIPS3CHAR (5)Third possible FIPS or Census Division code
CBSACHAR (5)United States Core Based Statistical Area (CBSA) or Canadian Census Metropolitan Area (CMA) code.
CBSA2CHAR (5)Second possible CBSA or CMA code
MSACHAR (4)Historical 4-digit Metropolitan Statistical Area (MSA) code of the MSA the Rate Center is located in. MSA codes have been replaced with the 5-digit CBSA codes.
PMSACHAR (4)Historical 4-digit Primary Metropolitan Statistical Area (PMSA) code of the PMSA the Rate Center is located in. PMSA codes have been replaced with the 5-digit CBSA code.
LATITUDEDOUBLELatitude in decimal degrees of the general NPA NXX service area.
LONGITUDEDOUBLELongitude in decimal degrees of the general NPA NXX service area.
OCN_CATEGORYCHAR (1)Identifies the general company/carrier "type" of the OCN.
OCNCHAR (4)4-character Operating Company Number (OCN) also known as a NECA Company Code, identifying the NPA NXX code-holder or block-holder.
DERIVED_FROM_NPACHAR (3)Indicates the previous NPA that existed in the area covered by a given NPA. In cases of overlays, some or all of the previous NPAs may still cover the area. The OVERLAY field should be referenced to determine how to interpret this field.
NEWNPAVARCHAR (28)Specifies the new area code to be used with the NXX or new area code(s) created in the same coverage area as the current area code. The OVERLAY field should be referenced to determine how to interpret this field.
OVERLAYCHAR (1)Single character field to determine how the DERIVED_FROM_NPA and NEWNPA fields should be interpreted.
OLSONVARCHAR (128)Internet Assigned Numbers Authority (IANA) time zone database time zone identifier or time zone name for the Rate Center geographic location. The IANA time zone database is also referred to as the tz database, the zoneinfo database, and the Olson database.
UTCCHAR (6)The standard time Coordinated Universal Time (UTC) offset at this location. Format is +\-HH:MM.
LIRVARCHAR (128)Name of Local Interconnection Region rate center is assigned to if any.

County Codes File

FieldData TypeField Description
CountyCodeCHAR (5)Five-digit U.S. FIPS county code or four-digit Statistics Canada Census Division code.
CountryCHAR (2)Two character country abbreviation
StateCHAR (2)Two character state, province, or territory abbreviation
NameVARCHAR (128)Name of the county or division
TypeVARCHAR (80)Organizational recognition of the county or division
LandAreaNUMBERCounty or Census Division land area in square miles
PopulationNUMBERUnited States - U.S. Census Bureau 2018 population estimate, Canada - Statistics Canada reported 2016 population

LATA Codes File

FieldData TypeField Description
LATANUMBER (5)The Local Access Transport Area code.
STATECHAR (2)Two character state, province, or territory abbreviation of the NPA/NXX Service Center location.
COUNTRYCHAR (2)This two character field is the ISO 3166 Country Code for LATA location
LOCATIONVARCHAR (64)Generalized name defining the LATA location

NECA OCN (Carrier) Codes File

FieldData TypeField Description
OCNCHAR (4)4-character state or regional Operating Company Number (OCN) also known as a NECA Company Code.
OVERALL_OCNCHAR (4)4-character overall Operating Company Number (OCN).
TYPEVARCHAR (8)Type of carrier or service provider
NECACHAR (1)Specifies whether the particular OCN is a National Exchange Carrier Association (NECA) member.
COMPANYVARCHAR (128)The legal or generally formal name of the service provider.
DBAVARCHAR (128)The commonly recognized business name of the service provider.
HOLDINGVARCHAR (128)The service provider holding company if any.
CommonNameVARCHAR (128)The common consumer recognized trade name of the service provider.
RuralCHAR (1)Carrier is designated a rural carrier. United States exchanges only.

Current MSA Codes File

FieldData TypeField Description
CBSACHAR (5)5-digit Core Based Statistical Area code (United States) or 3-digit Statistics Canada Census Metropolitan Area (CMA) or Census Agglomeration (CA) code (Canada).
CSACHAR (3)Three-digit Combined Statistical Area code if the CBSA is part of a larger statistical area.
AREA_NAMEVARCHAR (64)Official name of the statistical area.
STATEVARCHAR (20)Abbreviated state code(s) for the statistical area.
AREA_TYPEVARCHAR (64)Metropolitan or Micropolitan statistical area.

Historical MSA-PMSA Codes File

FieldData TypeField Description
MSANUMBER (4)4-digit code assigned by the Office of Management and Budget to the MSA or PMSA code.
TYPEVARCHAR (8)Identifies whether the code is an MSA (Metropolitan Statistical Area), PMSA (Primary Metropolitan Statistical Area), or CMSA (Consolidated Metropolitan Statistical Area).
NAMEVARCHAR (128)Official name of the MSA, PMSA or CMSA.
CMSANUMBER (2)2-digit code to identify the CMSA.
POPULATIONNUMBEREstimated year 2000 population

SQL Table Definitions


CREATE DATABASE if not exists `nalennd`;
USE `nalennd`;

DROP TABLE IF EXISTS `npanxx`;
CREATE TABLE `npanxx` 
	(
	`NPA` char(3) NOT NULL,
	`NXX` char(3) NOT NULL,
	`BLOCK_ID` char(1) NOT NULL,
	`TBP_IND` char(1) DEFAULT NULL,
	`LATA` char(5) DEFAULT NULL,
	`LTYPE` char(1) DEFAULT NULL,
	`CONTAM` char(1) DEFAULT NULL,
	`STATE` char(2) DEFAULT NULL,
	`COUNTRY` char(2) DEFAULT NULL,
	`WC` varchar(128) DEFAULT NULL,
	`SWITCH` char(11) DEFAULT NULL,
	`RCSTATUS` char(2) DEFAULT NULL,
	`RCTYPE` char(1) DEFAULT NULL,
	`RC` varchar(128) DEFAULT NULL,
	`TZ` char(2) DEFAULT NULL,
	`DST` char(1) DEFAULT NULL,
	`ZIP` varchar(7) DEFAULT NULL,
	`ZIP2` varchar(7) DEFAULT NULL,
	`ZIP3` varchar(7) DEFAULT NULL,
	`ZIP4` varchar(7) DEFAULT NULL,
	`FIPS` char(5) DEFAULT NULL,
	`FIPS2` char(5) DEFAULT NULL,
	`FIPS3` char(5) DEFAULT NULL,
	`CBSA` char(5) DEFAULT NULL,
	`CBSA2` char(5) DEFAULT NULL,
	`MSA` char(4) DEFAULT NULL,
	`PMSA` char(4) DEFAULT NULL,
	`LATITUDE` double NOT NULL DEFAULT '0',
	`LONGITUDE` double NOT NULL DEFAULT '0',
	`OCN_CATEGORY` char(1) DEFAULT NULL,
	`OCN` char(4) DEFAULT NULL,
	`DERIVED_FROM_NPA` char(3) DEFAULT NULL,
	`NEWNPA` varchar(35) DEFAULT NULL,
	`OVERLAY` char(1) DEFAULT NULL,
	`OLSON` varchar(128) DEFAULT NULL,
	`UTC` char(6) DEFAULT NULL,
	`LIR` varchar(128) DEFAULT NULL,
	PRIMARY KEY (`NPA`,`NXX`,`BLOCK_ID`)
	) 
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `msa`;
CREATE TABLE `msa` 
	(
	`MSA` CHAR(4) NOT NULL,
	`TYPE` VARCHAR(8) DEFAULT NULL,
	`NAME` VARCHAR(128) DEFAULT NULL,
	`CMSA` CHAR(2) DEFAULT NULL,
	`POPULATION` INT DEFAULT NULL,
	PRIMARY KEY (`MSA`)
	) 
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `lata`;
CREATE TABLE `lata` 
	(
	`LATA` CHAR(5) NOT NULL,
	`STATE` CHAR(2) DEFAULT NULL,
	`COUNTRY` CHAR(2) DEFAULT NULL,
	`LOCATION` VARCHAR(64) DEFAULT NULL,
	PRIMARY KEY (`LATA`)
	) 
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `county`;
CREATE TABLE `county` 
	(
	`CountyCode` CHAR(5) NOT NULL,
	`Country` CHAR(2) DEFAULT NULL,
	`State` CHAR(2) DEFAULT NULL,
	`Name` VARCHAR(128) DEFAULT NULL,
	`Type` VARCHAR(80) DEFAULT NULL,
	`LandArea` INT(11) DEFAULT NULL,
	`Population` INT(11) DEFAULT NULL,
	PRIMARY KEY (`CountyCode`)
	) 
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `cbsa`;
CREATE TABLE `cbsa` 
	(
	`CBSA` CHAR(5) NOT NULL,
	`CSA` CHAR(3) DEFAULT NULL,
	`AREA_NAME` VARCHAR(128) DEFAULT NULL,
	`STATE` VARCHAR(20) DEFAULT NULL,
	`AREA_TYPE` VARCHAR(128) DEFAULT NULL,
	PRIMARY KEY (`CBSA`)
	) 
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `ocn`;
CREATE TABLE `ocn`
	(
	`OCN` CHAR(4) NOT NULL,
	`OVERALL_OCN` CHAR(4) default NULL,
	`TYPE` VARCHAR(8) default NULL,
	`NECA` CHAR(1) default NULL,
	`COMPANY` VARCHAR(128) default NULL,
	`DBA` VARCHAR(128) default NULL,
	`HOLDING` VARCHAR(128) default NULL,
	`CommonName` VARCHAR(128) DEFAULT NULL,
	PRIMARY KEY (`OCN`)
	)
ENGINE=MyISAM DEFAULT CHARSET=utf8;