Takes raw phone number and country code (ISO 3166-1 alpha-2) as input.
GET
http://go.e164.me/02083661177/GB/ returns:
{"status": "OK", "input": "02083661177", "e164": "+442083661177", "location": "London", "country": "GB"}
GET
http://go.e164.me/0041431234567/GB/?lang=it returns:
{"status": "OK", "input": "0041431234567", "e164": "+41431234567", "location": "Zurigo", "country": "GB"}
GET
http://go.e164.me/0041431234567/GB/?lang=de returns:
{"status": "OK", "input": "0041431234567", "e164": "+41431234567", "location": "Z\u00fcrich", "country": "GB"}
GET
http://go.e164.me/12345/GB/ returns:
{"status": "Failed", "input": "12345", "country": "GB"}
GET
http://go.e164.me/012345/GB/?verify=N returns:
{"status": "OK", "input": "012345", "e164": "+4412345", "location": "Bedford", "country": "GB"}
GET
http://go.e164.me/02083661177/GB/?jsonp=myfn returns:
myfn({"status": "OK", "input": "02083661177", "e164": "+442083661177", "location": "London", "country": "GB"})
For multiple conversions for the same country, specify a separator, a list of numbers and the country:
GET
http://go.e164.me/multi/%40/02083661177%40020%208363%204478/GB/ returns:
[{"status": "OK", "input": "02083661177", "e164": "+442083661177", "location": "London", "country": "GB"},
{"status": "OK", "input": "020 8363 4478", "e164": "+442083634478", "location": "London", "country": "GB"}]
All with content-type application/json
Powered by python-phonenumbers, the Python port of libphonenumber, running on Google App Engine.