Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Twitter Community timeline

API-Dokumentation
https://api.sandbase.ai/v1/api/twitter/web/community-timeline

Get community timeline on Twitter. Returns the platform data as structured JSON.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 2 optional

Playground

Eingabe
Community ID
Ranking
Cursor
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Twitter Community timeline API

This API returns a page of posts from a Twitter Community timeline. It needs a community_id and returns each post with its text, author, engagement counts and attached media.

Use cases

  • Monitor what members of a crypto or niche community post each day.
  • Collect posts with high views or retweets to find the most active topics in a community.
  • Download video or photo URLs from community posts for archiving or review.
  • Track which authors post most often in a community and whether they are blue_verified.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/community-timeline" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"community_id": "1493290339532222469"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
community_idstringYesCommunity ID
cursorstringNoCursor
rankingstringNoRanking

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "cursor": "DAAFCgABHWL0VND__-oLAAIAAADoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJNZFlNZzdyWmRCRWgx…",
  "timeline": [
    {
      "author": {
        "avatar": null,
        "blue_verified": true,
        "name": "DPMF",
        "rest_id": "1452284866792464395",
        "screen_name": "DPMF_XDX"
      },
      "bookmarks": null,
      "created_at": "Mon Nov 02 12:56:30 +0000 2026",
      "favorites": 24,
      "lang": "en",
      "media": {
        "video": [
          {
            "aspect_ratio": [
              80
            ],
            "duration": 14280,
            "id": "2117239410529869824",
            "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2117239410529869824/img/9LrC8iqrcHuErv…",
            "original_info": {
              "focus_rects": [],
              "height": 976,
              "width": 1280
            },
            "variants": [
              {
                "content_type": "application/x-mpegURL",
                "url": "https://video.twimg.com/amplify_video/2117239410529869824/pl/1FzcdDBLNfg9eZzQ.m3…"
              }
            ]
          }
        ]
      },
      "quoted": {
        "author": {
          "avatar": null,
          "blue_verified": true,
          "name": "DPMF",
          "rest_id": "1452284866792464395",
          "screen_name": "DPMF_XDX"
        },
        "bookmarks": 9,
        "conversation_id": "2109604567742611954",
        "created_at": "Mon Oct 12 11:18:18 +0000 2026",
        "favorites": 40,
        "lang": "en",
        "media": {
          "video": [
            {
              "aspect_ratio": [
                9
              ],
              "duration": 26700,
              "id": "2109604322098941952",
              "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2109604322098941952/img/7ITOFjzIw1zXzT…",
              "original_info": {
                "focus_rects": [],
                "height": 3840,
                "width": 2160
              },
              "variants": [
                {
                  "content_type": "application/x-mpegURL",
                  "url": "https://video.twimg.com/amplify_video/2109604322098941952/pl/ZRrfNz5avQmyKcBw.m3…"
                }
              ]
            }
          ]
        },
        "quotes": 3
      },
      "quotes": 1,
      "replies": 10,
      "retweets": 15,
      "screen_name": "DPMF_XDX",
      "source": null
    }
  ]
}

Response fields

FieldMeaning
timeline[]List of posts in the community timeline.
timeline[].tweet_idID of the post.
timeline[].textText of the post. Long text may be cut.
timeline[].created_atPost time as a string, for example Mon Nov 02 12:56:30 +0000 2026.
timeline[].author.name / timeline[].author.screen_name / timeline[].author.rest_idDisplay name, handle and numeric user ID of the author.
timeline[].author.blue_verifiedWhether the author has the blue verified badge.
timeline[].favorites / timeline[].replies / timeline[].retweets / timeline[].quotes / timeline[].viewsEngagement counts for the post. views is returned as a string.
timeline[].media.video[].variants[]Video files for the post. Each has a url and content_type. MP4 variants also have a bitrate.
timeline[].media.photo[].media_url_httpsImage URL for a photo attached to the post.
timeline[].quotedThe post that this post quotes, with its own author, counts and media. It appears only on quote posts.
cursorValue for the next page of the timeline.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
X (Twitter)$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON

Anleitungen:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Fragen

FAQ

Wie verwende ich die Twitter Community timeline API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/twitter/web/community-timeline mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Twitter Community timeline API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Twitter Community timeline API?

Erforderlich: community_id (string). Optional: ranking (string) und cursor (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Twitter Community timeline API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein X (Twitter)-Entwicklerkonto oder einen API-Schlüssel?

Nein. Twitter Community timeline läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für X (Twitter) API beantragen.