Data

Phone dial codes

Countries with their dial code and phone number mask, the dataset behind the phone input examples.

get/api/phone-codes.json

Request

  • Base URL: https://ui.nuxt.com
  • URL: https://ui.nuxt.com/api/phone-codes.json
  • Auth: none required

Response

Countries with their dial code and phone number mask.

namestring required
codestring required

ISO 3166-1 alpha-2 code.

emojistring
dialCodestring required
maskstring

Example response

[
  {
    "dialCode": "+33",
    "mask": "# ## ## ## ##"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.