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.00015 / 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.00015 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
community_idstringorderstringpostsobject[]authorobjectcreated_atstringdescriptionstringfollowers_countintegerfollowing_countintegeridstringis_blue_verifiedbooleanlikes_countintegerlocationstringmedia_countintegernamestringposts_countintegerprofile_banner_urlstringprofile_image_urlstringprotectedbooleanurlstringusernamestringverifiedbooleanwebsitestring
bookmark_countintegerconversation_idstringcreated_atstringhashtagsunknown[]idstringlangstringlike_countintegermediaunknown[]quote_countintegerreply_countintegerrepost_countintegertextstringurlstringurlsunknown[]view_countinteger
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
community_id?: string;
order?: string;
posts?: Array<{
author?: {
created_at?: string;
description?: string;
followers_count?: number;
following_count?: number;
id?: string;
is_blue_verified?: boolean;
likes_count?: number;
location?: string;
media_count?: number;
name?: string;
posts_count?: number;
profile_banner_url?: string;
profile_image_url?: string;
protected?: boolean;
url?: string;
username?: string;
verified?: boolean;
website?: string;
};
bookmark_count?: number;
conversation_id?: string;
created_at?: string;
hashtags?: Array<unknown>;
id?: string;
lang?: string;
like_count?: number;
media?: Array<unknown>;
quote_count?: number;
reply_count?: number;
repost_count?: number;
text?: string;
url?: string;
urls?: Array<unknown>;
view_count?: number;
}>;
submit_feedback_for_this_response_here?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| X / Twitter User Posts · POST · View API reference | $0.00045 / call | —Select to load statistics | —successP50— | |
Current X Community Posts · POST · View API reference | $0.00015 / call | — | —successP50— | |
| Twitter — Community Tweets · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00015
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.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/x/community-posts- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/x/community-posts' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"community_id": "1926186499399139650"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
community_id | JSON request bodybody | string | Yes | Numeric X community ID as a string, from its /i/communities/ URL. pattern: ^[1-9][0-9]{0,19}$ |
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.
{
"community_id": "1926186499399139650",
"order": "ranked",
"posts": [
{
"author": {
"created_at": "Thu Jan 28 15:23:23 +0000 2021",
"description": "Working on improving Claude user experience and making something wonderful ❤️\n\nShowing up every day to build and seeing what everyone else is building 🚧",
"followers_count": 495,
"following_count": 825,
"id": "1354812288637624325",
"is_blue_verified": true,
"likes_count": 1663,
"location": "Palo Alto, CA",
"media_count": 47,
"name": "Jason",
"posts_count": 560,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1354812288637624325/1779922906",
"profile_image_url": "https://pbs.twimg.com/profile_images/2041658850236125184/5LMT-JmL_normal.jpg",
"protected": false,
"url": "https://x.com/jasonjias",
"username": "jasonjias",
"verified": true,
"website": "https://www.santarow.com"
},
"bookmark_count": 0,
"conversation_id": "2106954044686397612",
"created_at": "Mon Oct 05 03:46:04 +0000 2026",
"hashtags": [],
"id": "2106954044686397612",
"lang": "en",
"like_count": 12,
"media": [],
"quote_count": 0,
"reply_count": 10,
"repost_count": 0,
"text": "I’m a solo founder in Palo Alto\n\nif you’re a founder, builder, or working on ai, tech, or cool stuff let’s connect!\n\nLet’s grow together!",
"url": "https://x.com/jasonjias/status/2106954044686397612",
"urls": [],
"view_count": 249
}
],
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}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/markets/apis/capabilities/x-community-posts
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/x/community-posts
Price: $0.00015 / call
Provider: litescrape
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/litescrape/api/x/community-posts' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"community_id": "1926186499399139650"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "X Community Posts",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/x/community-posts",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Get posts from an X community, including authors, engagement and media.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"community_id": "1926186499399139650"
}
],
"properties": {
"community_id": {
"description": "Numeric X community ID as a string, from its /i/communities/ URL.",
"pattern": "^[1-9][0-9]{0,19}$",
"title": "Community Id",
"type": "string",
"x-litescrape": {
"group": 0,
"label": "Community ID",
"placeholder": "1926186499399139650",
"summary": "Numeric X community ID as a string, from its /i/communities/ URL."
}
}
},
"required": [
"community_id"
],
"title": "Request",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"community_id": "1926186499399139650"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"community_id": "1926186499399139650",
"order": "ranked",
"posts": [
{
"author": {
"created_at": "Thu Jan 28 15:23:23 +0000 2021",
"description": "Working on improving Claude user experience and making something wonderful ❤️\n\nShowing up every day to build and seeing what everyone else is building 🚧",
"followers_count": 495,
"following_count": 825,
"id": "1354812288637624325",
"is_blue_verified": true,
"likes_count": 1663,
"location": "Palo Alto, CA",
"media_count": 47,
"name": "Jason",
"posts_count": 560,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1354812288637624325/1779922906",
"profile_image_url": "https://pbs.twimg.com/profile_images/2041658850236125184/5LMT-JmL_normal.jpg",
"protected": false,
"url": "https://x.com/jasonjias",
"username": "jasonjias",
"verified": true,
"website": "https://www.santarow.com"
},
"bookmark_count": 0,
"conversation_id": "2106954044686397612",
"created_at": "Mon Oct 05 03:46:04 +0000 2026",
"hashtags": [],
"id": "2106954044686397612",
"lang": "en",
"like_count": 12,
"media": [],
"quote_count": 0,
"reply_count": 10,
"repost_count": 0,
"text": "I’m a solo founder in Palo Alto\n\nif you’re a founder, builder, or working on ai, tech, or cool stuff let’s connect!\n\nLet’s grow together!",
"url": "https://x.com/jasonjias/status/2106954044686397612",
"urls": [],
"view_count": 249
}
],
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
}
]
}
```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.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Get posts from an X community, including authors, engagement and media.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/x/community-posts' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "community_id": "1926186499399139650" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "community_id": "1926186499399139650", "order": "ranked", "posts": [ { "author": { "created_at": "Thu Jan 28 15:23:23 +0000 2021", "description": "Working on improving Claude user experience and making something wonderful ❤️\n\nShowing up every day to build and seeing what everyone else is building 🚧", "followers_count": 495, "following_count": 825, "id": "1354812288637624325", "is_blue_verified": true, "likes_count": 1663, "location": "Palo Alto, CA", "media_count": 47, "name": "Jason", "posts_count": 560, "profile_banner_url": "https://pbs.twimg.com/profile_banners/1354812288637624325/1779922906", "profile_image_url": "https://pbs.twimg.com/profile_images/2041658850236125184/5LMT-JmL_normal.jpg", "protected": false, "url": "https://x.com/jasonjias", "username": "jasonjias", "verified": true, "website": "https://www.santarow.com" }, "bookmark_count": 0, "conversation_id": "2106954044686397612", "created_at": "Mon Oct 05 03:46:04 +0000 2026", "hashtags": [], "id": "2106954044686397612", "lang": "en", "like_count": 12, "media": [], "quote_count": 0, "reply_count": 10, "repost_count": 0, "text": "I’m a solo founder in Palo Alto\n\nif you’re a founder, builder, or working on ai, tech, or cool stuff let’s connect!\n\nLet’s grow together!", "url": "https://x.com/jasonjias/status/2106954044686397612", "urls": [], "view_count": 249 } ], "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }