Phone Code
Available on paid plans only.
This will return the phone code and countries using it by providing a phone code
Use a paid server with authentication. These endpoints use /api/; /api/v1/ is for the free API only.
JSON:
GET /api/phone-codes/{code}
Response
For a successful request, you will receive a 200 OK response with the following JSON structure:
JSON:
{
"phone_code": 49,
"countries": [
{
"code": "DE",
"name": "Germany",
"native": "Deutschland",
"phone": [49],
"continent": "EU",
"capital": "Berlin",
"currency": [
"EUR"
],
"languages": [
"de"
]
}
]
}