# Read your X (Twitter) bookmarks

Automatically read your X (Twitter) bookmarks on x.com. List the posts the signed-in X (Twitter) account has bookmarked, in the order X shows them: the most recently bookmarked first. All bookmarks are read, not one bookmark folder. Returns per post: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to and quoted_tweet ({id, author_handle}, null when not a reply or a quote). created_at is when the post was written, not when it was bookmarked: X does not show that date. With count, the script scrolls until it has count, reaches the end, or X stops loading; complete says whether it reached the end. When the browser is signed out of X, the run fails with a signed-out error asking you to sign in to x.com.

- Site: x.com
- Address: `reduck/x.com/get_bookmarks`
- Updated: 2026-11-26 (v1)
- Author: Reduck AI (reduck)

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/x.com/get_bookmarks`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/x.com/get_bookmarks
```

## Input

- `count` (integer, optional): How many to return. Without it, the script returns the first page X shows (often about 20). With it, the script loads more until it has count, reaches the end, or X stops loading; complete says whether it reached the end.

## Output

- `count` (integer, required): Number of posts returned. 0 is a valid answer: the account has no bookmarks.
- `tweets` (array, required)
- `complete` (boolean, required): True when X showed the end of the bookmarks and every one it sent is returned. False when there may be more: count was reached, X stopped loading, or no count was given and the first page is not the end.

## FAQ

### What does "Read your X (Twitter) bookmarks" do?

List the posts the signed-in X (Twitter) account has bookmarked, in the order X shows them: the most recently bookmarked first. All bookmarks are read, not one bookmark folder. Returns per post: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to and quoted_tweet ({id, author_handle}, null when not a reply or a quote). created_at is when the post was written, not when it was bookmarked: X does not show that date. With count, the script scrolls until it has count, reaches the end, or X stops loading; complete says whether it reached the end. When the browser is signed out of X, the run fails with a signed-out error asking you to sign in to x.com.

### How do I automatically read your X (Twitter) bookmarks on x.com?

Ask an AI agent connected to Reduck to run reduck/x.com/get_bookmarks, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_bookmarks

### Is there a x.com API to read your X (Twitter) bookmarks?

You do not need one. "Read your X (Twitter) bookmarks" drives the real x.com pages in a browser, so it works whether or not x.com offers an API for this.

### What information do I need to provide?

Optional: count.

### What does it return?

It returns count, tweets, complete.

### Do I need to be logged in to x.com?

Yes. It acts as you on x.com: in your browser it reuses your session, and on a cloud browser it loads your Auth session cookies for x.com.

### Does it change anything on x.com, or only read data?

It only reads. It looks things up on x.com and changes nothing there.

### How do I run it?

Ask an AI agent connected to Reduck to run reduck/x.com/get_bookmarks, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_bookmarks

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/x.com/get_bookmarks
