X community posts
Retrieve community posts with the X API. Input fields and response shapes depend on the selected implementation. Use it in a social research or monitoring workflow. 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 community posts
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
credits_chargedintegercredits_remainingintegersuccessbooleantweetsobject[]bookmark_countintegerbookmarkedbooleanconversation_id_strstringcreated_atstringdisplay_text_rangeinteger[]favorite_countintegerfavoritedbooleanfull_textstringidstringid_strstringis_quote_statusbooleanlangstringpossibly_sensitivebooleanpossibly_sensitive_editablebooleanquote_countintegerreply_countintegerretweet_countintegerretweetedbooleansourcestringuserobject__typenamestringaffiliates_highlighted_labelobjectavatarobjectimage_urlstring
coreobjectcreated_atstringnamestringscreen_namestring
dm_permissionsobjectidstringis_blue_verifiedbooleanlegacyobjectdefault_profilebooleandefault_profile_imagebooleandescriptionstringentitiesobjectdescriptionobjecturlsunknown[]
fast_followers_countintegerfavourites_countintegerfollowers_countintegerfriends_countintegerhas_custom_timelinesbooleanis_translatorbooleanlisted_countintegermedia_countintegernormal_followers_countintegerpinned_tweet_ids_strstring[]possibly_sensitivebooleanprofile_interstitial_typestringstatuses_countintegertranslator_typestringwithheld_in_countriesunknown[]
locationobjectlocationstring
media_permissionsobjectparody_commentary_fan_labelstringprivacyobjectprotectedboolean
professionalobjectcategoryobject[]icon_namestringidintegernamestring
professional_typestringrest_idstring
profile_image_shapestringrelationship_perspectivesobjectrest_idstringtipjar_settingsobjectbandcamp_handlestringbitcoin_handlestringcash_app_handlestringethereum_handlestringgofundme_handlestringis_enabledbooleanpatreon_handlestringpay_pal_handlestringvenmo_handlestring
verificationobjectverifiedboolean
user_id_strstringview_countstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
credits_charged?: number;
credits_remaining?: number;
success?: boolean;
tweets?: Array<{
bookmark_count?: number;
bookmarked?: boolean;
conversation_id_str?: string;
created_at?: string;
display_text_range?: Array<number>;
favorite_count?: number;
favorited?: boolean;
full_text?: string;
id?: string;
id_str?: string;
is_quote_status?: boolean;
lang?: string;
possibly_sensitive?: boolean;
possibly_sensitive_editable?: boolean;
quote_count?: number;
reply_count?: number;
retweet_count?: number;
retweeted?: boolean;
source?: string;
user?: {
__typename?: string;
affiliates_highlighted_label?: Record<string, unknown>;
avatar?: {
image_url?: string;
};
core?: {
created_at?: string;
name?: string;
screen_name?: string;
};
dm_permissions?: Record<string, unknown>;
id?: string;
is_blue_verified?: boolean;
legacy?: {
default_profile?: boolean;
default_profile_image?: boolean;
description?: string;
entities?: {
description?: {
urls?: Array<unknown>;
};
};
fast_followers_count?: number;
favourites_count?: number;
followers_count?: number;
friends_count?: number;
has_custom_timelines?: boolean;
is_translator?: boolean;
listed_count?: number;
media_count?: number;
normal_followers_count?: number;
pinned_tweet_ids_str?: Array<string>;
possibly_sensitive?: boolean;
profile_interstitial_type?: string;
statuses_count?: number;
translator_type?: string;
withheld_in_countries?: Array<unknown>;
};
location?: {
location?: string;
};
media_permissions?: Record<string, unknown>;
parody_commentary_fan_label?: string;
privacy?: {
protected?: boolean;
};
professional?: {
category?: Array<{
icon_name?: string;
id?: number;
name?: string;
}>;
professional_type?: string;
rest_id?: string;
};
profile_image_shape?: string;
relationship_perspectives?: Record<string, unknown>;
rest_id?: string;
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;
};
verification?: {
verified?: boolean;
};
};
user_id_str?: string;
view_count?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| X / Twitter User Posts · POST · View API reference | $0.00045 / call | —Select to load statistics | —successP50— | |
| X Community Posts · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current Twitter — Community Tweets · GET · View API reference | $0.00188 / call | — | —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: 3. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/community/tweets- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/community/tweets?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650' \
-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 |
|---|---|---|---|---|
url | URL query parametersquery | string | Yes | Community URL |
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.
{
"credits_charged": 1,
"credits_remaining": 1000000,
"success": true,
"tweets": [
{
"bookmark_count": 10,
"bookmarked": false,
"conversation_id_str": "1940874916771123735",
"created_at": "Thu Jul 03 20:46:54 +0000 2025",
"display_text_range": [
0
],
"favorite_count": 173,
"favorited": false,
"full_text": "You just need 1 viral tweet https://t.co/Z4Q5jtsxAp",
"id": "1940874916771123735",
"id_str": "1940874916771123735",
"is_quote_status": false,
"lang": "en",
"possibly_sensitive": false,
"possibly_sensitive_editable": true,
"quote_count": 2,
"reply_count": 55,
"retweet_count": 3,
"retweeted": false,
"source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"user": {
"__typename": "User",
"affiliates_highlighted_label": {},
"avatar": {
"image_url": "https://pbs.twimg.com/profile_images/1590652776719286274/eeualJ2p_normal.jpg"
},
"core": {
"created_at": "Sat Sep 12 14:00:05 +0000 2009",
"name": "Mike in’ Software",
"screen_name": "mikeinsoftware"
},
"dm_permissions": {},
"id": "VXNlcjo3MzY0Nzk2Nw==",
"is_blue_verified": true,
"legacy": {
"default_profile": true,
"default_profile_image": false,
"description": "Senior SWE👨💻 Indie hacking my way to financial freedom 👀 Follow for free early access to next project",
"entities": {
"description": {
"urls": []
}
},
"fast_followers_count": 0,
"favourites_count": 7532,
"followers_count": 1173,
"friends_count": 990,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 8,
"media_count": 518,
"normal_followers_count": 1173,
"pinned_tweet_ids_str": [
"1945599110876176561"
],
"possibly_sensitive": false,
"profile_interstitial_type": "",
"statuses_count": 2931,
"translator_type": "none",
"withheld_in_countries": []
},
"location": {
"location": ""
},
"media_permissions": {},
"parody_commentary_fan_label": "None",
"privacy": {
"protected": false
},
"professional": {
"category": [
{
"icon_name": "IconBriefcaseStroke",
"id": 1055,
"name": "Software developer/Programmer/Software engineer"
}
],
"professional_type": "Creator",
"rest_id": "1928057904189559014"
},
"profile_image_shape": "Circle",
"relationship_perspectives": {},
"rest_id": "73647967",
"tipjar_settings": {
"bandcamp_handle": "",
"bitcoin_handle": "",
"cash_app_handle": "",
"ethereum_handle": "",
"gofundme_handle": "",
"is_enabled": false,
"patreon_handle": "",
"pay_pal_handle": "",
"venmo_handle": ""
},
"verification": {
"verified": false
}
},
"user_id_str": "73647967",
"view_count": "8660"
}
]
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# X community posts
Retrieve community posts with the X API. Input fields and response shapes depend on the selected implementation. Use it in a social research or monitoring workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
anyapi · X / Twitter User Posts: https://openany.si/markets/apis/capabilities/x-community-posts?offering=d0df957b-85ec-4d57-8c47-33862f9bc4c7 · $0.00045 / call
litescrape · X Community Posts: https://openany.si/markets/apis/capabilities/x-community-posts?offering=948d6343-279e-4bbd-9cc2-0ec94065bbad · $0.00015 / call
scrapecreators · Twitter — Community Tweets: https://openany.si/markets/apis/capabilities/x-community-posts?offering=820e1d15-521a-48af-b608-ddd231ebdc77 · $0.00188 / call
## Selected API contract
Documentation: https://openany.si/apis/820e1d15-521a-48af-b608-ddd231ebdc77
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/community/tweets
Price: $0.00188 / call
Provider: scrapecreators
Contract revision: 3
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/community/tweets?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Twitter — Community Tweets",
"endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/community/tweets",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Community URL",
"location": "query",
"name": "url",
"nullable": false,
"required": true,
"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": {
"url": "https://x.com/i/communities/1926186499399139650"
}
},
"response_body": {
"credits_charged": 1,
"credits_remaining": 1000000,
"success": true,
"tweets": [
{
"bookmark_count": 10,
"bookmarked": false,
"conversation_id_str": "1940874916771123735",
"created_at": "Thu Jul 03 20:46:54 +0000 2025",
"display_text_range": [
0
],
"favorite_count": 173,
"favorited": false,
"full_text": "You just need 1 viral tweet https://t.co/Z4Q5jtsxAp",
"id": "1940874916771123735",
"id_str": "1940874916771123735",
"is_quote_status": false,
"lang": "en",
"possibly_sensitive": false,
"possibly_sensitive_editable": true,
"quote_count": 2,
"reply_count": 55,
"retweet_count": 3,
"retweeted": false,
"source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"user": {
"__typename": "User",
"affiliates_highlighted_label": {},
"avatar": {
"image_url": "https://pbs.twimg.com/profile_images/1590652776719286274/eeualJ2p_normal.jpg"
},
"core": {
"created_at": "Sat Sep 12 14:00:05 +0000 2009",
"name": "Mike in’ Software",
"screen_name": "mikeinsoftware"
},
"dm_permissions": {},
"id": "VXNlcjo3MzY0Nzk2Nw==",
"is_blue_verified": true,
"legacy": {
"default_profile": true,
"default_profile_image": false,
"description": "Senior SWE👨💻 Indie hacking my way to financial freedom 👀 Follow for free early access to next project",
"entities": {
"description": {
"urls": []
}
},
"fast_followers_count": 0,
"favourites_count": 7532,
"followers_count": 1173,
"friends_count": 990,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 8,
"media_count": 518,
"normal_followers_count": 1173,
"pinned_tweet_ids_str": [
"1945599110876176561"
],
"possibly_sensitive": false,
"profile_interstitial_type": "",
"statuses_count": 2931,
"translator_type": "none",
"withheld_in_countries": []
},
"location": {
"location": ""
},
"media_permissions": {},
"parody_commentary_fan_label": "None",
"privacy": {
"protected": false
},
"professional": {
"category": [
{
"icon_name": "IconBriefcaseStroke",
"id": 1055,
"name": "Software developer/Programmer/Software engineer"
}
],
"professional_type": "Creator",
"rest_id": "1928057904189559014"
},
"profile_image_shape": "Circle",
"relationship_perspectives": {},
"rest_id": "73647967",
"tipjar_settings": {
"bandcamp_handle": "",
"bitcoin_handle": "",
"cash_app_handle": "",
"ethereum_handle": "",
"gofundme_handle": "",
"is_enabled": false,
"patreon_handle": "",
"pay_pal_handle": "",
"venmo_handle": ""
},
"verification": {
"verified": false
}
},
"user_id_str": "73647967",
"view_count": "8660"
}
]
}
}
]
}
```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 1
Review these request fields before running. Keep the published provider and request method unchanged.
url- Community URL
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/community/tweets?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 1000000, "success": true, "tweets": [ { "bookmark_count": 10, "bookmarked": false, "conversation_id_str": "1940874916771123735", "created_at": "Thu Jul 03 20:46:54 +0000 2025", "display_text_range": [ 0 ], "favorite_count": 173, "favorited": false, "full_text": "You just need 1 viral tweet https://t.co/Z4Q5jtsxAp", "id": "1940874916771123735", "id_str": "1940874916771123735", "is_quote_status": false, "lang": "en", "possibly_sensitive": false, "possibly_sensitive_editable": true, "quote_count": 2, "reply_count": 55, "retweet_count": 3, "retweeted": false, "source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>", "user": { "__typename": "User", "affiliates_highlighted_label": {}, "avatar": { "image_url": "https://pbs.twimg.com/profile_images/1590652776719286274/eeualJ2p_normal.jpg" }, "core": { "created_at": "Sat Sep 12 14:00:05 +0000 2009", "name": "Mike in’ Software", "screen_name": "mikeinsoftware" }, "dm_permissions": {}, "id": "VXNlcjo3MzY0Nzk2Nw==", "is_blue_verified": true, "legacy": { "default_profile": true, "default_profile_image": false, "description": "Senior SWE👨💻 Indie hacking my way to financial freedom 👀 Follow for free early access to next project", "entities": { "description": { "urls": [] } }, "fast_followers_count": 0, "favourites_count": 7532, "followers_count": 1173, "friends_count": 990, "has_custom_timelines": true, "is_translator": false, "listed_count": 8, "media_count": 518, "normal_followers_count": 1173, "pinned_tweet_ids_str": [ "1945599110876176561" ], "possibly_sensitive": false, "profile_interstitial_type": "", "statuses_count": 2931, "translator_type": "none", "withheld_in_countries": [] }, "location": { "location": "" }, "media_permissions": {}, "parody_commentary_fan_label": "None", "privacy": { "protected": false }, "professional": { "category": [ { "icon_name": "IconBriefcaseStroke", "id": 1055, "name": "Software developer/Programmer/Software engineer" } ], "professional_type": "Creator", "rest_id": "1928057904189559014" }, "profile_image_shape": "Circle", "relationship_perspectives": {}, "rest_id": "73647967", "tipjar_settings": { "bandcamp_handle": "", "bitcoin_handle": "", "cash_app_handle": "", "ethereum_handle": "", "gofundme_handle": "", "is_enabled": false, "patreon_handle": "", "pay_pal_handle": "", "venmo_handle": "" }, "verification": { "verified": false } }, "user_id_str": "73647967", "view_count": "8660" } ] }