Start free

X: what your agent can read

Trawl reads public accounts, their posts and replies, single posts by URL with their replies, hashtags, and search with X’s own search syntax.

Updated

Markdown version

Tools that work here

  • list_posts: accounts, hashtags.
  • read_post: posts, comments.
  • read_profile: accounts.
  • search_posts: keywords.

Accepted URLs and short forms

Pass a full URL or the short form. Each input maps to one kind of object and one canonical URL, which is what the answer prints.

Accepted formKindToolsExampleCanonical URL in the answer
x.com/<handle>, twitter.com/<handle>, mobile.twitter.com/<handle>, x.com/<handle>/with_replies, x.com/<handle>/mediaaccountread_profile, list_postshttps://x.com/NASAsame
x.com/<handle>/status/<id>, x.com/<handle>/statuses/<id>, x.com/<handle>/status/<id>/photo/<n>postread_posthttps://x.com/jack/status/20same
x.com/i/web/status/<id>, x.com/i/status/<id>postread_posthttps://x.com/i/web/status/20same
x.com/hashtag/<tag>hashtaglist_postshttps://x.com/hashtag/Artemis?src=hashtag_clickhttps://x.com/hashtag/Artemis
x.com/home, x.com/explore, x.com/search, x.com/settings → unsupported_url: reserved pathsunsupported_url–https://x.com/home–
t.co/<code> → short linkshort link, resolved onceafter resolvinghttps://t.co/AbCdEf1234–
shorthand x:@<handle>, x:<handle>, twitter:@<handle>accountread_profile, list_postsx:@nasahttps://x.com/nasa
shorthand x:#<tag>hashtaglist_postsx:#artemishttps://x.com/hashtag/artemis

A real answer

@NASA on X, read on 3 December 2026. This is the MCP form: one header line and minified JSON, indented here to read. Over REST the same data comes inside {"meta": {…}, "data": {…}} (both forms).

Call
list_posts {"url":"x:@NASA","limit":2,"text_chars":50}
Answer
json
2 posts · x · 3 credits · 9,997 left · fresh
{
  "author": {
    "name": "NASA",
    "handle": "NASA"
  },
  "items": [
    {
      "url": "https://x.com/NASA/status/2128238571848884457",
      "kind": "post",
      "text": "Our @NASAHubble telescope is gazing into the unive…[+170 chars]",
      "created_at": "2026-12-02T21:23Z",
      "stats": {
        "likes": 1673,
        "comments": 72,
        "shares": 239,
        "views": 286999
      },
      "media": "1 image",
      "lang": "en"
    },
    {
      "url": "https://x.com/NASA/status/2127855687975747659",
      "kind": "post",
      "text": "As December arrives, 2026 comes to a close. Here’s…[+209 chars]",
      "created_at": "2026-12-01T20:01Z",
      "stats": {
        "likes": 2316,
        "comments": 162,
        "shares": 393,
        "views": 893353
      },
      "media": "1 video",
      "lang": "en"
    }
  ]
}

Prices

Credits. A fresh, successful read costs base + per item × min(items read, items asked for). Items are posts, videos, profiles, comments, transcripts or job ads. A search with a date filter also pays for the older items we read and leave out; a read that finds nothing to read pays only the base. Answers from the cache cost 1 credit, errors cost nothing, and the account tool is free. read_post with comments costs the post job plus the comments job. One Reddit thread with 20 comments: 23 + 80 = 103 credits.
ToolJobUnitBasePer itemExample
read_profileprofile: accountsprofile1111 for 10
list_postsposts: accounts, hashtagspost1111 for 10
read_postpostpost1111 for 10
read_postcommentscomment1111 for 10
search_postssearchpost1111 for 10

Limits

  • Default text length per item: 280 characters in lists (140 when the item has a title), 3,000 in read_post, 200 per comment. Longer text ends with …[+N chars]. text_chars takes 0 to 5,000; 0 leaves the text out and keeps titles.
  • search_posts passes X search syntax through, for example from:nasa lang:en.
  • In our tests, search_posts with sort: "new" and a single word also matched account names and handles, so posts without the word came back.
  • Reserved paths such as /home or /explore answer unsupported_url.
  • Replies (read_post with comments) come in X’s relevance order (the reply reader is asked for relevance); there is no sort option.
  • Only public data. No private or logged-in content, no e-mail addresses or phone numbers.

The social web is one tool call away.

Fetch https://trawlmcp.com/setup.md and follow it to set me up with Trawl.