# X Community Posts

Get X community posts data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as community_id, and retrieve structured data including returned community id field, returned order field, identifier, text, and author context for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/x/x-community-posts/?offering=948d6343-279e-4bbd-9cc2-0ec94065bbad
API ID: 948d6343-279e-4bbd-9cc2-0ec94065bbad
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/x/community-posts
Page update time: 2026-12-03T02:53:42.054Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:41.337Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "X Community Posts request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "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.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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",
      "description": "Get posts from an X community, including authors, engagement and media."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "community_id": {
      "type": "string"
    },
    "order": {
      "type": "string"
    },
    "posts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "author": {
            "type": "object",
            "properties": {
              "created_at": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "followers_count": {
                "type": "integer"
              },
              "following_count": {
                "type": "integer"
              },
              "id": {
                "type": "string"
              },
              "is_blue_verified": {
                "type": "boolean"
              },
              "likes_count": {
                "type": "integer"
              },
              "location": {
                "type": "string"
              },
              "media_count": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "posts_count": {
                "type": "integer"
              },
              "profile_banner_url": {
                "type": "string"
              },
              "profile_image_url": {
                "type": "string"
              },
              "protected": {
                "type": "boolean"
              },
              "url": {
                "type": "string"
              },
              "username": {
                "type": "string"
              },
              "verified": {
                "type": "boolean"
              },
              "website": {
                "type": "string"
              }
            }
          },
          "bookmark_count": {
            "type": "integer"
          },
          "conversation_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "hashtags": {
            "type": "array",
            "items": {}
          },
          "id": {
            "type": "string"
          },
          "lang": {
            "type": "string"
          },
          "like_count": {
            "type": "integer"
          },
          "media": {
            "type": "array",
            "items": {}
          },
          "quote_count": {
            "type": "integer"
          },
          "reply_count": {
            "type": "integer"
          },
          "repost_count": {
            "type": "integer"
          },
          "text": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "urls": {
            "type": "array",
            "items": {}
          },
          "view_count": {
            "type": "integer"
          }
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```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"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- anyapi: https://openany.si/market/apis/x/x-community-posts/?offering=d0df957b-85ec-4d57-8c47-33862f9bc4c7
- litescrape: https://openany.si/market/apis/x/x-community-posts/?offering=948d6343-279e-4bbd-9cc2-0ec94065bbad
- scrapecreators: https://openany.si/market/apis/x/x-community-posts/?offering=820e1d15-521a-48af-b608-ddd231ebdc77

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
