Salutation for one name
Turns a name into a salutation line ready for a letter or email: "Sehr geehrte Frau Dr. Müller,", "Sayın Ahmet Bey,", "Madame,", "山田様". The gender lookup is included and the price is the same: one credit per name.
When the gender is not certain, the salutation is neutral. A wrong gender is worse than none, so the gendered form is used only when the gender is known with at least min_probability (default 90), and the language has what it needs (a surname for "Herr Müller", a given name for "Ahmet Bey"). form and reason say which form was chosen and why. best_guess and ai_fallback do not apply here. Companies and role addresses get the language's form for organisations.
Request
- Base URL: https://namegender.com
- URL: https://namegender.com/api/v1/salutation
- Auth: one of:
- HTTP bearer
- API key in header X-Api-Key
Request body
Example request
{
"name": "Dr. Anna Müller",
"email": "anna.mueller@example.de",
"language": "de",
"title": "Dr."
}Response
Salutation built.
Example response
{
"language": "de",
"salutation": {
"formal": "Sehr geehrte Frau Dr. Müller,",
"informal": "Liebe Anna,",
"neutral": "Guten Tag Dr. Anna Müller,"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.