Skip to main content
Free IP API home

Phone Codes

Available on paid plans only.

This will return the list of all phone codes

Use a paid server with authentication. These endpoints use /api/; /api/v1/ is for the free API only.

JSON:

GET /api/phone-codes

Response

For a successful request, you will receive a 200 OK response with the following JSON structure:

JSON:

{
  "1": [
    "CA",
    "UM",
    "US"
  ],
  "7": [
    "KZ",
    "RU"
  ],
  "20": [
    "EG"
  ],
	...
}