Name validation
Check whether the first name and surname exist and catch famous, fictional and humorous names before they reach your database.
Name validation
Name validation checks whether a name belongs to a real person. Add validate=true to a parse request and the response gets a validation object.
We check that the first name and the surname exist, and we compare the name with 13.738 famous, fictional and humorous names such as Sherlock Holmes. A name that passes is not proof of identity: it is a name that real people have.
Request parameters
Your API key is required for every API call.
93d471ea85d1937e713e8aafffb32090The complete name to parse. Depending on your subscription you can send several names in one request as an array: name[]=John Bruch&name[]=Sarah Jones.
John BruchThe email address to parse. The username is extracted and parsed, and the response includes the email provider. Depending on your subscription you can send an array: email[]=alopez@t-online.de&email[]=j.bruch.87@yahoo.com.
j.bruch.87@yahoo.comSet to true to check whether the name is possibly fake. It is compared with 13.738 famous, fictional and humorous names, and we check that the first name and surname exist.
trueRequest URL
Validate a name. The response contains every component of the parsed name plus the validation object.
A famous or fictional name fails both checks and is listed in listed_in and listed_as.
Validate the name in an email address.
Response
A parsed name returns status 200 with every component. If the input does not look like a name, you get an error with status 400. If no name can be found in the name or email address, the status is 404. The email object appears when you parse an email address; the validation object when validate=true.
{"results": 1,"error": null,"data": [{"salutation": {"salutation": "Mr.","initials": "J.","lastname": "Bruch","letter": "Dear Mr. Bruch","letter_language": "en"},"title": null,"titles": [],"name": {"nickname": null,"firstname": {"name": "John","name_ascii": "John","validated": true,"gender": "m","gender_formatted": "male","unisex": false,"gender_deviation": 0,"country_code": "US","country_certainty": 60,"country_rank": 3,"alternative_countries": {"GB": 13,"CA": 3},"country_frequency": 3812540},"middlenames": [],"lastname": {"name": "Bruch","name_ascii": "Bruch","validated": true,"country_code": "US","country_certainty": 62,"country_rank": 1,"alternative_countries": {"GB": 24,"CA": 3,"AU": 3},"country_frequency": 2731,"lastnames": []},"suffix": null},"email": {"address": "j.bruch.87@yahoo.com","username": "j.bruch.87","domain": "yahoo.com","provider": {"name": "Yahoo Mail","country_code": "US"},"business": false},"country": {"country_code": "US","country_certainty": 63,"country_code_alpha": "USA","name": "United States","continent": "North America","demonym": "American","primary_language_code": "en","primary_language": "English","currency": "USD","alternative_countries": {"GB": 19,"CA": 3,"AU": 3},"name_area": "English","name_area_certainty": 89},"validation": {"pass_loose": true,"pass_strict": true,"listed_in": [],"listed_as": []}}]}
Response parameters
True when the first name, middle name or surname is in an official database for the resulting country. False for a first name means it is derived from another country: still an existing name, but without an official list for that country. False for a surname means it does not occur in the resulting country.
Returned when validate=true. pass_loose is true when the first name exists, the surname is possible and the name is not listed as famous, fictional or humorous. pass_strict is true when both first name and surname exist (validated = true) and the name is not listed. Listed names appear in listed_in and listed_as.