v1

latestOpenAPI 3.0.1NamSorAPI_Lic_v0.0.72026-07-13115112157.9 KB
social

[USES 11 UNITS PER NAME] Infer the likely country and phone prefix, given a personal name and formatted / unformatted phone number.

get/api2/json/phoneCode/{firstName}/{lastName}/{phoneNumber}

Path parameters

firstNamestring required
lastNamestring required
phoneNumberstring required

Response

A name with country and phone code.

scriptstring
idstring
explanationstring
firstNamestring

The first name (also known as given name)

lastNamestring

The last name (also known as family name, or surname)

internationalPhoneNumberVerifiedstring

The normalized phone number, verified using libphonenumber.

phoneCountryIso2Verifiedstring

The phone ISO2 country code, verified using libphonenumber.

phoneCountryCodeinteger

The phone country code of the phone number, verified using libphonenumber.

phoneCountryCodeAltinteger

The best alternative phone country code of the phone number.

phoneCountryIso2string

The likely country of the phone number.

phoneCountryIso2Altstring

The best alternative country of the phone number.

originCountryIso2string

The likely country of origin of the name.

originCountryIso2Altstring

The best alternative country of origin of the name.

phoneNumberstring

The input phone number.

verifiedboolean

Indicates if the phone number could be positively verified using libphonenumber.

scorenumber double

Higher score is better, but score is not normalized. Use calibratedProbability if available.

countryIso2string