Public X/Twitter Profile Metadata Scraper avatar

Public X/Twitter Profile Metadata Scraper

Pricing

from $2.99 / 1,000 profiles

Go to Apify Store
Public X/Twitter Profile Metadata Scraper

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

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

23 days ago

Last modified

Categories

Features

Limited permissions

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

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Add one or more public usernames to usernames, with or without the @ prefix.
  3. Leave proxyConfiguration disabled for the direct request, or enable standard Apify Proxy routing if direct public access fails.
  4. 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.

FieldTypeRequired?DefaultMeaning
usernamesstring arrayRequiredNot suppliedOne to one hundred public usernames, with or without the @ prefix. 1–100 items.
proxyConfigurationobjectOptional{"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.

FieldTypeAvailabilityMeaning
recordTypestringAlwaysRow discriminator; twitter-profile for normal metadata.
recordIdstringAlwaysStable ID in the form twitter-profile:<username>.
sourcestringAlwaysSource host; x.com.
provenancestringAlwaysRoute that produced the row, such as public_x_profile_page.
sourceUrlstringAlwaysX or Twitter profile URL used as evidence.
sourceWebsitestringAlwaysCanonical source website; https://x.com/.
usernamestringAlwaysNormalized username without the @ prefix.
profileUrlstringAlwaysOfficial profile URL in https://x.com/<username> form.
finalUrlstringWhen publishedFinal public URL after redirects.
pageTitlestringWhen publishedPublic profile page title.
displayNamestringWhen publishedPublic display name.
biostringWhen publishedPublic profile description.
avatarUrlstringWhen publishedPublic avatar URL.
canonicalUrlstringWhen publishedCanonical profile URL declared by the public page.
jsonLdarrayWhen publishedBounded public JSON-LD objects; absent from the archived row.
scrapedAtstringAlwaysTime 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 fieldTypeMeaning
statusstringRow outcome; success for saved rows.
dataAvailablebooleanWhether usable public profile data was parsed.
sourceTransportstringTransport used, such as got_scraping_direct.
extractionMethodstringParser label, such as public_profile_metadata.
accessStatusstringPublic-page access state; public_page for the archived row.
httpStatusintegerHTTP status of the public profile response.
htmlLengthintegerLength of the public HTML read.
cookiesProvidedbooleanWhether cookies were supplied; false for this Actor.
authenticatedbooleanWhether 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.

FieldMeaning
recordTypeSummary discriminator; twitter-profile-summary.
statusRun outcome. The archived example records success; current builds write SUCCEEDED or FAILED in the same field.
dataAvailableWhether at least one profile row was saved.
actorActor slug; twitter-profile-scraper.
sourceSource host; x.com.
provenanceRoute that produced the summary, such as public_x_profile_page.
requestedUsernamesNormalized usernames requested for the run.
profilesRequestedNumber of usernames processed.
itemsStoredProfile rows written.
profilesWithDataProfiles that produced a usable public metadata row.
profilesFailedProfiles that failed or returned no usable public metadata.
diagnosticCountOperational issues recorded for the run.
scrapedAtTime the summary was written, in ISO UTC.
StatusMeaning
SUCCEEDEDCurrent 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.
FAILEDA 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.