Translate names from input

Returns the translation of a name. You must specify the name to translate and the target language for the translation. You can also include additional parameters. The endpoint returns a single translation; to return multiple candidates use the maximumResults parameter.

Authentication

X-BabelStreetAPI-Keystring
API Key authentication via header
OR
X-RosetteAPI-Keystring
API Key authentication via header

Request

This endpoint expects an object.
namestringRequired
The name to translate.
targetLanguagestringRequired

ISO 639-3 code for the name’s language

entityTypeenumOptional
the entity type of the object
Allowed values:
sourceLanguageOfOriginstringOptional

ISO 639-3 code for the name’s language

sourceLanguageOfUsestringOptional

ISO 639-3 code for the name’s language

sourceScriptstringOptional
ISSO 15924 code for the name's script
targetSchemestringOptional
transliteration schme for the translation
targetScriptstringOptional
ISSO 15924 code for the name's script
maximumResultsdoubleOptional

Response

OK
sourceScriptstringOptional
ISSO 15924 code for the name's script
sourceLanguageOfUsestringOptional

ISO 639-3 code for the name’s language

targetLanguagestringOptional

ISO 639-3 code for the name’s language

targetScriptstringOptional
ISSO 15924 code for the name's script
targetSchemestringOptional
transliteration scheme for the translation
confidencedoubleOptional
The confidence of the translation
translationslist of objectsOptional
extendedInformationlist of objectsOptional