# X Community

Get X community detail 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 identifier, name, returned height field, returned URL, and returned width field for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/x/x-community-detail/?offering=8737aa47-f0f9-43a1-9ff1-0192f17b3e1d
API ID: 8737aa47-f0f9-43a1-9ff1-0192f17b3e1d
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/x/community
Page update time: 2026-12-03T02:53:42.038Z
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.206Z. 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 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.",
          "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."
          }
        }
      },
      "required": [
        "community_id"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get X community details, including its creator, member count and rules."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "community": {
      "type": "object",
      "properties": {
        "banner": {
          "type": "object",
          "properties": {
            "height": {
              "type": "integer"
            },
            "url": {
              "type": "string"
            },
            "width": {
              "type": "integer"
            }
          }
        },
        "created_at_ms": {
          "type": "integer"
        },
        "creator": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "is_blue_verified": {
              "type": "boolean"
            },
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "username": {
              "type": "string"
            },
            "verified": {
              "type": "boolean"
            }
          }
        },
        "default_banner": {
          "type": "object",
          "properties": {
            "height": {
              "type": "integer"
            },
            "url": {
              "type": "string"
            },
            "width": {
              "type": "integer"
            }
          }
        },
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "is_nsfw": {
          "type": "boolean"
        },
        "join_policy": {
          "type": "string"
        },
        "member_count": {
          "type": "integer"
        },
        "member_preview": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "profile_image_url": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "username": {
                "type": "string"
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "url": {
          "type": "string"
        }
      }
    },
    "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' \
  -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": {
    "banner": {
      "height": 500,
      "url": "https://pbs.twimg.com/community_banner_img/1930048753223745537/Ua814CNc?format=jpg&name=orig",
      "width": 1250
    },
    "created_at_ms": 1748073622931,
    "creator": {
      "id": "1921368454449201152",
      "is_blue_verified": true,
      "name": "Carson McCann",
      "url": "https://x.com/carsonrmccann",
      "username": "carsonrmccann",
      "verified": true
    },
    "default_banner": {
      "height": 480,
      "url": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
      "width": 1200
    },
    "description": "This community is for creators and builders who are growing to their first 1,000 followers. Give insights, build your brand, and grow a loyal audience.",
    "id": "1926186499399139650",
    "is_nsfw": false,
    "join_policy": "Open",
    "member_count": 5631,
    "member_preview": [
      {
        "id": "1921368454449201152",
        "name": "Carson McCann",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1963429128402501632/J9C5efvR_normal.jpg",
        "url": "https://x.com/carsonrmccann",
        "username": "carsonrmccann"
      },
      {
        "id": "4006882761",
        "name": "Andromedus",
        "profile_image_url": "https://pbs.twimg.com/profile_images/2011557694264479744/xS6eyqBz_normal.jpg",
        "url": "https://x.com/dzhohola",
        "username": "dzhohola"
      },
      {
        "id": "1924526035552632832",
        "name": "Tai Orser",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1947507215373332480/8oK6TPt5_normal.jpg",
        "url": "https://x.com/Tai_Orser",
        "username": "Tai_Orser"
      },
      {
        "id": "1011619568509509632",
        "name": "Reece Harding",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1960798665720668160/VU298_nF_normal.jpg",
        "url": "https://x.com/ReeceHarding",
        "username": "ReeceHarding"
      },
      {
        "id": "1192561768574472192",
        "name": "Simon Unleashed",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1790570742247043072/uyEKz7o__normal.jpg",
        "url": "https://x.com/SimonSaysKnow",
        "username": "SimonSaysKnow"
      }
    ],
    "name": "The First Thousand",
    "rules": [
      {
        "description": "This isn’t the space to drop ChatGPT engineered empty platitudes",
        "id": "1926189963793609186",
        "name": "No Empty Platitudes"
      },
      {
        "description": "Show how you’re cracking the algorithm",
        "id": "1926190339016048686",
        "name": "Post What’s Working"
      },
      {
        "description": "Post your analytics. Let’s compete to see who is going the hardest",
        "id": "1926190261610135711",
        "name": "Share Your Stats"
      },
      {
        "description": "That’s not the point of this community. It’s to share wins of how you grow, and growing the right audience. If someone interests you, follow them. Permanent ban",
        "id": "1955894627388510537",
        "name": "No F4F posts"
      },
      {
        "id": "1941742414554603805",
        "name": "No fake accounts"
      },
      {
        "description": "Instant permaban, no questions asked",
        "id": "1956428141754523862",
        "name": "No Asking for Followers or Saying Let's Connect"
      }
    ],
    "url": "https://x.com/i/communities/1926186499399139650"
  },
  "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-detail/?offering=e1d19653-3ed6-41b1-b4ea-263758a2ffea
- litescrape: https://openany.si/market/apis/x/x-community-detail/?offering=8737aa47-f0f9-43a1-9ff1-0192f17b3e1d
- scrapecreators: https://openany.si/market/apis/x/x-community-detail/?offering=f0e11033-b6f1-4356-ae4b-f11bb1810aaa

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