Datatypes

Telephone area code

ID phone_area_code

DatatypeNot PIIcategoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Area code (trunk prefix and dialling code) of a telephone number written without the subscriber number, as in 0221 for Cologne or 06 for Rome in national formats; North American area codes have three digits without a leading zero (212). Directories often keep it in a column of its own.

Categories
Telecommunications
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
1 rule (1 by field name, 0 by value)
Supported by tools
metacrafter

Regular expression

^(?:0[1-9]\d{0,4}|[2-9]\d{2})$

Python re syntax.

Examples

ValueDescription
0221Cologne
0211Düsseldorf
02151Krefeld
212Manhattan (NANP)
0221 123456 invalidWith the subscriber number: phone

Translations

LanguageNameDescription
GermanTelefonvorwahl
RussianТелефонный код

Sources

Use this record