Engagement
Export Twitter bookmarks with Twitter bookmarks API
Export Twitter bookmarks with tweet text, authors, replies, likes, reposts, views, media, folders, CSV rows & cursor checkpoints from one connected account.
- 200
- 401
- 402
- 424
- 429
- 502
- 503
GET
Export Twitter bookmarks with Twitter bookmarks API
Export Twitter bookmarks from one connected account. The route
returns saved tweets, authors, likes, replies, reposts, views, media, and
cursor checkpoints. The Twitter developer reference defines bookmarks as
private, authenticated-user content.
402 insufficient_credits.
1 credit per result returned · All plans from $0.00012/credit
424 account_required. Use Connect X account
to add one. When your connected X accounts are busy, it returns 503. Retry
after the Retry-After delay.
Folder reads need X Premium. For any other account, folderId returns
424 bookmark_folders_unavailable. Omit folderId to read all bookmarks.
Bookmarks handoff
UseGET /x/bookmarks when a reading list, CRM, research queue, or agent needs
saved tweets from the authenticated account. The examples write JSON Lines rows
with bookmark source, folder ID, tweet ID, tweet URL, text, author ID,
username, display name, follower count, verified state, profile image URL,
engagement counts, media URLs, and cursor fields. Store the last saved
next_cursor per folder. Resume each bookmark export from that checkpoint.
All saved tweets
Omit
folderId when the workflow needs every bookmarked tweet visible to
the connected account.Folder export
Call Bookmark Folders first, then pass
its
folder_id as folderId. Folders need X Premium.Cursor checkpoint
Store
has_next_page and next_cursor per folder. Pass next_cursor back
as cursor only when has_next_page is true.Account-scoped queue
Store saved-tweet rows only in systems scoped to that account.
Twitter bookmark API questions
How do I export Twitter bookmarks?
Run the Node.js or Python example for each cursor page. Both examples create a structured JSON Lines record for every saved tweet. Each row keeps tweet text, authors, likes, replies, reposts, views, media URLs, and folder context. Convert the completed rows to a CSV file after collection. Usetweet_id as
the stable key. Create a bookmarks page in a spreadsheet or research tool.
Choose destination columns before sending rows to Notion databases or CRMs.
How does bookmark authentication work?
Connect the X account that owns the saved tweets. Include that account’s Xquik API key in every request. The endpoint never accepts another username. X treats bookmarks as private to their owner.Can I export another user’s bookmarks?
No. Bookmarks are private to the connected account. Keep every export scoped to that account. Do not publish saved tweets or private folder names.How do bookmark folders work?
Call Get bookmark folders first. Pass the returnedfolder_id as folderId. Omit folderId to request all visible
bookmarks from the connected account. Store one next_cursor checkpoint per
folder. Keep folder_id when importing records into Notion databases.
What limits a bookmark export?
You receive the bookmarks that the connected account can view. Low credits may reduce the returned row count. A429 response includes retry guidance.
424 account_required means you have no connected X account. Other 424,
502 & 503 responses are temporary read failures.
How should I store a bookmark export?
Store the connected account ID beside each row. Keep private folder names out of public logs. Delete temporary files after the approved handoff finishes.Query parameters
string
Bookmark folder ID. Omit to return all bookmarks.
string
Pass the previous response’s
next_cursor to fetch another page. Omit it on
the initial request.Which saved-feed endpoint?
Saved tweets
Use
GET /x/bookmarks for bookmarked tweets from the connected account.Bookmark folders
Use
GET /x/bookmarks/folders to find
folder IDs before a folder-specific bookmark export.Home timeline
Use
GET /x/timeline for the connected
account’s home feed instead of saved tweets.Notifications
Use
GET /x/notifications for inbox
activity rows from the connected account.Headers
string
required
Your API key. Session cookie authentication is also supported.
Response
200 OK
object[]
Array of bookmarked tweets.
Tweet object fields.
string
This value contains the tweet ID.
string
This value contains the tweet text.
string
This value identifies the tweet type. X may omit it.
string
This value contains the ISO 8601 creation time. X may omit it.
boolean
X sets this flag for long-form Note Tweets. X may omit it.
boolean
Whether the author pinned this post to their profile. Omitted if unavailable.
number
This value records the like count. X may omit it.
number
This value records the repost count. X may omit it.
number
This value records the reply count. X may omit it.
number
This value records the quote count. X may omit it.
number
This value records the view count. X may omit it.
number
This value records the bookmark count. X may omit it.
string
This value contains the tweet URL. X may omit it.
string
This value contains the tweet language code. X may omit it.
boolean
X sets this flag for replies. X may omit it.
string
This value identifies the replied-to tweet. X may omit it.
string
This value identifies the replied-to user. X may omit it.
string
This value identifies the replied-to username. X may omit it.
string
This value contains the conversation ID. X may omit it.
string
This value identifies the posting client. X may omit it.
number[]
This array contains the rendered text offsets. X may omit it.
boolean
X sets this flag when replies are limited. X may omit it.
boolean
X sets this flag for quote tweets. X may omit it.
boolean
Whether this row is a retweet.
text carries the original post in full.object
This object contains parsed tweet entities. X may omit it.
object
This object contains paid partnership and AI media labels. X may omit it.
object
This object contains the tweet author profile. X may omit it.
Author object fields.
string
Author user ID.
string
Author X username.
string
Author display name.
number
This value records the follower count. X may omit it.
boolean
X sets this flag for verified authors. X may omit it.
string
This value contains the profile picture URL. X may omit it.
object[]
object
This object contains the quoted tweet. X may omit it.
object
This object contains the original repost. X may omit it.
boolean
Whether more results are available.
string
Opaque cursor for the next page. Empty string when no more results.
Related. Bookmark Folders · Timeline