X User Profile
Retrieve public profile details for a user on X. Input fields and response shapes depend on the selected implementation. Use it for account discovery and creator research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 3 / 3
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
X User Profile
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
__typenamestringaffiliates_highlighted_labelobjectlabelobjectbadgeobjecturlstring
descriptionstringurlobjecturlstringurlTypestring
userLabelDisplayTypestringuserLabelTypestring
business_accountobjectcreator_subscriptions_countintegercredits_chargedintegercredits_remainingintegerhas_hidden_subscriptions_on_profilebooleanhighlights_infoobjectcan_highlight_tweetsbooleanhighlighted_tweetsstring
idstringis_blue_verifiedbooleanis_profile_translatablebooleanlegacyobjectcreated_atstringdefault_profilebooleandefault_profile_imagebooleandescriptionstringentitiesobjectdescriptionobjecturlsobject[]display_urlstringexpanded_urlstringindicesinteger[]urlstring
urlobjecturlsobject[]display_urlstringexpanded_urlstringindicesinteger[]urlstring
fast_followers_countintegerfavourites_countintegerfollowers_countintegerfriends_countintegerhas_custom_timelinesbooleanis_translatorbooleanlisted_countintegerlocationstringmedia_countintegernamestringnormal_followers_countintegerpinned_tweet_ids_strstring[]possibly_sensitivebooleanprofile_banner_urlstringprofile_image_url_httpsstringprofile_interstitial_typestringscreen_namestringstatuses_countintegertranslator_typestringurlstringverifiedbooleanwithheld_in_countriesunknown[]
legacy_extended_profileobjectprofile_image_shapestringrest_idstringsuccessbooleantipjar_settingsobjectbandcamp_handlestringbitcoin_handlestringcash_app_handlestringethereum_handlestringgofundme_handlestringis_enabledbooleanpatreon_handlestringpay_pal_handlestringvenmo_handlestring
user_seed_tweet_countintegerverification_infoobjectis_identity_verifiedbooleanreasonobjectdescriptionobjectentitiesobject[]from_indexintegerrefobjecturlstringurl_typestring
to_indexinteger
textstring
verified_since_msecstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
__typename?: string;
affiliates_highlighted_label?: {
label?: {
badge?: {
url?: string;
};
description?: string;
url?: {
url?: string;
urlType?: string;
};
userLabelDisplayType?: string;
userLabelType?: string;
};
};
business_account?: Record<string, unknown>;
creator_subscriptions_count?: number;
credits_charged?: number;
credits_remaining?: number;
has_hidden_subscriptions_on_profile?: boolean;
highlights_info?: {
can_highlight_tweets?: boolean;
highlighted_tweets?: string;
};
id?: string;
is_blue_verified?: boolean;
is_profile_translatable?: boolean;
legacy?: {
created_at?: string;
default_profile?: boolean;
default_profile_image?: boolean;
description?: string;
entities?: {
description?: {
urls?: Array<{
display_url?: string;
expanded_url?: string;
indices?: Array<number>;
url?: string;
}>;
};
url?: {
urls?: Array<{
display_url?: string;
expanded_url?: string;
indices?: Array<number>;
url?: string;
}>;
};
};
fast_followers_count?: number;
favourites_count?: number;
followers_count?: number;
friends_count?: number;
has_custom_timelines?: boolean;
is_translator?: boolean;
listed_count?: number;
location?: string;
media_count?: number;
name?: string;
normal_followers_count?: number;
pinned_tweet_ids_str?: Array<string>;
possibly_sensitive?: boolean;
profile_banner_url?: string;
profile_image_url_https?: string;
profile_interstitial_type?: string;
screen_name?: string;
statuses_count?: number;
translator_type?: string;
url?: string;
verified?: boolean;
withheld_in_countries?: Array<unknown>;
};
legacy_extended_profile?: Record<string, unknown>;
profile_image_shape?: string;
rest_id?: string;
success?: boolean;
tipjar_settings?: {
bandcamp_handle?: string;
bitcoin_handle?: string;
cash_app_handle?: string;
ethereum_handle?: string;
gofundme_handle?: string;
is_enabled?: boolean;
patreon_handle?: string;
pay_pal_handle?: string;
venmo_handle?: string;
};
user_seed_tweet_count?: number;
verification_info?: {
is_identity_verified?: boolean;
reason?: {
description?: {
entities?: Array<{
from_index?: number;
ref?: {
url?: string;
url_type?: string;
};
to_index?: number;
}>;
text?: string;
};
verified_since_msec?: string;
};
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| X Profile · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current Twitter — Profile · GET · View API reference | $0.00188 / call | — | —successP50— | |
| Public X (Twitter) profile by handle or numeric id · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile?handle=Austen' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
handle | URL query parametersquery | string | Yes | Twitter handle |
cache_max_age | URL query parametersquery | string | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) enum: "1d", "3d", "7d", "14d", "30d" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"__typename": "User",
"affiliates_highlighted_label": {
"label": {
"badge": {
"url": "https://pbs.twimg.com/profile_images/1542996246477938688/PR4UFtE6_bigger.jpg"
},
"description": "Bloom Institute of Technology",
"url": {
"url": "https://twitter.com/bloomtech",
"urlType": "DeepLink"
},
"userLabelDisplayType": "Badge",
"userLabelType": "BusinessLabel"
}
},
"business_account": {},
"creator_subscriptions_count": 3,
"credits_charged": 1,
"credits_remaining": 1000000,
"has_hidden_subscriptions_on_profile": false,
"highlights_info": {
"can_highlight_tweets": true,
"highlighted_tweets": "482"
},
"id": "VXNlcjoyMjE4MzgzNDk=",
"is_blue_verified": true,
"is_profile_translatable": false,
"legacy": {
"created_at": "Wed Dec 01 19:13:23 +0000 2010",
"default_profile": false,
"default_profile_image": false,
"description": "CEO https://t.co/m6TigM5azr & https://t.co/NuPTghEZ1I (part of @bloomtech). We help teams maximize productivity using AI. Will tweet as I wish and suffer the consequences.",
"entities": {
"description": {
"urls": [
{
"display_url": "GauntletAI.com",
"expanded_url": "http://GauntletAI.com",
"indices": [
4
],
"url": "https://t.co/m6TigM5azr"
}
]
},
"url": {
"urls": [
{
"display_url": "gauntletai.com",
"expanded_url": "http://gauntletai.com",
"indices": [
0
],
"url": "https://t.co/nCe0AdT8D4"
}
]
}
},
"fast_followers_count": 0,
"favourites_count": 80812,
"followers_count": 377608,
"friends_count": 1051,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 3959,
"location": "Austin, TX",
"media_count": 3843,
"name": "Austen Allred",
"normal_followers_count": 377608,
"pinned_tweet_ids_str": [
"1882816395400073367"
],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/221838349/1622098809",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1608281295918096385/D2kh-M28_normal.jpg",
"profile_interstitial_type": "",
"screen_name": "Austen",
"statuses_count": 46114,
"translator_type": "regular",
"url": "https://t.co/nCe0AdT8D4",
"verified": false,
"withheld_in_countries": []
},
"legacy_extended_profile": {},
"profile_image_shape": "Circle",
"rest_id": "221838349",
"success": true,
"tipjar_settings": {
"bandcamp_handle": "",
"bitcoin_handle": "",
"cash_app_handle": "",
"ethereum_handle": "",
"gofundme_handle": "",
"is_enabled": false,
"patreon_handle": "",
"pay_pal_handle": "",
"venmo_handle": ""
},
"user_seed_tweet_count": 0,
"verification_info": {
"is_identity_verified": false,
"reason": {
"description": {
"entities": [
{
"from_index": 54,
"ref": {
"url": "https://twitter.com/bloomtech",
"url_type": "ExternalUrl"
},
"to_index": 64
}
],
"text": "This account is verified because it's an affiliate of @bloomtech on X. Learn more"
},
"verified_since_msec": "1473330227634"
}
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# X User Profile
Retrieve public profile details for a user on X. Input fields and response shapes depend on the selected implementation. Use it for account discovery and creator research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
litescrape · X Profile: https://openany.si/markets/apis/capabilities/x-user-profile?offering=b345a53b-48e9-46df-960f-e704f1d13de3 · $0.00015 / call
scrapecreators · Twitter — Profile: https://openany.si/markets/apis/capabilities/x-user-profile?offering=b39b6d7d-37a8-4336-9a25-214a8595bb5d · $0.00188 / call
tikhub · Public X (Twitter) profile by handle or numeric id: https://openany.si/markets/apis/capabilities/x-user-profile?offering=c259fbd6-be8f-429a-95d2-ad173ffeea84 · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/x-user-profile
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile
Price: $0.00188 / call
Provider: scrapecreators
Contract revision: 5
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile?handle=Austen' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Twitter — Profile",
"endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Twitter handle",
"location": "query",
"name": "handle",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with \"cached\": true and a \"cached_at\" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)",
"enum_values": [
"1d",
"3d",
"7d",
"14d",
"30d"
],
"location": "query",
"name": "cache_max_age",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1880",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"handle": "Austen"
}
},
"response_body": {
"__typename": "User",
"affiliates_highlighted_label": {
"label": {
"badge": {
"url": "https://pbs.twimg.com/profile_images/1542996246477938688/PR4UFtE6_bigger.jpg"
},
"description": "Bloom Institute of Technology",
"url": {
"url": "https://twitter.com/bloomtech",
"urlType": "DeepLink"
},
"userLabelDisplayType": "Badge",
"userLabelType": "BusinessLabel"
}
},
"business_account": {},
"creator_subscriptions_count": 3,
"credits_charged": 1,
"credits_remaining": 1000000,
"has_hidden_subscriptions_on_profile": false,
"highlights_info": {
"can_highlight_tweets": true,
"highlighted_tweets": "482"
},
"id": "VXNlcjoyMjE4MzgzNDk=",
"is_blue_verified": true,
"is_profile_translatable": false,
"legacy": {
"created_at": "Wed Dec 01 19:13:23 +0000 2010",
"default_profile": false,
"default_profile_image": false,
"description": "CEO https://t.co/m6TigM5azr & https://t.co/NuPTghEZ1I (part of @bloomtech). We help teams maximize productivity using AI. Will tweet as I wish and suffer the consequences.",
"entities": {
"description": {
"urls": [
{
"display_url": "GauntletAI.com",
"expanded_url": "http://GauntletAI.com",
"indices": [
4
],
"url": "https://t.co/m6TigM5azr"
}
]
},
"url": {
"urls": [
{
"display_url": "gauntletai.com",
"expanded_url": "http://gauntletai.com",
"indices": [
0
],
"url": "https://t.co/nCe0AdT8D4"
}
]
}
},
"fast_followers_count": 0,
"favourites_count": 80812,
"followers_count": 377608,
"friends_count": 1051,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 3959,
"location": "Austin, TX",
"media_count": 3843,
"name": "Austen Allred",
"normal_followers_count": 377608,
"pinned_tweet_ids_str": [
"1882816395400073367"
],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/221838349/1622098809",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1608281295918096385/D2kh-M28_normal.jpg",
"profile_interstitial_type": "",
"screen_name": "Austen",
"statuses_count": 46114,
"translator_type": "regular",
"url": "https://t.co/nCe0AdT8D4",
"verified": false,
"withheld_in_countries": []
},
"legacy_extended_profile": {},
"profile_image_shape": "Circle",
"rest_id": "221838349",
"success": true,
"tipjar_settings": {
"bandcamp_handle": "",
"bitcoin_handle": "",
"cash_app_handle": "",
"ethereum_handle": "",
"gofundme_handle": "",
"is_enabled": false,
"patreon_handle": "",
"pay_pal_handle": "",
"venmo_handle": ""
},
"user_seed_tweet_count": 0,
"verification_info": {
"is_identity_verified": false,
"reason": {
"description": {
"entities": [
{
"from_index": 54,
"ref": {
"url": "https://twitter.com/bloomtech",
"url_type": "ExternalUrl"
},
"to_index": 64
}
],
"text": "This account is verified because it's an affiliate of @bloomtech on X. Learn more"
},
"verified_since_msec": "1473330227634"
}
}
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
handle- Twitter handle
cache_max_age- If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile?handle=Austen' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "__typename": "User", "affiliates_highlighted_label": { "label": { "badge": { "url": "https://pbs.twimg.com/profile_images/1542996246477938688/PR4UFtE6_bigger.jpg" }, "description": "Bloom Institute of Technology", "url": { "url": "https://twitter.com/bloomtech", "urlType": "DeepLink" }, "userLabelDisplayType": "Badge", "userLabelType": "BusinessLabel" } }, "business_account": {}, "creator_subscriptions_count": 3, "credits_charged": 1, "credits_remaining": 1000000, "has_hidden_subscriptions_on_profile": false, "highlights_info": { "can_highlight_tweets": true, "highlighted_tweets": "482" }, "id": "VXNlcjoyMjE4MzgzNDk=", "is_blue_verified": true, "is_profile_translatable": false, "legacy": { "created_at": "Wed Dec 01 19:13:23 +0000 2010", "default_profile": false, "default_profile_image": false, "description": "CEO https://t.co/m6TigM5azr & https://t.co/NuPTghEZ1I (part of @bloomtech). We help teams maximize productivity using AI. Will tweet as I wish and suffer the consequences.", "entities": { "description": { "urls": [ { "display_url": "GauntletAI.com", "expanded_url": "http://GauntletAI.com", "indices": [ 4 ], "url": "https://t.co/m6TigM5azr" } ] }, "url": { "urls": [ { "display_url": "gauntletai.com", "expanded_url": "http://gauntletai.com", "indices": [ 0 ], "url": "https://t.co/nCe0AdT8D4" } ] } }, "fast_followers_count": 0, "favourites_count": 80812, "followers_count": 377608, "friends_count": 1051, "has_custom_timelines": true, "is_translator": false, "listed_count": 3959, "location": "Austin, TX", "media_count": 3843, "name": "Austen Allred", "normal_followers_count": 377608, "pinned_tweet_ids_str": [ "1882816395400073367" ], "possibly_sensitive": false, "profile_banner_url": "https://pbs.twimg.com/profile_banners/221838349/1622098809", "profile_image_url_https": "https://pbs.twimg.com/profile_images/1608281295918096385/D2kh-M28_normal.jpg", "profile_interstitial_type": "", "screen_name": "Austen", "statuses_count": 46114, "translator_type": "regular", "url": "https://t.co/nCe0AdT8D4", "verified": false, "withheld_in_countries": [] }, "legacy_extended_profile": {}, "profile_image_shape": "Circle", "rest_id": "221838349", "success": true, "tipjar_settings": { "bandcamp_handle": "", "bitcoin_handle": "", "cash_app_handle": "", "ethereum_handle": "", "gofundme_handle": "", "is_enabled": false, "patreon_handle": "", "pay_pal_handle": "", "venmo_handle": "" }, "user_seed_tweet_count": 0, "verification_info": { "is_identity_verified": false, "reason": { "description": { "entities": [ { "from_index": 54, "ref": { "url": "https://twitter.com/bloomtech", "url_type": "ExternalUrl" }, "to_index": 64 } ], "text": "This account is verified because it's an affiliate of @bloomtech on X. Learn more" }, "verified_since_msec": "1473330227634" } } }