Public X/Twitter Profile Metadata Scraper
Pricing
from $2.99 / 1,000 profiles
Public X/Twitter Profile Metadata Scraper
Extract public X/Twitter profile page title, display name, bio, avatar, canonical URL, JSON-LD, response status, and access diagnostics for bounded usernames.
Pricing
from $2.99 / 1,000 profiles
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
23 days ago
Last modified
Categories
Features
Share
This Actor extracts public page-level profile metadata from X/Twitter. It accepts bounded usernames, tries the official public X URL and a twitter.com fallback, and uses one unauthenticated browser render only when the public HTML is an application shell. It returns the profile title, display name, bio, avatar, canonical URL, and any public JSON-LD. It does not scrape tweets, use cookies, authenticate, solve CAPTCHAs, or bypass access controls.
Get started
- Open the Actor Store page and select Try for free or open the Input tab.
- Add one or more public usernames to
usernames, with or without the@prefix. - Leave
proxyConfigurationdisabled for the direct request, or enable standard Apify Proxy routing if direct public access fails. - Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (
OUTPUT) to check the outcome and counts.
Input
Fields marked Required must be supplied. Unsupported field names and out-of-range values are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
usernames | string array | Required | Not supplied | One to one hundred public usernames, with or without the @ prefix. 1–100 items. |
proxyConfiguration | object | Optional | {"useApifyProxy":false} | Optional Apify proxy configuration. Requests are direct by default; enable a proxy only when direct public access fails. |
Example input (the required usernames field has no default; the form prefills openai):
{"usernames": ["openai"],"proxyConfiguration": {"useApifyProxy": false}}
The Actor reads public data from X.com. Optional proxyConfiguration uses the standard Apify Proxy settings.
Output
The dataset contains one row per saved result. Optional information appears only when the source publishes it; missing values are omitted rather than inferred.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | Always | Row discriminator; twitter-profile for normal metadata. |
recordId | string | Always | Stable ID in the form twitter-profile:<username>. |
source | string | Always | Source host; x.com. |
provenance | string | Always | Route that produced the row, such as public_x_profile_page. |
sourceUrl | string | Always | X or Twitter profile URL used as evidence. |
sourceWebsite | string | Always | Canonical source website; https://x.com/. |
username | string | Always | Normalized username without the @ prefix. |
profileUrl | string | Always | Official profile URL in https://x.com/<username> form. |
finalUrl | string | When published | Final public URL after redirects. |
pageTitle | string | When published | Public profile page title. |
displayName | string | When published | Public display name. |
bio | string | When published | Public profile description. |
avatarUrl | string | When published | Public avatar URL. |
canonicalUrl | string | When published | Canonical profile URL declared by the public page. |
jsonLd | array | When published | Bounded public JSON-LD objects; absent from the archived row. |
scrapedAt | string | Always | Time the row was written, in ISO UTC. |
The archived row also contains the following fields, which are present in saved rows but are not declared in the dataset schema.
| Observed field | Type | Meaning |
|---|---|---|
status | string | Row outcome; success for saved rows. |
dataAvailable | boolean | Whether usable public profile data was parsed. |
sourceTransport | string | Transport used, such as got_scraping_direct. |
extractionMethod | string | Parser label, such as public_profile_metadata. |
accessStatus | string | Public-page access state; public_page for the archived row. |
httpStatus | integer | HTTP status of the public profile response. |
htmlLength | integer | Length of the public HTML read. |
cookiesProvided | boolean | Whether cookies were supplied; false for this Actor. |
authenticated | boolean | Whether the request was authenticated; false for this Actor. |
The example below is a complete saved row from the 2026-08-30 run.
{"recordType": "twitter-profile","recordId": "twitter-profile:openai","status": "success","dataAvailable": true,"source": "x.com","provenance": "public_x_profile_page","sourceTransport": "got_scraping_direct","extractionMethod": "public_profile_metadata","username": "openai","sourceUrl": "https://x.com/openai","sourceWebsite": "https://x.com/","profileUrl": "https://x.com/openai","accessStatus": "public_page","httpStatus": 200,"finalUrl": "https://x.com/openai","htmlLength": 291201,"pageTitle": "OpenAI (@OpenAI) / X","displayName": "OpenAI","bio": "OpenAI’s mission is to ensure that artificial general intelligence benefits all of humanity. We’re hiring: https://t.co/dJGr6LgzPA","avatarUrl": "https://pbs.twimg.com/profile_images/1885410181409820672/ztsaR0JW_200x200.jpg","canonicalUrl": "https://x.com/OpenAI","cookiesProvided": false,"authenticated": false,"scrapedAt": "2026-08-30T09:45:23.469Z"}
Run summary
Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.
| Field | Meaning |
|---|---|
recordType | Summary discriminator; twitter-profile-summary. |
status | Run outcome. The archived example records success; current builds write SUCCEEDED or FAILED in the same field. |
dataAvailable | Whether at least one profile row was saved. |
actor | Actor slug; twitter-profile-scraper. |
source | Source host; x.com. |
provenance | Route that produced the summary, such as public_x_profile_page. |
requestedUsernames | Normalized usernames requested for the run. |
profilesRequested | Number of usernames processed. |
itemsStored | Profile rows written. |
profilesWithData | Profiles that produced a usable public metadata row. |
profilesFailed | Profiles that failed or returned no usable public metadata. |
diagnosticCount | Operational issues recorded for the run. |
scrapedAt | Time the summary was written, in ISO UTC. |
| Status | Meaning |
|---|---|
SUCCEEDED | Current builds: the run completed and at least one profile row was saved, or the requested profiles completed cleanly with no usable metadata. The archived example records the older lowercase success. |
FAILED | A fatal error occurred before any usable profile row was saved. |
Current builds also write dataStatus, generatedBy, and profilesWithoutPublicMetadata; the archived example predates them.
Example OUTPUT from the saved run:
{"recordType": "twitter-profile-summary","status": "success","dataAvailable": true,"actor": "twitter-profile-scraper","source": "x.com","provenance": "public_x_profile_page","requestedUsernames": ["openai"],"profilesRequested": 1,"itemsStored": 1,"profilesWithData": 1,"profilesFailed": 0,"diagnosticCount": 0,"scrapedAt": "2026-08-30T09:45:23.474Z"}
Coverage and limitations
The Actor reads public page-level profile metadata for one or more usernames. It does not scrape tweets, replies, followers, timelines, searches, or private accounts. A profile can return a challenge, login wall, missing page, or non-success response; those outcomes are counted in OUTPUT and do not create profile rows. The optional browser render is used only when the public HTML is an application shell and is bounded to the run.
Leave proxy disabled for the default direct public request, or explicitly enable standard Apify Proxy routing in Cloud. Optional fields are omitted when the source does not publish them; values are not inferred. Source availability can change, and blocked, empty, or partial responses are reported in the run summary rather than written as data rows.
Usage and support
Cost depends on Apify compute, one or more public profile requests, and an optional browser render when the HTML shell requires it. The Actor processes up to 100 usernames per run. Start with a small username list, inspect the dataset and run summary, then scale gradually. See the Actor's Pricing tab for current account rates.
Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with X Corp. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.