Twitter / X · Guide

How to get Twitter / X community tweets

TL;DR
To get Twitter / X community tweets, sign up for a free Captapi key, then send one GET request to /v1/twitter/community-tweets with your input. You get clean JSON back in seconds for ~18 credits (0.7/result) per call — no OAuth, scraping or platform SDKs. List Twitter / X community tweets with full metadata for each item.

How to get Twitter / X community tweets (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Twitter/X Community Tweets API

    Send an authenticated GET request to /v1/twitter/community-tweets with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/twitter/community-tweets?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F1816004914774937656" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "communityId": "1493446837214187523",
    "totalReturned": 5,
    "tweets": [
      {
        "platform": "twitter",
        "url": "https://x.com/MalikSarran/status/2078438834728280149",
        "id": "2078438834728280149",
        "text": "One thing that surprised me while building WorkoAI:Even with powerful agents, human oversight is still extremely important.That’s why we built a proper Approval Center where sensitive actions (sending emails, updating CRMs, creating invoices, etc.) pause for review with full",
        "lang": "en",
        "publishedAt": "Sat Jul 18 11:16:48 +0000 2026",
        "author": {
          "username": "MalikSarran",
          "displayName": "Sarran Haider",
          "url": "https://x.com/MalikSarran",
          "followers": 26,
          "verified": true,
          "profileImage": "https://pbs.twimg.com/profile_images/2078121972320669696/lIPzAttX_normal.jpg"
        },
        "engagement": {
          "views": 6,
          "likes": 0,
          "replies": 0,
          "retweets": 0,
          "quotes": 0,
          "bookmarks": 0
        },
        "isReply": false,
        "isRetweet": false,
        "hashtags": [
          "BuildInPublic",
          "AIagents",
          "StartupToolsThis"
        ],
        "media": []
      },
      {
        "platform": "twitter",
        "url": "https://x.com/thesukhjitbajwa/status/2078438809226867013",
        "id": "2078438809226867013",
        "text": "Sidebar... Inspired by OG @mannupaaji https://t.co/V363iOhYHS",
        "lang": "no",
        "publishedAt": "Sat Jul 18 11:16:42 +0000 2026",
        "author": {
          "username": "thesukhjitbajwa",
          "displayName": "Sukhjit Singh",
          "url": "https://x.com/thesukhjitbajwa",
          "followers": 96,
          "verified": false,
          "profileImage": "https://pbs.twimg.com/profile_images/1972680378327470080/lTY8zD1q_normal.jpg"
        },
        "engagement": {
          "views": 3,
          "likes": 0,
          "replies": 0,
          "retweets": 0,
          "quotes": 0,
          "bookmarks": 0
        },
        "isReply": false,
        "isRetweet": false,
        "hashtags": [],
        "media": [
          "https://pbs.twimg.com/media/HNgYLEVaMAA7A46.png",
          "https://pbs.twimg.com/media/HNgYx14acAE1Dm1.png"
        ]
      },
      {
        "platform": "twitter",
        "url": "https://x.com/nirvanaxjude/status/2078438505118589399",
        "id": "2078438505118589399",
        "text": "Ban like 15 words and the AI Sound dies instantly.\n\nThe fastest tone fix I know takes one line in your prompt and it strips out maybe 70% of that AI smell.\n\nNot a rewrite. Not some fancy system prompt. A ban list.\n\nHere's the thing about prompting most people never learn..... https://t.co/FMBgXNAe1M",
        "lang": "en",
        "publishedAt": "Sat Jul 18 11:15:29 +0000 2026",
        "author": {
          "username": "nirvanaxjude",
          "displayName": "Jude Olaboboye",
          "url": "https://x.com/nirvanaxjude",
          "followers": 115,
          "verified": true,
          "profileImage": "https://pbs.twimg.com/profile_images/1992886110142255104/fLkDOyqI_normal.jpg"
        },
        "engagement": {
          "views": 11,
          "likes": 0,
          "replies": 0,
          "retweets": 0,
          "quotes": 0,
          "bookmarks": 0
        },
        "isReply": false,
        "isRetweet": false,
        "hashtags": [],
        "media": [
          "https://pbs.twimg.com/media/HNgYaOEWkAAMOS0.jpg"
        ]
      },
      {
        "platform": "twitter",
        "url": "https://x.com/authorityvortex/status/2078438464715133008",
        "id": "2078438464715133008",
        "text": "Hey outbounders and SaaS builders.\n\nYou probably know I run ReachVortex? An outbound platform that does all for you, prospect, verify, enrich, signals (soon to be added), send emails and submit forms.\n\nI'm going to dive more into agentic prospecting but I use a hybrid model of",
        "lang": "en",
        "publishedAt": "Sat Jul 18 11:15:20 +0000 2026",
        "author": {
          "username": "authorityvortex",
          "displayName": "Dennis H",
          "url": "https://x.com/authorityvortex",
          "followers": 531,
          "verified": true,
          "profileImage": "https://pbs.twimg.com/profile_images/2072639180363153408/YkHz5kcz_normal.jpg"
        },
        "engagement": {
          "views": 4,
          "likes": 0,
          "replies": 0,
          "retweets": 0,
          "quotes": 0,
          "bookmarks": 0
        },
        "isReply": false,
        "isRetweet": false,
        "hashtags": [],
        "media": []
      },
      {
        "platform": "twitter",
        "url": "https://x.com/MrPugo/status/2078438351955284152",
        "id": "2078438351955284152",
        "text": "I added a Brand Palette Maker to Dopely a while ago.\n\nCustomers have been using it and they seem to really like v1.\n\nNow I’m thinking about what to add next.\n\nIf you were using a tool like this for your SaaS, brand, template shop, or product — what would you expect it to include? https://t.co/91dYxnDT1p",
        "lang": "en",
        "publishedAt": "Sat Jul 18 11:14:53 +0000 2026",
        "author": {
          "username": "MrPugo",
          "displayName": "Mr. Pugo",
          "url": "https://x.com/MrPugo",
          "followers": 351,
          "verified": true,
          "profileImage": "https://pbs.twimg.com/profile_images/1696963891941486592/EswqfXk7_normal.jpg"
        },
        "engagement": {
          "views": 1,
          "likes": 0,
          "replies": 0,
          "retweets": 0,
          "quotes": 0,
          "bookmarks": 0
        },
        "isReply": false,
        "isRetweet": false,
        "hashtags": [],
        "media": [
          "https://pbs.twimg.com/amplify_video_thumb/2078436738029006848/img/ycw33LUWKACiBFN_.jpg"
        ]
      }
    ]
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesX community URL (x.com/i/communities/ID) or community ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
limitintegerNoMax items to return (default 25, max 200). Billed per result.
cachebooleanNoSet true to serve from the 24h response cache. Default false — always fetch fresh data.

Frequently asked questions

What does the Twitter/X Community Tweets API do?

The Twitter/X Community Tweets API lets you list items in bulk with metadata from a public Twitter / X tweet using one GET request to /v1/twitter/community-tweets. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Twitter/X Community Tweets API cost?

At the default limit this endpoint costs 18 credits (0.7 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.

Do I need a Twitter / X API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the Twitter/X Community Tweets API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.

Ready to get Twitter / X community tweets?

Start free with 100 credits — no credit card required.

Get your free API key