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

NALENND NPA NXX Database

The Wire Center Edition gives you a total picture of the North American Public Switched Telephone Network (PSTN). You can use this data to identify all active NPA NXX combinations, what areas they serve, where the service comes from, and who provides it.

This data set contains a wealth of telecom information. It is suitable for any application requiring the LATA, switch CLLI code, serving wire center, Rate Center, carrier, and other data associated with a particular NPA NXX combination.

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® Wire Center Edition Reference Manual
zipped file NALENND® Wire Center Edition Sample Data


Wire Center 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.
WCVINTEGERThe four or five digit V&H coordinate system vertical coordinate of the wire center.
WCHINTEGERThe four or five digit V&H coordinate system horizontal coordinate of the wire center.
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.
RCCHAR (10)Industry standard Rate Center Name Abbreviation.
RCVINTEGERThe four or five digit V&H coordinate system vertical coordinate of the Rate Center.
RCHINTEGERThe four or five digit V&H coordinate system horizontal coordinate of the Rate Center.
RCLONGVARCHAR (128)Full name of the geographical Rate Exchange Area, commonly referred to as the Rate Center. A Rate Exchange Area 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.
DISCONNECTCHAR (1)Single character field specifying the exchange has been or will be disconnected on the specified effective date.
ADATEDATEEight-digit date the block was assigned. Formatted as four-digit year, two-digit month, two-digit day of month.
EFFDATEDATEEight-digit date the block was or becomes effective. Formatted as four-digit year, two-digit month, two-digit day of month.
FEATURESVARCHAR (512)2-character alphanumeric Central Office type codes for the switch. Generally present for United States wire-line offices.
MTA1INTEGERMajor Trading Area
MTA2INTEGERSecond Major Trading Area
BTAINTEGERBasic Trading Area
NXXTYPECHAR (2)2-digit code identifying the function that the Central Office Code (NXX) or Thousands Block is performing. This field further defines the service type specified in the LTYPE field.
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.
PORTABLECHAR (1)Single character Y/N field indicating the NPA NXX or NPA NXX-X has been establish for "portability".
LIRVARCHAR (128)Name of Local Interconnection Region rate center is assigned to if any.

Wire Centers File

FieldData TypeField Description
CLLICHAR (8)Eight character CLLI code used to uniquely identify the wire center. This code is equivalent to the first eight characters of the Central Office eleven character switch CLLI code.
VINTEGER5-digit wire center vertical coordinate.
HINTEGER5-digit wire center horizontal coordinate.
NameVARCHAR (128)Name of the wire center
CityVARCHAR (128)City the wire center is located in.
StateCHAR (2)2-character state, province, or territory abbreviation.
CountryCHAR (2)2-character ISO 3166 country code.
LatitudeDOUBLELatitude of the wire center specified in decimal degrees.
LongitudeDOUBLELongitude of the wire center specified in decimal degrees.

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.
CommonNameVARCHAR (128)The common consumer recognized trade name of the service provider.
HOLDINGVARCHAR (128)The service provider holding company if any.
MANAGEMENTVARCHAR (128)The service provider management company if any.
AddressVARCHAR (64)Headquarters street address.
Address2VARCHAR (20)Headquarters additional address information.
CityVARCHAR (64)Headquarters city or location name.
StateCHAR (2)Headquarters state or province.
ZipVARCHAR (10)Headquarters zip or postal code.
CountryCHAR (2)Headquarters country.
SMSVARCHAR (128)SMS domain name.
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
MSACHAR (4)4-digit Metropolitan Statistical Area 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.
CMSACHAR (2)2-digit Consolidated Metropolitan Statistical Area.
POPULATIONINTEstimated year 2000 population

Central Office Type Feature Codes File

FieldData TypeField Description
FEATURE_CODECHAR (2)Two-character alphanumeric feature code.
DESCRIPTIONVARCHAR (64)Description of the central office feature.

MTA Codes File

FieldData TypeField Description
MTACHAR (5)Major Trading Area (MTA) or Economic Region Code.
CountryCHAR (2)2-Character ISO 3166 Country Code.
Market_NameVARCHAR (128)Unabbreviated market name.

BTA Codes File

FieldData TypeField Description
BTACHAR (5)Basic Trading Area Code.
BTANameVARCHAR (128)Unabbreviated market name.

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,
	`WCV` int(11) NOT NULL DEFAULT '0',
	`WCH` int(11) NOT NULL DEFAULT '0',
	`SWITCH` char(11) DEFAULT NULL,
	`RCSTATUS` char(2) DEFAULT NULL,
	`RCTYPE` char(1) DEFAULT NULL,
	`RC` char(10) DEFAULT NULL,
	`RCV` int(11) NOT NULL DEFAULT '0',
	`RCH` int(11) NOT NULL DEFAULT '0',
	`RCLONG` 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,
	`DISCONNECT` char(1) DEFAULT NULL,
	`ADATE` date DEFAULT NULL,
	`EFFDATE` date DEFAULT NULL,
	`FEATURES` text,
	`MTA1` int(11) NOT NULL DEFAULT '0',
	`MTA2` int(11) NOT NULL DEFAULT '0',
	`BTA` int(11) NOT NULL DEFAULT '0',
	`NXXTYPE` char(2) DEFAULT NULL,
	`OLSON` varchar(128) DEFAULT NULL,
	`UTC` char(6) DEFAULT NULL,
	`PORTABLE` char(1) DEFAULT NULL,
	`LIR` varchar(128) DEFAULT NULL,
	PRIMARY KEY (`NPA`,`NXX`,`BLOCK_ID`)
	) 
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `mta`;
CREATE TABLE `mta`
	(
	`MTA` INT(11) NOT NULL,
	`Country` CHAR(2) DEFAULT NULL,
	`Market_Name` VARCHAR(128) DEFAULT NULL,
	PRIMARY KEY (`MTA`)
	) 
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 `cofeatures`;
CREATE TABLE `cofeatures`
	(
	`FEATURE_CODE` CHAR(2) NOT NULL,
	`FEATURE_TYPE` VARCHAR(128) DEFAULT NULL,
	`DESCRIPTION` TEXT DEFAULT NULL,
	PRIMARY KEY (`FEATURE_CODE`)
	) 
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 `bta`;
CREATE TABLE `bta`
	(
	`BTA` CHAR(5) NOT NULL,
	`BTAName` VARCHAR(128) DEFAULT NULL,
	PRIMARY KEY (`BTA`)
	)
ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `ocn`;
CREATE TABLE `ocn`
	(
	`OCN` CHAR(30) NOT NULL,
	`OVERALL_OCN` CHAR(30) DEFAULT NULL,
	`TYPE` VARCHAR(30) DEFAULT NULL,
	`NECA` CHAR(1) DEFAULT NULL,
	`COMPANY` VARCHAR(128) DEFAULT NULL,
	`DBA` VARCHAR(255) DEFAULT NULL,
	`CommonName` VARCHAR(255) DEFAULT NULL,
	`HOLDING` VARCHAR(255) DEFAULT NULL,
	`MANAGEMENT` VARCHAR(255) DEFAULT NULL,
	`Address` VARCHAR(255) DEFAULT NULL,
	`Address2` VARCHAR(70) DEFAULT NULL,
	`City` VARCHAR(64) DEFAULT NULL,
	`State` CHAR(2) DEFAULT NULL,
	`Zip` VARCHAR(10) DEFAULT NULL,
	`Country` CHAR(2) DEFAULT NULL,
	`SMS` VARCHAR(128) DEFAULT NULL,
	PRIMARY KEY (`OCN`)
	)
ENGINE=MyISAM DEFAULT CHARSET=utf8;