curl --request GET \ --url https://api.sorsa.io/v3/id-to-username/{user_id} \ --header 'ApiKey: <api-key>'
Copy
{ "handle": "elonmusk"}
Technical Endpoints
Convert User ID to Username
Converts a numeric Twitter/X user ID into the account’s current username. Useful for resolving stored IDs back into human-readable handles, especially when usernames may have changed.
GET
/
id-to-username
/
{user_id}
Convert User ID to Username
Copy
curl --request GET \ --url https://api.sorsa.io/v3/id-to-username/{user_id} \ --header 'ApiKey: <api-key>'