Skip to main content
GET
Export Twitter bookmarks with Twitter bookmarks API
Export Twitter bookmarks from one connected account. This Twitter bookmarks API returns saved tweets, authors, likes, replies, reposts, views, media, and cursor checkpoints. The Twitter developer reference defines bookmarks as private, authenticated-user content.
Requested result counts are upper bounds for paid authenticated calls. When remaining credits cannot cover the full page or ID list, Xquik returns fewer results. If zero paid results are affordable, it returns 402 insufficient_credits.
1 credit per result returned · All plans from $0.00012/credit
Requires a connected X account. Uses user-authenticated access.

Bookmarks handoff

Use GET /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.

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

Keep saved-tweet rows in account-scoped research, CRM, or agent memory systems.

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. Use tweet_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. This matches the Twitter developer privacy model.

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 returned folder_id as folderId. Omit folderId to request all visible bookmarks from the connected account. Store one next_cursor checkpoint per folder. Preserve 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. A 429 response includes retry guidance. A 424 or 502 response means the read service failed temporarily.

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.
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.
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[]
This array contains media attachments. X may omit it. Media item fields.
string
Direct media URL.
object[]
This array contains video URLs, bitrates, and content types. X omits it for images.
string
Media type.
string
Shortened URL from the tweet text.
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.