Users
Translate a user's bio into a chosen language
Changed onReturns X's own translation of one profile's bio into the language you pick, with the links, mentions, and tags X places in the translated text. A profile without a bio returns translation null & a message, free of charge.
get/api/v1/x/users/{id}/translation
Request
- Base URL: https://xquik.com
- URL: https://xquik.com/api/v1/x/users/{id}/translation
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
- none
Path parameters
idstring required
User ID, username with or without @, or URL-encoded profile URL, such as x.com/nasa or x.com/i/user/11348282. A number is a user ID. Writes look up a username's ID before sending. Anything else gets 400 invalid_user_id.
Query parameters
languagestring required
Example:es
Language code to translate into, such as es, tr, pt-br, or zh-tw. Upper and lower case both work.
Response
Translated bio
Example response
{
"translation": {
"userId": "11348282",
"userName": "NASA",
"language": "es",
"sourceLanguage": "en",
"text": "Haciendo lo aparentemente imposible, posible. ✨",
"entities": {}
},
"message": "This profile has no bio to translate."
}Changes
- ○
endpoint added
- ○
Of the 51 revisions, 1 has no diff computed.