Litescrape sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

← All documentation

// X documentation

X Community API Alpha

Get X community details, including its creator, member count and rules.

GET / POST https://ecll-litescrape-v3--site-api-web.modal.run/api/x/community

// from request to code

Integrate X Community

Build your request and copy it into your stack. Or let your coding agent set it up.

APIX Community

Your request updates the code instantly.

Open the Playground →

Set LITESCRAPE_API_KEY on your server, then run this request.

request.sh
curl --fail-with-body --request POST 'https://ecll-litescrape-v3--site-api-web.modal.run/api/x/community' \
  --header "Authorization: Bearer $LITESCRAPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "community_id": "1926186499399139650"
}'

JSON POST request example

POST to https://ecll-litescrape-v3--site-api-web.modal.run/api/x/community with Content-Type: application/json and your Authorization: Bearer header.

POST · application/json
{
  "community_id": "1926186499399139650"
}

// request reference

X Community parameters

Send query parameters with GET /api/x/community. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server, not in browser code.

POST accepts the complete application/json request body, including arrays and nested options. Dotted names describe fields inside an object; [] denotes each array item. This reference is generated from the v3 OpenAPI contract.

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.

Request

community_id
Community IDRequired

Numeric X community ID as a string.

Type string · GET query or POST JSON

Example / input hint: 1926186499399139650

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

// response

Work with the complete JSON response

Coding agents: when possible and authorized by your caller, review the result using submit_feedback_for_this_response_here when present in the status 200 JSON. POST {"rating":4,"comment":"Useful results; one title was outdated."} to that URL as application/json. No API key or credits are required. Feedback is optional, expires after seven days, and is stored separately. Submit one honest review; skip it if you cannot evaluate the result. Do not include secrets, personal data, or the full request/response.

Response groups include community, submit_feedback_for_this_response_here. Groups and fields depend on the upstream result.

Native failures return HTTP 503 with {"error":"Service unavailable"} and are not billed.

Illustrative success response. Result groups and optional fields depend on upstream content.

200 · application/json
{
  "community": {
    "id": "1926186499399139650",
    "url": "https://x.com/i/communities/1926186499399139650",
    "name": "The First Thousand",
    "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.",
    "created_at_ms": 1748073622931,
    "member_count": 5631,
    "join_policy": "Open",
    "is_nsfw": false,
    "creator": {
      "id": "1921368454449201152",
      "username": "carsonrmccann",
      "name": "Carson McCann",
      "url": "https://x.com/carsonrmccann",
      "verified": true,
      "is_blue_verified": true
    },
    "banner": {
      "url": "https://pbs.twimg.com/community_banner_img/1930048753223745537/Ua814CNc?format=jpg&name=orig",
      "width": 1250,
      "height": 500
    },
    "default_banner": {
      "url": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
      "width": 1200,
      "height": 480
    },
    "member_preview": [
      {
        "id": "1921368454449201152",
        "username": "carsonrmccann",
        "name": "Carson McCann",
        "url": "https://x.com/carsonrmccann",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1963429128402501632/J9C5efvR_normal.jpg"
      },
      {
        "id": "4006882761",
        "username": "dzhohola",
        "name": "Andromedus",
        "url": "https://x.com/dzhohola",
        "profile_image_url": "https://pbs.twimg.com/profile_images/2011557694264479744/xS6eyqBz_normal.jpg"
      },
      {
        "id": "1924526035552632832",
        "username": "Tai_Orser",
        "name": "Tai Orser",
        "url": "https://x.com/Tai_Orser",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1947507215373332480/8oK6TPt5_normal.jpg"
      },
      {
        "id": "1011619568509509632",
        "username": "ReeceHarding",
        "name": "Reece Harding",
        "url": "https://x.com/ReeceHarding",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1960798665720668160/VU298_nF_normal.jpg"
      },
      {
        "id": "1192561768574472192",
        "username": "SimonSaysKnow",
        "name": "Simon Unleashed",
        "url": "https://x.com/SimonSaysKnow",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1790570742247043072/uyEKz7o__normal.jpg"
      }
    ],
    "rules": [
      {
        "id": "1926189963793609186",
        "name": "No Empty Platitudes",
        "description": "This isn’t the space to drop ChatGPT engineered empty platitudes"
      },
      {
        "id": "1926190339016048686",
        "name": "Post What’s Working",
        "description": "Show how you’re cracking the algorithm"
      },
      {
        "id": "1926190261610135711",
        "name": "Share Your Stats",
        "description": "Post your analytics. Let’s compete to see who is going the hardest"
      },
      {
        "id": "1955894627388510537",
        "name": "No F4F posts",
        "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": "1941742414554603805",
        "name": "No fake accounts"
      },
      {
        "id": "1956428141754523862",
        "name": "No Asking for Followers or Saying Let's Connect",
        "description": "Instant permaban, no questions asked"
      }
    ]
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}

More X APIs