---
title: "Twitter/X Community Tweets API"
method: GET
path: "/v1/twitter/community-tweets"
tags: ["Twitter / X"]
---

# Twitter/X Community Tweets API

`GET /v1/twitter/community-tweets`

## Request

- Base URL: `https://api.captapi.com`
- URL: `https://api.captapi.com/v1/twitter/community-tweets`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Posts in an X Community — same 6-metric tweet shape as search.

Pass an X community URL (x.com/i/communities/ID) or community ID — not a tweet/status URL — and get recent posts as clean JSON. Response includes url + communityId + communityName + memberCount (so you often skip a second Community call) plus the listing-window envelope (requested / listingHits / hasMore / truncatedReason=listing-window). There is no cursor — hasMore means raise limit. tweets[] use the shared contract: ISO-8601 publishedAt, engagement{views,likes,replies,retweets,quotes,bookmarks}, isReply / isRetweet / isQuote, hashtags[], media[]. Flat 2 credits (same guest GraphQL surface as Search). Pass cache=true for the 24h shared cache.

Docs: https://captapi.com/apis/twitter-community-tweets

## Query parameters

- `url` string, required
- `limit` integer
- `cache` boolean

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `communityId` string: Community id. Example: "1493446837214187523".
    - `url` string: Canonical URL of the item.
    - `communityName` string: Display name of the X Community.
    - `memberCount` integer: How many members the community has (same signal as /community).
    - `totalReturned` integer: Number of items returned in this response.
    - `tweets` object[]
      - `platform` string: Platform identifier for this response (matches the endpoint's platform).
      - `url` string: Canonical URL of the item.
      - `id` string: Id of this tweets item.
      - `text` string: Text content.
      - `lang` string: Language code of the content.
      - `publishedAt` string: Tweet publish time as ISO-8601 UTC.
      - `author` object: Author name or handle.
        - `username` string
        - `displayName` string
        - `url` string: Canonical URL of the item.
        - `followers` integer
        - `verified` boolean
        - `profileImage` string
      - `isReply` boolean: Whether the tweet is a reply.
      - `isRetweet` boolean: Whether the tweet is a retweet.
      - `isQuote` boolean: Is quote. Example: false.
      - `possiblySensitive` boolean: Possibly sensitive. Example: false.
      - `conversationId` string: Conversation id. Example: "2082466198495662562".
      - `engagement` object: Engagement metrics for the item.
        - `views` integer
        - `likes` integer
        - `replies` integer
        - `retweets` integer
        - `quotes` integer
        - `bookmarks` integer
      - `hashtags` unknown[]: Hashtags extracted from the text.
        - unknown
      - `media` string[]: Media attached to the item.

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `402`: Not enough credits for this request. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.
- `502`: The platform could not be reached or returned nothing usable. Retryable, not billed. 503 and 504 use the same envelope.

---

[API](https://skmtc.dev/captapi/apis/captapi-api.md) · [All operations](https://skmtc.dev/captapi/apis/captapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/captapi/apis/captapi-api/revisions/c9b9ac5ff1bd?raw)
