# Twitter ID Finder: Handle to Numeric X User ID Canonical: https://www.twitterapis.com/tools/twitter-id-finder Description: Convert any Twitter or X handle into its numeric user ID, and any user ID back into a handle. Runs on the live user lookup endpoint, results in one call. Generated: 2026-09-14T03:00:37.994Z --- 1. [Home](/) 2. / [Tools](/tools) 3. / Twitter ID Finder FREE TOOL # Twitter ID Finder ## How do I find a Twitter/X user's numeric ID from their handle? The Twitter ID Finder is a browser tool that converts an X or Twitter handle into the permanent numeric user ID behind it, and converts a numeric ID back into the current handle. It runs the same live user lookup endpoint the API serves, so the answer is read from X at the moment you ask rather than from a cached list. Handles change and get reclaimed, numeric IDs never do, which is why every durable record should be keyed on the ID. Handle to IDID to handle ## Why store the ID rather than the handle A handle is a display name with a rename button attached to it. The owner can change it, and once released the old handle can be taken by somebody unrelated. Any table that keys rows on a handle therefore has two silent failure modes: a row that stops resolving because the account renamed, and a row that keeps resolving but now points at a different person. The numeric ID has neither. It is assigned once at account creation and is stable for the life of the account, so it is the value to write into your database and the value to compare on. The practical pattern is to resolve a handle to an ID once at import time, store the ID as the key and the handle as a refreshable label, then read profiles by ID from then on. The [Twitter user API](/twitter-user-api) page covers the full profile object both endpoints return, and the [followers API](/twitter-followers-api) page covers walking the follow graph once you have IDs to walk it with. ## The same lookup in code There is no package to install. Both directions are one GET request with one header, so anything that speaks HTTP can run them. \# handle to numeric ID curl "https://api.twitterapis.com/twitter/user/info?username=naval" \\ -H "Authorization: Bearer YOUR\_API\_KEY" # numeric ID back to handle curl "https://api.twitterapis.com/twitter/user/info\_by\_id?user\_id=745273" \\ -H "Authorization: Bearer YOUR\_API\_KEY" Both calls bill at $0.0008 each. The [quickstart](/quickstart) runs the same request in Python and JavaScript, and [the language clients page](/sdk) carries a working client for each language. ## Frequently Asked Questions ### What is a Twitter user ID? A Twitter user ID is the permanent numeric identifier X assigns to an account when it is created. It never changes. A handle can be changed by its owner at any time, and an abandoned handle can later be claimed by a different person, so a handle is not a safe primary key. Anything you store for longer than a session should be keyed on the numeric ID, with the handle treated as a display value you refresh on read. ### Can I convert a Twitter ID back into a handle? Yes. Switch the tool to ID to handle and paste the numeric ID. That runs the user info by ID endpoint, which resolves a numeric ID into the same full user object, including the current handle. This is the direction you need when an old export gave you IDs and you now want readable names, or when you are checking whether an account renamed itself since you last saw it. ### Why did my lookup return nothing? Three reasons account for nearly all of them. The account was suspended or deleted, so there is no user object to return. The handle was changed, and the old handle now belongs to nobody or to somebody else. Or the input was not a handle at all, for example a post URL rather than a profile URL. The tool strips a profile URL down to the handle for you, but a link to an individual post carries a post ID rather than a user ID. ### How do I find a Twitter user ID from a username? Paste the handle or the full profile URL into the field above and run the lookup. It calls the user info endpoint, which resolves a handle into the full user object, and the numeric id field on that object is the user ID. If you want to do this in code rather than in a browser, the same call is one GET request to /twitter/user/info with a username query parameter and a Bearer key in the header. ### Does the Twitter ID finder cost anything? Each lookup is one read call, billed at $0.0008 on your own key. A new account starts with $0.50 of credit and no card, which covers 625 lookups before you pay anything. There is no plan minimum and no subscription, so if you run five lookups this month you are billed for five lookups. ### Is the numeric ID the same as the ID in a tweet URL? No, and mixing them up is a common source of confusing errors. A URL like x.com/naval/status/1759123456789012345 carries a post ID in the status segment, which identifies one post. The user ID identifies the account that wrote it. They are different namespaces, both numeric, and both long enough to look interchangeable. Pass a post ID to a user endpoint and you get an empty result rather than an error that tells you what went wrong. ## Next read Continue exploring related pages: [ Twitter API use cases 14 use cases from sentiment analysis to lead generation. ](/twitter-api-usecases)[ Twitter API answers Short, sourced answers to the most common Twitter and X API questions. ](/answers)[ Twitter timeline API Pull an account's full posting history over one REST endpoint. ](/twitter-timeline-api)[ Twitter list API Read list members and list timelines with the same Bearer key. ](/twitter-list-api) [All tools](/tools)[Start Free](/signup?utm_source=aio&utm_medium=organic&utm_campaign=aeo-tools-twitter-id-finder) [ TwitterAPIs ](/) The cheapest pay-as-you-go Twitter and X API. $0.0008 per call, which works out to $0.04 per 1,000 tweets on a full 20-tweet page. No subscriptions and no developer account. ## Product / API - [Pricing](/pricing) - [Cost Calculator](/twitter-api-cost-calculator) - [Rate Limits](/twitter-api-rate-limits) - [MCP Server](/mcp) - [Integrations](/integrations) - [Language Clients](/sdk) - [Changelog](/changelog) - [Status](/status) ## Developers - [Documentation](https://docs.twitterapis.com) - [API Reference](https://docs.twitterapis.com/docs/reference/search/tweet-advanced-search) - [User Info](https://docs.twitterapis.com/docs/reference/user-reads/user-info) - [User Tweets](https://docs.twitterapis.com/docs/reference/user-reads/user-tweets) - [Advanced Search](https://docs.twitterapis.com/docs/reference/search/tweet-advanced-search) - [Verified Followers](https://docs.twitterapis.com/docs/reference/follower-graph/user-verified-followers) ## Resources / Compare - [Answers](/answers) - [Reviews](/reviews) - [Free Tools](/tools) - [Twitter ID Finder](/tools/twitter-id-finder) - [Get a Twitter API Key](/twitter-api-key) - [Official X API Comparison](/twitter-api-pricing) - [Twitter API Use Cases](/twitter-api-usecases) - [Twitter API Alternatives](/twitter-api-alternatives) - [Twitter Unofficial API](/twitter-unofficial-api) - [Twitter Free API](/twitter-free-api) - [TwitterAPIs vs twitterapi.io](/twitterapis-vs-twitterapi-io) - [TwitterAPIs vs GetXAPI](/twitterapis-vs-getxapi) - [TwitterAPIs vs TweetAPI](/twitterapis-vs-tweetapi) - [TwitterAPIs vs TwexAPI](/twitterapis-vs-twexapi) - [TwitterAPIs vs RapidAPI](/twitterapis-vs-rapidapi) ## Legal - [About](/about) - [Security](/security) - [Trust](/privacy-and-data-handling) - [Terms of Service](/terms-of-service) - [Affiliates](/affiliates) - [Contact](/contact) - [Jobs](/jobs) © 2026 TwitterAPIs. All rights reserved. TwitterAPIs is an independent third-party API for developers and researchers. Not affiliated with, endorsed by, or sponsored by X Corp. All systems operational