Email Name Parser
See also the Swagger specification.
- peter.johnson@example.com
- peter.a.johnson@example.com
- peterjohnson@example.com
- pjohnson@example.com
- peterj@example.com
- peter@example.com
- johnson@example.com
- johnson.peter@example.com
- johnsonpeter@example.com
Visit https://api.nameapi.org/rest/swagger-ui/.
Input
Example: "john.doe@example.com"
An invalid input exception is thrown if the address does not look like an email address.
Example: "32d21gc5071d7463ef6064c07ea98cb2-user1"
Output
The email address belongs to a department (e.g. accounting@example.com) or is technical (e.g. hostmaster@example.com)
The email address contains a person's initials such as ab@example.com.
Note that this answer is a guess, the 2 letters could also have another meaning such as a short given name or surname, or something completely different.
The email address contains a person's name such as john.doe@example.com.
The email address uses a pseudonym as the user name such as maverick1986@example.com or happyhippo@example.com.
There is no name in the address, for example x2000@example.com
The address may be personal or non-personal, can't say (as in UNKNOWN) but it is clear that no name can be found in it.
The email address could not be classified and hence the service failed to extract a name.
0-n ways of extracting a person's name.
The first entry (if any) is the best, they are ordered by likeliness in descending order.
See EmailNameParserMatch.
- {
- "resultType" : "PERSON_NAME",
- "nameMatches" : [ {
- "givenNames" : [ {
- "name" : "peter",
- "nameType" : "NAME"
- } ],
- "surnames" : [ {
- "name" : "johnson",
- "nameType" : "NAME"
- } ],
- "confidence" : 0.9519329699093173
- } ]
- }