Skip to content
cheapxapi

Free tool

Twitter ID finder. Username to ID, and back.

Paste an X username, @handle or profile link to get the account’s numeric user ID, or paste an ID to get its current username. No sign-up.

Need thousands? Use the API.

The same lookup is one request to the cheapxapi REST API, $0.0006 a call. Resolve a list of IDs in a single batch call, then read profiles, tweets and followers with the same key.

User info · Batch user info by IDs

Get an API key
curl "https://api.cheapxapi.com/twitter/user/info?userName=NASA" \
  -H "x-api-key: $CHEAPXAPI_KEY"
# data.id is the user ID

Questions.

What is a Twitter (X) user ID?

Every X account has a numeric ID that is assigned when the account is created and never changes. The username (the @handle) can be changed at any time, so software that stores accounts should store the ID.

How do I find a user ID from a username?

Paste the username, with or without the @, or the profile link into the box above and press Find ID. The result shows the numeric ID and the current username, each with a copy button.

Can I find the username for an ID?

Yes. Paste the numeric ID instead. If the account was renamed, you get the username it uses now. Suspended or deactivated accounts return no result.

Is there a limit?

The free tool allows 5 lookups a minute and 50 a day from one network, and each lookup runs a quick browser check to keep bots out. For more, use the API: user lookups cost $0.0006 a call, and the batch endpoint resolves several IDs in one call.