GET https://xquik.com/api/v1/x/users/{id}/translation
1 credit per translation · A profile without a bio is freeAll plans from $0.00012/credit · Supports guest paid reads
A bio in the language you pick
UseGET /x/users/{id}/translation to read a profile’s bio in another language. X translates it, as x.com does when it
shows a translated bio. Name the profile by user ID, username, or profile URL.
sourceLanguage is the language X detects in the bio, when it names one. entities holds the links, mentions, and
tags of the translated text with their offsets.
A profile without a bio returns translation: null & a message, free of charge.Path parameters
Query parameters
Choose fields
Headers
Response
200 OK
400 Invalid input
{ "error": "invalid_language" }
Send language as a language code, such as es. An empty or invalid profile name returns invalid_user_id.401 Unauthenticated
Anonymous requests getWWW-Authenticate: Bearer and a guest wallet checkout action. This is not a Payment challenge.402 Payment required
Account keys get account options. Guest keys get guest top-up only. No checkout starts automatically. Confirm any payment action.502 X API unavailable
The read service returned an error. Retry after a short delay.Related. Get user · Translate tweet · Batch users
Response examples
200 example
- 400
{ "error": "invalid_input", "message": "Invalid input. Check the request body." } - 401
{ "error": "unauthenticated", "message": "Authentication required." } - 402
{ "error": "insufficient_credits", "message": "Insufficient credits. Top up or subscribe to continue." } - 403
{ "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." } - 404
{ "error": "user_not_found", "message": "X user not found. Check the username." } - 424
{ "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." } - 429
{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 } - 502
{ "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." } - 503
{ "error": "x_api_unavailable", "message": "Xquik is busy right now. Retry shortly." }