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)
phoneareacodebyfieldfield, common/telecom.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:0[1-9]\d{0,4}|[2-9]\d{2})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 0221 | Cologne |
| 0211 | Düsseldorf |
| 02151 | Krefeld |
| 212 | Manhattan (NANP) |
| 0221 123456 invalid | With the subscriber number: phone |
Translations
| Language | Name | Description |
|---|---|---|
| German | Telefonvorwahl | |
| Russian | Телефонный код |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/phone_area_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/telecom/phone_area_code.yamlon GitHub