X / Twitter Account Origin Intelligence
Pricing
from $0.35 / 1,000 account lookup completeds
X / Twitter Account Origin Intelligence
Compare X (Twitter) account origins and username changes for up to 100 account inputs. Look up X-reported country or region, app/source labels, change counts, and the latest change date. Enter handles, profile URLs, or IDs and export CSV, Excel, or JSON. No X login required.
Pricing
from $0.35 / 1,000 account lookup completeds
Rating
5.0
(1)
Developer
ArjunAI Data
Maintained by CommunityActor stats
2
Bookmarked
58
Total users
22
Monthly active users
a day ago
Last modified
Categories
Features
Share
Check account origin and username changes for one X (Twitter) profile or a batch of up to 100 account inputs. Compare the country or region X reports, app/source labels, username-change counts, and the latest change date when available. Paste handles, profile URLs, or numeric user IDs and export your results to CSV, JSON, or Excel.
Compare three accounts in one run. Try Compare X Account Countries and Username Changes to see how X-reported account information varies across profiles. At the Free rate and default memory, three completed lookups and the start event cost $0.00155.
🚀 Quick start
- Enter an X username, a profile link, or a numeric user ID.
- Click Start and open the Output tab.
- Check Overview for account origin and profile details. If the Actor skipped an entry, open Input & lookup status to see what to correct.
- Download the Dataset as JSON, CSV, or Excel.
Start with one profile using the example below. To check several accounts, enter up to 100 account inputs per run across both fields after deduplication within each field.
{"screenNames": ["https://x.com/apify"]}
🔗 Ready-to-run examples
Open an example, review its input and spending limit, then run it in your Apify account.
- Compare a shortlist. Where does X report each account is based? Run three accounts together and review their available countries or regions and username changes. Compare X Account Countries and Username Changes
- Check a single profile. Use a profile link to see which origin and username-change details X makes available. Check X Account Origin from a Profile Link
- Track a stable identifier. Start from the numeric ID if you already have it. Look Up X Account Background by User ID
Compare accounts in a batch
Paste account handles from an audience export or a research shortlist. Each result keeps the requested input and includes the resolved user ID when available. Use the ID to join the results back to a previous export or follow the same account after a username change.
{"screenNames": ["NASA", "BillGates", "apify"]}
Compare Account based in, Account source, and the available username-change details. Treat X's origin data as an account-level signal and leave unavailable values blank in your analysis.
📊 Results
Each completed lookup reports an available profile, an account that was not found, or a suspended account. Completed lookups are billable according to the Pricing tab; request and system failures are not completed-lookup results.
| Field group | Fields |
|---|---|
| Result | status, requested_screen_name, requested_user_id, error |
| Input feedback | invalid_input_count and invalid_inputs give the field, position, and reason for skipped entries. |
| Identity | user_id, screen_name, name, profile_url, description, location, website_url, account_created_at |
| Account origin | account_based_in, account_source, created_country_accurate, account_location_accurate |
| Verification and affiliation | verification_type, affiliate_username, affiliation_name, affiliation_url, affiliation_badge_url, account_label |
| Professional profile | professional_type, professional_categories, bio_links, pinned_tweet_ids |
| Username changes | username_changes_count, username_last_changed_at, username_last_changed_at_msec |
| Audience and activity | followers_count, following_count, tweets_count, media_count, likes_count, listed_count |
| Account state | verified, blue_verified, protected, possibly_sensitive, business_affiliates_count, creator_subscriptions_count, profile_interstitial_type, default_profile_image, can_media_tag, withheld_scope, withheld_description |
| Images | profile_image_url, profile_banner_url |
| Original data | profile preserves the Actor's earlier source-field shape and adds enrichment fields under their native X names and object structures. |
account_source, following_count, tweets_count, likes_count, and blue_verified are clearer top-level names for native values also retained as profile.source, profile.friends_count, profile.statuses_count, profile.favourites_count, and profile.is_blue_verified. ISO date fields are derived from X's native date or millisecond timestamp values; the raw username-change timestamp is also retained.
Input
| Field | Type | Required | Description |
|---|---|---|---|
screenNames | string[] | No* | Enter usernames, @handles, or full X/Twitter profile URLs. |
userIds | string[] | No* | Enter numeric X user IDs such as 3510729917. IDs remain stable after username changes. |
Provide at least one valid value in screenNames or userIds. A run accepts at most 100 combined account inputs after normalization and deduplication within each field. The limit applies before successful results are deduplicated by native X user ID. If no valid input remains, or if the combined total exceeds 100, the Actor writes one invalid_input record without a lookup fee and stops before making an X request. Split larger lists across several runs.
No X login, X API key, X cookies, or proxy setup is required. Results can be downloaded from the Dataset or used through the Apify API, schedules, webhooks, and integrations.
💰 Pricing
This Actor uses pay-per-event pricing:
| Charge | Base price | What it covers |
|---|---|---|
| Actor start | $0.00005 per start event | One start event at the Actor's available memory settings. |
| Account lookup completed | $0.0005 per account ($0.50 / 1,000) | Each saved success, confirmed not_found, or explicitly suspended result. |
Subscription discounts
Save up to 30% on completed lookups with higher Apify subscription tiers. Your eligible price applies automatically based on your Apify subscription, not the number of accounts you enter. No discount code is needed.
| Apify subscription tier | Per completed lookup | Per 1,000 completed lookups | Lookup discount |
|---|---|---|---|
| FREE | $0.0005 | $0.50 | Base price |
| BRONZE | $0.00045 | $0.45 | 10% |
| SILVER | $0.0004 | $0.40 | 20% |
| GOLD / PLATINUM / DIAMOND | $0.00035 | $0.35 | 30% |
Discounts apply only to the completed lookup fee. The Actor start fee remains $0.00005 at every tier.
For example, 100 completed lookups in one run cost $0.05005 on FREE or $0.03505 on GOLD, PLATINUM, or DIAMOND, including one start event. The same lookup rate applies whether the results contain profiles, confirmed not-found accounts, suspended accounts, or a mix. A spending limit can stop the run before all inputs are checked.
Invalid input, request failures, unprocessed accounts, and partial summaries do not incur a completed lookup fee; the start fee still applies when the run starts. Automatic retries do not create extra lookup fees. Duplicate successful profiles are saved and charged only once.
For developers, the completed lookup event retains its existing ID, profile-result. The Actor stops querying when your spending limit cannot cover another completed lookup. See the Pricing tab for current prices and discounts for your subscription.
❓ Account origin FAQ
What does “Account based in” mean on X?
account_based_in is the country or region X associates with the account. location is the account owner’s self-reported profile location. Use the region and app/source label as account background signals, and expect some accounts to have missing values.
What username history is available?
Each lookup can include the number of times the username changed and the most recent change date, when X provides them. To record future changes over time, start a scheduled check with the X Profile Change Monitor.
Result availability and statuses
- If a batch contains valid and invalid entries, the Actor processes the valid accounts and adds one
input_warningrow without a lookup fee. Open Input & lookup status to find the reason and position of each invalid entry. Positions start at 1 in each input field. The same details are available ininvalid_inputsin the JSON output. - Results depend on data currently returned by X/Twitter and individual fields may be empty or unavailable.
- Account-origin signals are reported by X and should not be treated as independent proof of a person's identity, nationality, or physical location.
- Accounts X explicitly reports as suspended are returned with
status: "suspended". Not-found, deleted, renamed, or otherwise unavailable accounts remainnot_found; X may not provide a more specific reason. The Actor continues processing the remaining accounts. - Temporary request failures are retried automatically. An uncharged
request_failedrecord identifies an account that could not be checked; apartialrecord explains when a run stops early because X remains unavailable. - X may change its response structure or access controls, which can temporarily affect availability.
- Previously saved results remain available if a later request fails.
Result examples
The examples below were captured from successful runs on November 10, 2026. Counts and availability can change. They correspond to the Quick start or separately labeled input above.
Account background and profile
{"status": "success","requested_screen_name": "apify","requested_user_id": "","user_id": "3510729917","screen_name": "apify","name": "Apify","profile_url": "https://x.com/apify","account_based_in": "Czechia","account_source": "Web","created_country_accurate": true,"account_location_accurate": true,"verification_type": "Business","affiliate_username": null,"affiliation_name": null,"affiliation_url": null,"affiliation_badge_url": null,"account_label": null,"professional_type": "Business","professional_categories": [],"username_changes_count": 3,"username_last_changed_at": "2017-10-09T13:30:52.904Z","username_last_changed_at_msec": 1507555852904,"account_created_at": "2015-09-01T08:38:01Z","description": "Thousands of Actors to automate your business, get real-time web data, and equip your AI agents. ➡️ https://t.co/rySkh8pPkM • https://t.co/PiUfLvrm0u • https://t.co/x4G1meKqfK","location": "The Interwebz","website_url": "https://apify.com","bio_links": ["http://apify.com","http://mcp.apify.com","http://github.com/apify"],"followers_count": 22390,"following_count": 307,"tweets_count": 5315,"media_count": 1360,"likes_count": 4803,"listed_count": 152,"verified": false,"blue_verified": false,"protected": false,"possibly_sensitive": false,"business_affiliates_count": 4,"creator_subscriptions_count": 0,"profile_image_url": "https://pbs.twimg.com/profile_images/2036008913192316928/yuW3cobE_normal.png","profile_banner_url": "https://pbs.twimg.com/profile_banners/3510729917/1791211391","pinned_tweet_ids": ["2109661698982305935"],"profile_interstitial_type": null,"default_profile_image": false,"can_media_tag": true,"withheld_scope": null,"withheld_description": null,"profile": {"account_based_in": "Czechia","source": "Web","created_country_accurate": true,"rest_id": "3510729917","username_changes": {"count": "3","last_changed_at_msec": "1507555852904"},"user_created_at": "Tue Sep 01 08:38:01 +0000 2015","description": "Thousands of Actors to automate your business, get real-time web data, and equip your AI agents. ➡️ https://t.co/rySkh8pPkM • https://t.co/PiUfLvrm0u • https://t.co/x4G1meKqfK","entities": {"description": {"urls": [{"display_url": "apify.com","expanded_url": "http://apify.com","indices": [102,125],"url": "https://t.co/rySkh8pPkM"},{"display_url": "mcp.apify.com","expanded_url": "http://mcp.apify.com","indices": [128,151],"url": "https://t.co/PiUfLvrm0u"},{"display_url": "github.com/apify","expanded_url": "http://github.com/apify","indices": [154,177],"url": "https://t.co/x4G1meKqfK"}]},"url": {"urls": [{"display_url": "apify.com","expanded_url": "https://apify.com","indices": [0,23],"url": "https://t.co/VWktFqWjsp"}]}},"is_blue_verified": false,"business_account": {"affiliates_count": 4},"creator_subscriptions_count": 0,"has_graduated_access": true,"favourites_count": 4803,"followers_count": 22390,"friends_count": 307,"listed_count": 152,"location": "The Interwebz","media_count": 1360,"user_name": "Apify","normal_followers_count": 22390,"possibly_sensitive": false,"has_custom_timelines": false,"needs_phone_verification": false,"profile_banner_url": "https://pbs.twimg.com/profile_banners/3510729917/1791211391","profile_image_url_https": "https://pbs.twimg.com/profile_images/2036008913192316928/yuW3cobE_normal.png","protected": false,"user_screen_name": "apify","statuses_count": 5315,"verified": false,"utc_offset": 0,"url": "https://t.co/VWktFqWjsp","location_accurate": true,"verification": {"verified": false,"verified_type": "Business"},"identity_profile_labels_highlighted_label": {},"affiliates_highlighted_label": {},"parody_commentary_fan_label": "None","professional": {"category": [],"professional_type": "Business","rest_id": "1583013496266137600"},"verified_type": "Business","pinned_tweet_ids_str": ["2109661698982305935"],"profile_interstitial_type": "","default_profile_image": false,"can_media_tag": true,"withheld_scope": "","withheld_description": ""}}
🤖 Use this Actor with AI agents via MCP
-
Add a remote server in your agent's MCP settings. Select Streamable HTTP and use the URL below. For clients that accept an
mcpServersJSON block, copy this configuration.{"mcpServers": {"apify-account-origin": {"type": "http","url": "https://mcp.apify.com/?tools=call-actor"}}} -
Sign in with Apify OAuth. If your client uses authentication headers, set
Authorization: Bearer <APIFY_TOKEN>in its credential settings. Use an Apify account with access to run the Actor and read its results. Apify MCP setup -
Enable the connector in your chat and try the following prompt.
Run
arjun_code/x-twitter-account-origin-scraperforhttps://x.com/apify,@NASA, and X user ID44196397. Set the maximum run cost to $0.01. Wait for the run to finish and read its Dataset. For each account, show the X-reported country or region, app/source label, username-change count, and latest change date when available. Report accounts that could not be checked and include the Apify run link.
Call the Actor and read its results
For a custom agent, pass these arguments to call-actor. Use screenNames for usernames and profile URLs, and userIds for numeric IDs written as strings. Set the spending limit in callOptions.
{"actor": "arjun_code/x-twitter-account-origin-scraper","input": {"screenNames": ["https://x.com/apify", "@NASA"],"userIds": ["44196397"]},"callOptions": {"maxTotalChargeUsd": 0.01},"waitSecs": 0}
- Pass the returned
runIdtoget-actor-runwithwaitSecs: 30. If the run is still in progress, check the same run again. Usehttps://console.apify.com/view/runs/<runId>to link to it. - Pass
storages.datasets.default.idasdatasetIdtoget-dataset-items. Uselimitandoffsetto read larger batches. Check each row'sstatusbefore summarizing the results and read theerrorandinvalid_inputsfields when present.
MCP runs use the Actor's Store pricing. Actor pricing · Apify MCP tool reference
🔌 API and integrations
Use your Apify API token in the request header.
curl -X POST \"https://api.apify.com/v2/actors/arjun_code~x-twitter-account-origin-scraper/runs" \-H "Authorization: Bearer $APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"screenNames":["https://x.com/apify"]}'
This starts a run and returns its ID. After the run finishes, use its defaultDatasetId to download the results. You can also save the input as a Task, schedule it, or use Apify integrations.
Python Client 3.x
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("arjun_code/x-twitter-account-origin-scraper").call(run_input={'screenNames': ['https://x.com/apify']})if run is not None:for item in client.dataset(run.default_dataset_id).iterate_items():print(item)
🧭 Related X (Twitter) Actors
| Your next step | Actor |
|---|---|
| Find creators, researchers, or other accounts by keyword and profile filters. | X People Search |
| Start from a known account and find other profiles X recommends as similar. | X Similar Accounts Finder |
| Collect followers or following profiles for audience research. | X Followers & Following Scraper |
| Track future username and profile changes on a schedule. | X Profile Change Monitor |
Use the usernames or user IDs from your search or audience export as Account Origin inputs. Save the IDs of accounts you want to monitor so tracking can continue after they change usernames.
Privacy and responsible use
This Actor processes publicly accessible X/Twitter account and profile metadata. Use the results only for lawful purposes and in accordance with applicable privacy laws, X's terms, and Apify's terms. Do not use account-origin signals alone to make high-impact decisions about individuals.
Support
If a run fails or a field is unexpectedly missing, open an issue from the Actor's Issues tab and include the run ID. Do not post API tokens, cookies, or other credentials in public issues.