OpenAny
Get API keyAPI Key
APIDataScrapers

x logo
X community detail API

Get X community detail via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 3 implementations (anyapi, LiteScrape and ScrapeCreators), pass parameters such as url, and retrieve structured data including identifier, name, returned created utc field, returned creator handle field, and description for content research and account lookup, and integration reference.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
3 / 3
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

X community detail API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
X community detail API

X Community API

Retrieve X community details, including its creator, member count and rules. Provide community_id in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: timeout; body: body
Selected implementation litescrape · X Community
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
community.id Identifier
community.name Name
community.banner.height Returned height field
community.banner.url Returned URL
community.banner.width Returned width field
community.created_at_ms Returned created at ms field
community.creator.id Identifier
community.creator.name Name

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
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"
}'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published X Community API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* object
Numeric X community ID as a string.
Get X community details, including its creator, member count and rules.
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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Twitter Community · POST · View API reference
$0.0001 / call—Select to load statistics
—successP50—
Current
X Community · POST · View API reference
$0.00015 / call0
—successP50—
Twitter — Community · GET · View API reference
$0.00188 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
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: 4. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/x/community
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
community_idJSON request bodybodystringYes

Numeric X community ID as a string.

pattern: ^[1-9][0-9]{0,19}$

timeoutURL query parametersquerynumberNo

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

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • communityobject
    • bannerobject
      • heightinteger
      • urlstring
      • widthinteger
    • created_at_msinteger
    • creatorobject
      • idstring
      • is_blue_verifiedboolean
      • namestring
      • urlstring
      • usernamestring
      • verifiedboolean
    • default_bannerobject
      • heightinteger
      • urlstring
      • widthinteger
    • descriptionstring
    • idstring
    • is_nsfwboolean
    • join_policystring
    • member_countinteger
    • member_previewobject[]
      • idstring
      • namestring
      • profile_image_urlstring
      • urlstring
      • usernamestring
    • namestring
    • rulesobject[]
      • descriptionstring
      • idstring
      • namestring
    • urlstring
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 X community details, including its creator, member count and rules.
    Terminal · cURL
    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"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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"
    }

Common questions

Which inputs identify this request?

Provide community_id in body (string). Keep identifiers and URLs in the formats documented for this implementation.

What type does timeout use?

timeout uses the JSON type number in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use X community detail API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.