x-twitter-scraper 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +121 -122
  3. package/client.d.mts +9 -3
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +9 -3
  6. package/client.d.ts.map +1 -1
  7. package/client.js +2 -2
  8. package/client.js.map +1 -1
  9. package/client.mjs +2 -2
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/events.d.mts +8 -0
  13. package/resources/events.d.mts.map +1 -1
  14. package/resources/events.d.ts +8 -0
  15. package/resources/events.d.ts.map +1 -1
  16. package/resources/extractions.d.mts +105 -5
  17. package/resources/extractions.d.mts.map +1 -1
  18. package/resources/extractions.d.ts +105 -5
  19. package/resources/extractions.d.ts.map +1 -1
  20. package/resources/index.d.mts +1 -1
  21. package/resources/index.d.mts.map +1 -1
  22. package/resources/index.d.ts +1 -1
  23. package/resources/index.d.ts.map +1 -1
  24. package/resources/index.js.map +1 -1
  25. package/resources/index.mjs.map +1 -1
  26. package/resources/monitors/index.d.mts +1 -1
  27. package/resources/monitors/index.d.mts.map +1 -1
  28. package/resources/monitors/index.d.ts +1 -1
  29. package/resources/monitors/index.d.ts.map +1 -1
  30. package/resources/monitors/index.js.map +1 -1
  31. package/resources/monitors/index.mjs.map +1 -1
  32. package/resources/monitors/monitors.d.mts +38 -1
  33. package/resources/monitors/monitors.d.mts.map +1 -1
  34. package/resources/monitors/monitors.d.ts +38 -1
  35. package/resources/monitors/monitors.d.ts.map +1 -1
  36. package/resources/monitors/monitors.js +18 -0
  37. package/resources/monitors/monitors.js.map +1 -1
  38. package/resources/monitors/monitors.mjs +18 -0
  39. package/resources/monitors/monitors.mjs.map +1 -1
  40. package/resources/monitors/posts.d.mts +27 -0
  41. package/resources/monitors/posts.d.mts.map +1 -1
  42. package/resources/monitors/posts.d.ts +27 -0
  43. package/resources/monitors/posts.d.ts.map +1 -1
  44. package/resources/shared.d.mts +192 -5
  45. package/resources/shared.d.mts.map +1 -1
  46. package/resources/shared.d.ts +192 -5
  47. package/resources/shared.d.ts.map +1 -1
  48. package/resources/x/account-connection-attempts.d.mts +4 -0
  49. package/resources/x/account-connection-attempts.d.mts.map +1 -1
  50. package/resources/x/account-connection-attempts.d.ts +4 -0
  51. package/resources/x/account-connection-attempts.d.ts.map +1 -1
  52. package/resources/x/account-connection-links.d.mts +159 -0
  53. package/resources/x/account-connection-links.d.mts.map +1 -0
  54. package/resources/x/account-connection-links.d.ts +159 -0
  55. package/resources/x/account-connection-links.d.ts.map +1 -0
  56. package/resources/x/account-connection-links.js +82 -0
  57. package/resources/x/account-connection-links.js.map +1 -0
  58. package/resources/x/account-connection-links.mjs +78 -0
  59. package/resources/x/account-connection-links.mjs.map +1 -0
  60. package/resources/x/accounts.d.mts +13 -9
  61. package/resources/x/accounts.d.mts.map +1 -1
  62. package/resources/x/accounts.d.ts +13 -9
  63. package/resources/x/accounts.d.ts.map +1 -1
  64. package/resources/x/analysis.d.mts +540 -36
  65. package/resources/x/analysis.d.mts.map +1 -1
  66. package/resources/x/analysis.d.ts +540 -36
  67. package/resources/x/analysis.d.ts.map +1 -1
  68. package/resources/x/bookmarks.d.mts +5 -0
  69. package/resources/x/bookmarks.d.mts.map +1 -1
  70. package/resources/x/bookmarks.d.ts +5 -0
  71. package/resources/x/bookmarks.d.ts.map +1 -1
  72. package/resources/x/communities/communities.d.mts +2 -2
  73. package/resources/x/communities/communities.d.mts.map +1 -1
  74. package/resources/x/communities/communities.d.ts +2 -2
  75. package/resources/x/communities/communities.d.ts.map +1 -1
  76. package/resources/x/communities/communities.js.map +1 -1
  77. package/resources/x/communities/communities.mjs.map +1 -1
  78. package/resources/x/communities/join.d.mts +2 -2
  79. package/resources/x/communities/join.d.mts.map +1 -1
  80. package/resources/x/communities/join.d.ts +2 -2
  81. package/resources/x/communities/join.d.ts.map +1 -1
  82. package/resources/x/dm.d.mts +2 -2
  83. package/resources/x/dm.d.mts.map +1 -1
  84. package/resources/x/dm.d.ts +2 -2
  85. package/resources/x/dm.d.ts.map +1 -1
  86. package/resources/x/index.d.mts +3 -2
  87. package/resources/x/index.d.mts.map +1 -1
  88. package/resources/x/index.d.ts +3 -2
  89. package/resources/x/index.d.ts.map +1 -1
  90. package/resources/x/index.js +3 -1
  91. package/resources/x/index.js.map +1 -1
  92. package/resources/x/index.mjs +1 -0
  93. package/resources/x/index.mjs.map +1 -1
  94. package/resources/x/media.d.mts +48 -1
  95. package/resources/x/media.d.mts.map +1 -1
  96. package/resources/x/media.d.ts +48 -1
  97. package/resources/x/media.d.ts.map +1 -1
  98. package/resources/x/media.js.map +1 -1
  99. package/resources/x/media.mjs.map +1 -1
  100. package/resources/x/profile.d.mts +3 -3
  101. package/resources/x/profile.d.mts.map +1 -1
  102. package/resources/x/profile.d.ts +3 -3
  103. package/resources/x/profile.d.ts.map +1 -1
  104. package/resources/x/sports.d.mts +19 -1
  105. package/resources/x/sports.d.mts.map +1 -1
  106. package/resources/x/sports.d.ts +19 -1
  107. package/resources/x/sports.d.ts.map +1 -1
  108. package/resources/x/tweets/bookmark.d.mts +84 -0
  109. package/resources/x/tweets/bookmark.d.mts.map +1 -0
  110. package/resources/x/tweets/bookmark.d.ts +84 -0
  111. package/resources/x/tweets/bookmark.d.ts.map +1 -0
  112. package/resources/x/tweets/bookmark.js +55 -0
  113. package/resources/x/tweets/bookmark.js.map +1 -0
  114. package/resources/x/tweets/bookmark.mjs +51 -0
  115. package/resources/x/tweets/bookmark.mjs.map +1 -0
  116. package/resources/x/tweets/index.d.mts +1 -0
  117. package/resources/x/tweets/index.d.mts.map +1 -1
  118. package/resources/x/tweets/index.d.ts +1 -0
  119. package/resources/x/tweets/index.d.ts.map +1 -1
  120. package/resources/x/tweets/index.js +3 -1
  121. package/resources/x/tweets/index.js.map +1 -1
  122. package/resources/x/tweets/index.mjs +1 -0
  123. package/resources/x/tweets/index.mjs.map +1 -1
  124. package/resources/x/tweets/like.d.mts +2 -2
  125. package/resources/x/tweets/like.d.mts.map +1 -1
  126. package/resources/x/tweets/like.d.ts +2 -2
  127. package/resources/x/tweets/like.d.ts.map +1 -1
  128. package/resources/x/tweets/retweet.d.mts +2 -2
  129. package/resources/x/tweets/retweet.d.mts.map +1 -1
  130. package/resources/x/tweets/retweet.d.ts +2 -2
  131. package/resources/x/tweets/retweet.d.ts.map +1 -1
  132. package/resources/x/tweets/tweets.d.mts +45 -13
  133. package/resources/x/tweets/tweets.d.mts.map +1 -1
  134. package/resources/x/tweets/tweets.d.ts +45 -13
  135. package/resources/x/tweets/tweets.d.ts.map +1 -1
  136. package/resources/x/tweets/tweets.js +4 -0
  137. package/resources/x/tweets/tweets.js.map +1 -1
  138. package/resources/x/tweets/tweets.mjs +4 -0
  139. package/resources/x/tweets/tweets.mjs.map +1 -1
  140. package/resources/x/users/block.d.mts +84 -0
  141. package/resources/x/users/block.d.mts.map +1 -0
  142. package/resources/x/users/block.d.ts +84 -0
  143. package/resources/x/users/block.d.ts.map +1 -0
  144. package/resources/x/users/block.js +55 -0
  145. package/resources/x/users/block.js.map +1 -0
  146. package/resources/x/users/block.mjs +51 -0
  147. package/resources/x/users/block.mjs.map +1 -0
  148. package/resources/x/users/follow.d.mts +2 -2
  149. package/resources/x/users/follow.d.mts.map +1 -1
  150. package/resources/x/users/follow.d.ts +2 -2
  151. package/resources/x/users/follow.d.ts.map +1 -1
  152. package/resources/x/users/index.d.mts +3 -1
  153. package/resources/x/users/index.d.mts.map +1 -1
  154. package/resources/x/users/index.d.ts +3 -1
  155. package/resources/x/users/index.d.ts.map +1 -1
  156. package/resources/x/users/index.js +5 -1
  157. package/resources/x/users/index.js.map +1 -1
  158. package/resources/x/users/index.mjs +2 -0
  159. package/resources/x/users/index.mjs.map +1 -1
  160. package/resources/x/users/mute.d.mts +84 -0
  161. package/resources/x/users/mute.d.mts.map +1 -0
  162. package/resources/x/users/mute.d.ts +84 -0
  163. package/resources/x/users/mute.d.ts.map +1 -0
  164. package/resources/x/users/mute.js +55 -0
  165. package/resources/x/users/mute.js.map +1 -0
  166. package/resources/x/users/mute.mjs +51 -0
  167. package/resources/x/users/mute.mjs.map +1 -0
  168. package/resources/x/users/users.d.mts +359 -9
  169. package/resources/x/users/users.d.mts.map +1 -1
  170. package/resources/x/users/users.d.ts +359 -9
  171. package/resources/x/users/users.d.ts.map +1 -1
  172. package/resources/x/users/users.js +27 -1
  173. package/resources/x/users/users.js.map +1 -1
  174. package/resources/x/users/users.mjs +27 -1
  175. package/resources/x/users/users.mjs.map +1 -1
  176. package/resources/x/write-actions.d.mts +1 -1
  177. package/resources/x/write-actions.d.mts.map +1 -1
  178. package/resources/x/write-actions.d.ts +1 -1
  179. package/resources/x/write-actions.d.ts.map +1 -1
  180. package/resources/x/x.d.mts +17 -4
  181. package/resources/x/x.d.mts.map +1 -1
  182. package/resources/x/x.d.ts +17 -4
  183. package/resources/x/x.d.ts.map +1 -1
  184. package/resources/x/x.js +4 -0
  185. package/resources/x/x.js.map +1 -1
  186. package/resources/x/x.mjs +4 -0
  187. package/resources/x/x.mjs.map +1 -1
  188. package/src/client.ts +12 -2
  189. package/src/core/README.md +4 -0
  190. package/src/internal/README.md +6 -1
  191. package/src/resources/events.ts +10 -0
  192. package/src/resources/extractions.ts +125 -0
  193. package/src/resources/index.ts +2 -0
  194. package/src/resources/monitors/index.ts +2 -0
  195. package/src/resources/monitors/monitors.ts +49 -0
  196. package/src/resources/monitors/posts.ts +32 -0
  197. package/src/resources/shared.ts +223 -4
  198. package/src/resources/x/account-connection-attempts.ts +5 -0
  199. package/src/resources/x/account-connection-links.ts +215 -0
  200. package/src/resources/x/accounts.ts +15 -14
  201. package/src/resources/x/analysis.ts +618 -36
  202. package/src/resources/x/bookmarks.ts +6 -0
  203. package/src/resources/x/communities/communities.ts +12 -0
  204. package/src/resources/x/communities/join.ts +12 -0
  205. package/src/resources/x/dm.ts +12 -0
  206. package/src/resources/x/index.ts +16 -0
  207. package/src/resources/x/media.ts +64 -0
  208. package/src/resources/x/profile.ts +18 -0
  209. package/src/resources/x/sports.ts +22 -0
  210. package/src/resources/x/tweets/bookmark.ts +127 -0
  211. package/src/resources/x/tweets/index.ts +7 -0
  212. package/src/resources/x/tweets/like.ts +12 -0
  213. package/src/resources/x/tweets/retweet.ts +12 -0
  214. package/src/resources/x/tweets/tweets.ts +74 -10
  215. package/src/resources/x/users/block.ts +119 -0
  216. package/src/resources/x/users/follow.ts +12 -0
  217. package/src/resources/x/users/index.ts +20 -0
  218. package/src/resources/x/users/mute.ts +119 -0
  219. package/src/resources/x/users/users.ts +470 -7
  220. package/src/resources/x/write-actions.ts +6 -0
  221. package/src/resources/x/x.ts +50 -0
  222. package/src/version.ts +1 -1
  223. package/version.d.mts +1 -1
  224. package/version.d.ts +1 -1
  225. package/version.js +1 -1
  226. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.22.0 (2026-11-24)
4
+
5
+ [Full changelog from v0.21.0 to v0.22.0](https://github.com/Xquik-dev/x-twitter-scraper-typescript/compare/v0.21.0...v0.22.0)
6
+
7
+ This release gives slow API reads more time to answer and adds 2 fields the API added. A client built with no `timeout` now waits up to 80 seconds for a response before it throws a timeout error. `FootballScheduleGame` gains the required `rankings`, so code that builds a game by hand must set it.
8
+
9
+ - Requests now time out after 80 seconds by default, up from 60, since some API reads take longer than a minute to answer. A `timeout` you pass works as before.
10
+ - Posts return `communityUnavailable` when X shows no Community for the post and names a reason. Its `reason` holds X's words.
11
+ - `client.x.sports.listGames` returns `rankings` on each game, the teams X ranks in its college football poll as `FootballPollRanking`. It's empty when X ranks neither team, & for the NFL.
12
+
13
+ ## 0.21.0 (2026-11-18)
14
+
15
+ [Full changelog from v0.20.0 to v0.21.0](https://github.com/Xquik-dev/x-twitter-scraper-typescript/compare/v0.20.0...v0.21.0)
16
+
17
+ This release adds X connect links, which you can create, read, revoke and list, each naming the API key that made it. It also adds the analysis sources and filters, the follower audit, the bookmark, block & mute writes, the monitor upsert and the fields the API added since 0.20.0. `client.x.accounts.reauth` now returns the same 3 answers as `create`, so check `status` before you read `xUsername`. `client.x.tweets.search`, `retrieveTweets`, `retrieveReplies` and `retrieveMedia` now return a union of the plain page and its filtered forms, so on TypeScript before 5.2 an array method such as `tweets.reduce` on the result needs the page narrowed first. `ContextAvailability.media`, write records' `action`, `Error.code`, the replies stop reasons and the extraction tool types gain values, so a `switch` that handles every value needs a case for each. Code that builds response objects by hand must set the new required fields. The analysis responses gain `unprocessed_ids`. The batch user and batch tweets responses gain `not_found_ids` and `suspended_ids`, and the batch tweets response also gains `protected_ids`. `ExtractionJob` and the accepted `extractions.run` response gain `url`. A community `creator` always carries `verified`. Media download items gain `posterUrl` and `qualities`, and user insights samples gain `read`. The other changes add methods, parameters and optional fields.
18
+
19
+ - The 6 `x.analysis` methods take `threadOf`, `repliesBy`, `mediaBy` & `likedBy` to analyze 1 post's thread or 1 account's replies, media or likes. Send no other posts or search with them. `usernames`, `listIds` & `queries` analyze several accounts, Lists or searches as 1 search.
20
+ - Each `x.analysis` response returns `unprocessed_ids`, the posts or texts the time ran out for. Send them again in `tweetIds` or `texts`. They cost nothing. `tweetIds` & `texts` take as many items as the body holds.
21
+ - Tweets & users pages add `endReason`, present on a last page that X cut short. `'stalled'` means X returned no new results 2 times in a row, 30 s apart, so the list may hold more. Read it again later without `cursor`.
22
+ - `client.x.accountConnectionLinks.list` pages through your connect links, newest first, as `AccountConnectionLinkListResponse`. Pass `nextCursor` back as `cursor` while `hasMore` is true. Each link's `apiKeyId` shows which key made it, so you can find and revoke the links a leaked key made.
23
+ - `XAccountConnectionLink` & `AccountConnectionLinkCreateResponse` carry `apiKeyId`, the API key that made the link, or `null` when a dashboard session made it. A link stops while that key is paused and ends once it's revoked.
24
+ - `client.x.users.retrieveBatch` returns `not_found_ids` & `suspended_ids`, and `retrieveBatchTweets` returns those & `protected_ids`. They split `unavailable_ids` by X's answer. `not_found_ids` holds accounts that were deactivated or deleted, `suspended_ids` the accounts X suspended, and `protected_ids` the users whose posts only approved followers see. Code that builds either response by hand must set them.
25
+ - `MonitorFollow.unavailableReason` says why X shows no account on a follow removal whose `reason` is `unavailable`. `not_found` means the account no longer exists, and `suspended` means X suspended it.
26
+ - The 6 `x.analysis` methods take `topic` & `imageShows`. An AI check keeps only posts about the topic or posts whose photos show it, and only kept posts are analyzed, at 2 credits each. Send one of the 2, not both.
27
+ - Each `x.analysis` response returns `topicFilter` or `imageFilter` with the cutoff & counts, present when the request sent that filter.
28
+ - `client.x.users.retrieveMentions` takes `ownThreads`. With `replies: 'exclude'`, `ownThreads: 'exclude'` also leaves out replies to the author's own posts.
29
+ - A tweets page adds `hiddenTimeline`, present on an empty last page when X shows the account's timeline to nobody, so the page doesn't mean the account posted nothing.
30
+ - Follower, following, verified follower, list member and list follower pages add `windowComplete`, present on the last page of an empty list whose profile counts 0 accounts in it.
31
+ - A community's `creator` always carries `verified`, also when it is a full profile.
32
+ - Replies diagnostics add the `reported_held` stop reason, which a strategy returns once the read holds every reply X reports.
33
+ - `client.x.bookmarks.list` & `client.x.getHomeTimeline` take `pageSize`, 1 to 100 items per page.
34
+ - `client.x.media.download` returns `noMediaTweetIds`, the posts with no media to save, & `failedTweetIds`, the posts Xquik couldn't read. Neither is charged.
35
+ - The 6 `x.analysis` methods take `images` in `analysis`. The AI reads up to 4 images per post at no extra cost, and `false` keeps it to the text.
36
+ - `ContextAvailability.media` returns `'images'` when the AI read the post's images. A `switch` that handles every value needs a case for it.
37
+ - `ExtractionJob` and the accepted `extractions.run` response return `url`, the job's dashboard page with every row as a file.
38
+ - `client.x.tweets.bookmark.create` & `delete` add & remove a bookmark through a connected X account. Only that account sees its bookmarks.
39
+ - `client.x.users.block.create` & `delete` block & unblock a user. A block removes follows both ways, and an unblock doesn't restore them.
40
+ - `client.x.users.mute.create` & `delete` mute & unmute a user. X doesn't tell the muted user.
41
+ - Write records' `action` gains `bookmark`, `unbookmark`, `block`, `unblock`, `mute` & `unmute`. A `switch` that handles every action needs a case for each.
42
+ - `MonitorFollow.followKind` says why a removed account is back, as `refollow` or `return`.
43
+ - Media download items return `posterUrl`, a video's cover image, & `qualities`, its MP4 sizes. Code that builds an item by hand must set both.
44
+ - Extraction results return `quotedMedia`, `quotedPost`, `quotedPossiblySensitive` & `possiblySensitive` with `outputPreset=flat`.
45
+ - `PostMonitor.authorAffiliate` returns the organization badge X shows beside the author's name.
46
+ - `monitors.posts.create` takes `isActive`. Send `false` to create the monitor paused.
47
+ - `q` is optional on `client.x.tweets.search` when `fromUser`, `keywords` or another field forms the search.
48
+ - Article reads return `unknownCounts`, the counts X did not send, so each 0 means unknown.
49
+ - Extraction results return `isDeleted` on a post its author deleted after Xquik saw it.
50
+ - `client.x.users.retrieveInsights` & `retrieveShadowban` take `limit`, the recent posts to read.
51
+ - Extraction tool types gain `user_affiliates`.
52
+ - `client.x.tweets.search`, `client.x.users.retrieveTweets`, `retrieveReplies` & `retrieveMedia` take `topic` & `imageShows`. An AI check keeps only posts about the topic or posts whose photos show it, and each kept post costs 2 credits.
53
+ - A filtered page returns `topicFilter` or `imageFilter` with the cutoff & counts, and each kept post its `topicScore` or `imageScore`. The 3 user reads return `FilterablePaginatedTweets` and `client.x.tweets.search` returns `TweetSearchResponse`, unions of the plain page and its filtered forms. Every field of `PaginatedTweets` reads the same, but on TypeScript before 5.2 an array method such as `tweets.reduce` needs the page narrowed first.
54
+ - `extractions.run` & `estimateCost` take `topic` & `imageShows`, and `ExtractionJob` returns the `topicFilter` or `imageFilter` it ran.
55
+ - `client.x.media.download` takes `imageShows` and returns `imageFilter`.
56
+ - `client.x.users.retrieveFollowerAudit` reads an account's newest followers and returns a `FollowerAudit`. Each follower gets 1 `FollowerClass` with its score & signals, and the report adds coverage, a quality grade, arrival bands, join cohorts, languages, places, top followers & the account's insights. Each follower read costs 1 credit, and the insights add 1.
57
+ - `Error.requiredScope` names the scope an API key needs when the API answers `insufficient_scope`, as `write`, `monitors`, `exports`, `billing` or `full`.
58
+ - `client.monitors.upsertByUsername` creates the monitor of an account or updates it, so the same call twice still leaves 1 monitor. `created` says which one ran.
59
+ - `client.x.accountConnectionLinks.create` makes a link to a page Xquik hosts, where a person connects an X account with no Xquik signup. `retrieve` reads the link & its status, and `delete` revokes it. Treat `url` as a secret, since it holds the token.
60
+ - `client.x.tweets.create` takes `media_ids`, the IDs that `client.x.media.upload` returns. Send `media` or `media_ids`, not both.
61
+ - `client.x.accounts.create` & `reauth` take `connection_attempt_id`, an ID you generate to read the attempt's status even if the response never reaches you. A finished attempt returns `accountId`.
62
+ - `client.x.accounts.reauth` now returns the same 3 answers as `create`. A sign-in still running or waiting on an email code no longer reads as an active account, so check `status` before you read `xUsername`.
63
+ - `client.x.media.download` returns `unprocessedTweetIds`, the posts Xquik had no time to read, at no charge. Send them again.
64
+ - A user insights sample adds `read`, the posts the read covered with reposts & the pinned post included. `posts` counts only those the averages used. Code that builds a sample by hand must set `read`.
65
+ - `Error.code` gains `media_not_uploaded`. A `switch` that handles every code needs a case for it.
66
+ - `bin/check-local` hands its run to the command `git config checklocal.runner` names, with the checkout path and its arguments, unless `CHECK_LOCAL_HERE=1`. `bin/release-local` runs its checks the same way.
67
+
3
68
  ## 0.20.0 (2026-11-04)
4
69
 
5
70
  [Full changelog from v0.19.0 to v0.20.0](https://github.com/Xquik-dev/x-twitter-scraper-typescript/compare/v0.19.0...v0.20.0)
package/README.md CHANGED
@@ -1,56 +1,77 @@
1
- # X API & Twitter API TypeScript SDK by Xquik
1
+ # Twitter scraper & X API TypeScript SDK by Xquik
2
2
 
3
- [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13740/badge)](https://www.bestpractices.dev/projects/13740)
4
-
5
- [![NPM version](<https://img.shields.io/npm/v/x-twitter-scraper.svg?label=npm%20(stable)>)](https://npmjs.org/package/x-twitter-scraper) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/x-twitter-scraper)
6
- [![Convex Component](https://www.convex.dev/components/badge/convex-xquik)](https://www.convex.dev/components/convex-xquik)
3
+ [![Framer builds a tweet ticker with Xquik](https://img.youtube.com/vi/4UOSpoOoC3Y/maxresdefault.jpg)](https://youtu.be/4UOSpoOoC3Y?t=367)\
4
+ [Watch Framer build a tweet ticker with Xquik, from 6:07](https://youtu.be/4UOSpoOoC3Y?t=367).
5
+ This TypeScript SDK calls the Xquik API.
7
6
 
8
- Use this X API & Twitter API SDK to work with X from TypeScript.
9
- It works as a Twitter scraper & tweet scraper for search, profiles & followers.
10
- Scrape Twitter timelines, lists, communities, Spaces & trends into typed results.
11
- Manage media, webhooks, monitors & X automation with bundled agent Skills.
12
- It provides a Twitter API alternative through documented Xquik REST routes.
7
+ Use this Twitter scraper TypeScript SDK by Xquik to search tweets from Node.js.
8
+ Types cover every request & response.
9
+ Public reads need no X developer account.
13
10
 
14
11
  Xquik is the world's fastest and cheapest X Twitter scraper service with the most complete X data.
12
+ Most other Apify Actors charge before filtering or deduplication.
15
13
  Xquik charges only for delivered, unique, filter-matching results and never pads rows.
14
+ Xquik is independent and not affiliated with X Corp.
15
+
16
+ <!-- trust:win:start -->
17
+
18
+ The Xquik REST API read 45 tweets per second on 2026-10-15. That cost $0.15 per 1,000. The fastest of 4 rival Actors read 12.5 per second. The cheapest cost $0.173 per 1,000. [Compare each run](https://xquik.com/benchmarks#benchmark-x-tweet-scraper). Most rival Actors charge before they filter or dedup. Xquik charges only for delivered, unique, filter-matching results.
19
+
20
+ <!-- trust:win:end -->
21
+
22
+ ## Install the Twitter API TypeScript SDK
23
+
24
+ The SDK requires Node.js 20 or later.
25
+
26
+ ```sh
27
+ npm install x-twitter-scraper
28
+ ```
29
+
30
+ ## Use the X & Twitter API from JavaScript
31
+
32
+ Set `X_TWITTER_SCRAPER_API_KEY`, then run this search.
33
+
34
+ <!-- prettier-ignore -->
35
+ ```js
36
+ import XTwitterScraper from 'x-twitter-scraper';
37
+
38
+ const client = new XTwitterScraper({
39
+ apiKey: process.env['X_TWITTER_SCRAPER_API_KEY'], // Optional. The client reads this variable.
40
+ });
16
41
 
17
- > Xquik is an independent third-party service. Not affiliated with X Corp.
18
- > "Twitter" and "X" are trademarks of X Corp.
42
+ const response = await client.x.tweets.search({ q: 'from:elonmusk', limit: 10 });
43
+ for (const tweet of response.tweets) console.log(tweet.id, tweet.text);
44
+ ```
19
45
 
20
- [TypeScript SDK guide](https://docs.xquik.com/sdks/typescript) | [API map](api.md) | [REST API](https://docs.xquik.com/api-reference/overview) | [Webhooks](https://docs.xquik.com/api-reference/webhooks/create) | [MCP guide](https://docs.xquik.com/mcp/overview)
46
+ Next, read the [TypeScript SDK guide](https://docs.xquik.com/sdks/typescript), [API map](api.md) or [REST reference](https://docs.xquik.com/api-reference/overview).
21
47
 
22
48
  <!-- trust:start -->
23
49
 
24
- ## Trust & usage
25
-
26
- [![Twitter API package downloads](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fdownloads.json)](https://xquik.com/trust#downloads)
27
- [![Twitter scraper users on Apify](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fapify-users.json)](https://apify.com/xquik)
28
- [![Twitter scraper runs on Apify](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fapify-runs.json)](https://apify.com/xquik)
29
- [![Tweet scraper rating on Apify](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fapify-rating.json)](https://apify.com/xquik/x-tweet-scraper/reviews)
30
- [![Xquik Twitter API accounts](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Faccounts.json)](https://xquik.com/trust#accounts)
31
- [![Twitter Skill installs](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fskill-installs.json)](https://xquik.com/trust#skill-installs)
32
- [![Xquik verified revenue on TrustMRR](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Frevenue.json)](https://trustmrr.com/startup/xquik)
33
- [![Twitter API median response time](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Frest-p50.json)](https://xquik.com/trust#speed)
34
- [![Xquik GitHub stars](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fgithub-stars.json)](https://github.com/Xquik-dev)
50
+ ## Benchmarks & usage
51
+
35
52
  [![x-twitter-scraper downloads on npm](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Fnpm-x-twitter-scraper.json)](https://www.npmjs.com/package/x-twitter-scraper)
53
+ [![X (Twitter) API p99 server read time](https://img.shields.io/endpoint?url=https%3A%2F%2Fxquik.com%2Fbadges%2Frest-p99.json)](https://xquik.com/benchmarks#speed)
36
54
  [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13740/badge)](https://www.bestpractices.dev/projects/13740)
37
55
 
38
- - 51,000+ downloads of Xquik's Twitter API packages on npm, PyPI, RubyGems, NuGet, Packagist & Terraform ([source](https://xquik.com/trust#downloads)) <!-- trust:downloads 51020 -->
39
- - 7,800+ users of Xquik's Twitter scraper Actors on Apify ([source](https://apify.com/xquik)) <!-- trust:apify-users 7800 -->
40
- - 5,700,000+ runs of Xquik's Twitter scraper Actors on Apify ([source](https://apify.com/xquik)) <!-- trust:apify-runs 5704701 -->
41
- - 4.66 of 5 for the X Tweet Scraper from 16 Apify reviews ([source](https://apify.com/xquik/x-tweet-scraper/reviews)) <!-- trust:apify-rating 4.66 16 -->
42
- - 3,900+ accounts on xquik.com ([source](https://xquik.com/trust#accounts)) <!-- trust:accounts 3924 -->
43
- - 1,600+ installs of Xquik's Twitter Skills on skills.sh ([source](https://xquik.com/trust#skill-installs)) <!-- trust:skill-installs 1612 -->
44
- - $38,000+ in revenue verified by TrustMRR ([source](https://trustmrr.com/startup/xquik)) <!-- trust:revenue 38115 -->
45
- - 501 ms median REST API read time over the last 7 days ([source](https://xquik.com/trust#speed)) <!-- trust:rest-p50 501 -->
46
- - 370+ GitHub stars across Xquik's repos ([source](https://github.com/Xquik-dev)) <!-- trust:github-stars 374 -->
47
- - 5,900+ downloads of x-twitter-scraper on npm ([source](https://www.npmjs.com/package/x-twitter-scraper)) <!-- trust:npm-x-twitter-scraper 5975 -->
56
+ - 8,500+ downloads of x-twitter-scraper on npm ([source](https://www.npmjs.com/package/x-twitter-scraper)) <!-- trust:npm-x-twitter-scraper 8551 -->
57
+ - 25.3 s p99 REST server read time over 7 days, failures included ([source](https://xquik.com/benchmarks#speed)) <!-- trust:rest-p99 25268 -->
48
58
  - This repo meets the OpenSSF Best Practices passing criteria ([source](https://www.bestpractices.dev/projects/13740)) <!-- trust:openssf-x-twitter-scraper-typescript 1 -->
49
59
 
50
- Checked on 2026-10-15. See each number with its date & source on [xquik.com/trust](https://xquik.com/trust) or as [JSON](https://xquik.com/trust.json).
60
+ Checked on 2026-11-23. See each number with its date & source on [xquik.com/benchmarks](https://xquik.com/benchmarks) or as [JSON](https://xquik.com/trust.json).
51
61
 
52
62
  <!-- trust:end -->
53
63
 
64
+ ## Fastest JavaScript Twitter scraper library
65
+
66
+ Xquik runs each search on its own infrastructure.
67
+ Each page is 1 SDK call, with no browser & no X login.
68
+ Read the p99 server read time under [Benchmarks & usage](#benchmarks--usage).
69
+
70
+ ```ts
71
+ const page = await client.x.tweets.search({ q: 'from:NASA', limit: 25 });
72
+ for (const tweet of page.tweets) console.log(tweet.id, tweet.text);
73
+ ```
74
+
54
75
  ## Pi coding agent package
55
76
 
56
77
  Install the bundled Xquik Skills from npm.
@@ -72,10 +93,10 @@ Import the typed SDK from the same npm package.
72
93
  | Task | REST route | Usage |
73
94
  | ---------------------------------- | --------------------------------------------- | ----------------------------------------- |
74
95
  | Search tweets without the X API | `GET /x/tweets/search` | Use keyword or advanced operator queries. |
75
- | Read an X profile timeline | `GET /x/users/{id}/tweets` | Paginate bounded results. |
96
+ | Read an X profile timeline | `GET /x/users/{id}/tweets` | Pass the cursor to read the next page. |
76
97
  | Scrape Twitter followers | `GET /x/users/{id}/followers` | Use an extraction for complete datasets. |
77
98
  | Scrape following accounts | `GET /x/users/{id}/following` | Use an extraction for complete datasets. |
78
- | Read a home timeline | `GET /x/timeline` | Approve this private read. |
99
+ | Read a home timeline | `GET /x/timeline` | Connect an X account first. |
79
100
  | Read past trends of a place | `GET /x/trends/history` | Pick a range & a step between lists. |
80
101
  | Read a Community Notes contributor | `GET /x/community-notes/contributors/{alias}` | List their notes & deleted notes. |
81
102
  | Read Community analytics | `GET /x/communities/{id}/analytics` | Read activity counts & daily changes. |
@@ -90,42 +111,9 @@ Import the typed SDK from the same npm package.
90
111
  Use the typed REST SDK in application code. Add `https://xquik.com/mcp` to MCP clients.
91
112
  Follow the [MCP guide](https://docs.xquik.com/mcp/overview) for current authentication support.
92
113
 
93
- ## Package & registry trust
94
-
95
- - [npm package `x-twitter-scraper`](https://www.npmjs.com/package/x-twitter-scraper)
96
- - [Source in Xquik-dev/x-twitter-scraper-typescript](https://github.com/Xquik-dev/x-twitter-scraper-typescript)
97
- - Apache-2.0 license for the SDK
98
- - MIT license for the bundled Skills
99
- - [Citation metadata in CITATION.cff](CITATION.cff)
100
- - [Security boundary and reporting in SECURITY.md](SECURITY.md)
101
- - [OpenSSF evidence and current limitations in OPENSSF.md](OPENSSF.md)
114
+ ## Request & response types
102
115
 
103
- ## Installation
104
-
105
- The SDK requires TypeScript 4.9 or later.
106
-
107
- ```sh
108
- npm install x-twitter-scraper
109
- ```
110
-
111
- ## Usage
112
-
113
- See [api.md](api.md) for the complete API.
114
-
115
- <!-- prettier-ignore -->
116
- ```js
117
- import XTwitterScraper from 'x-twitter-scraper';
118
-
119
- const client = new XTwitterScraper({
120
- apiKey: process.env['X_TWITTER_SCRAPER_API_KEY'], // Optional. The client reads this variable.
121
- });
122
-
123
- const response = await client.x.tweets.search({ q: 'from:elonmusk', limit: 10 });
124
- ```
125
-
126
- ### Request & response types
127
-
128
- The package includes types for every request parameter and response field. Import them directly.
116
+ The package types every request parameter and response field. Import those types from the package.
129
117
 
130
118
  <!-- prettier-ignore -->
131
119
  ```ts
@@ -141,10 +129,11 @@ const paginatedTweets: XTwitterScraper.PaginatedTweets = await client.x.tweets.s
141
129
 
142
130
  Editors show each method, parameter, and field description from its docstring.
143
131
 
144
- ### Guest wallet authentication
132
+ ## Guest wallet authentication
145
133
 
146
- Guest wallet keys work through the public Bearer flow. Pass the key through the
147
- `bearerToken` option, then poll status or create a confirmed top-up checkout.
134
+ Guest wallet keys work through the public Bearer flow.
135
+ Pass the key through the `bearerToken` option.
136
+ Then poll status or create a confirmed top-up checkout.
148
137
 
149
138
  ```ts
150
139
  const guestClient = new XTwitterScraper({
@@ -175,10 +164,10 @@ Break out of the loop or call `stream.controller.abort()` to close the stream.
175
164
 
176
165
  Pass file uploads in these forms.
177
166
 
178
- - `File` (or an object with the same structure)
179
- - a `fetch` `Response` (or an object with the same structure)
180
- - an `fs.ReadStream`
181
- - the return value of our `toFile` helper
167
+ - A `File` or an object with the same structure
168
+ - A `fetch` `Response` or an object with the same structure
169
+ - An `fs.ReadStream`
170
+ - The return value of the `toFile` helper
182
171
 
183
172
  ```ts
184
173
  import fs from 'fs';
@@ -186,24 +175,20 @@ import XTwitterScraper, { toFile } from 'x-twitter-scraper';
186
175
 
187
176
  const client = new XTwitterScraper();
188
177
 
178
+ const bytes = new Uint8Array(await (await fetch('https://xquik.com/logo.png')).arrayBuffer());
179
+ fs.writeFileSync('logo.png', bytes);
180
+
189
181
  // Stream a local file with Node fs.
190
- await client.x.media.upload({ account: '@elonmusk', file: fs.createReadStream('/path/to/file') });
182
+ await client.x.media.upload({ account: '@elonmusk', file: fs.createReadStream('logo.png') });
191
183
 
192
184
  // Pass a web File.
193
- await client.x.media.upload({ account: '@elonmusk', file: new File(['my bytes'], 'file') });
185
+ await client.x.media.upload({ account: '@elonmusk', file: new File([bytes], 'logo.png', { type: 'image/png' }) });
194
186
 
195
187
  // Pass a fetch Response.
196
- await client.x.media.upload({ account: '@elonmusk', file: await fetch('https://somesite/file') });
188
+ await client.x.media.upload({ account: '@elonmusk', file: await fetch('https://xquik.com/logo.png') });
197
189
 
198
190
  // Convert bytes with toFile.
199
- await client.x.media.upload({
200
- account: '@elonmusk',
201
- file: await toFile(Buffer.from('my bytes'), 'file'),
202
- });
203
- await client.x.media.upload({
204
- account: '@elonmusk',
205
- file: await toFile(new Uint8Array([0, 1, 2]), 'file'),
206
- });
191
+ await client.x.media.upload({ account: '@elonmusk', file: await toFile(bytes, 'logo.png') });
207
192
  ```
208
193
 
209
194
  ## Handling errors
@@ -231,6 +216,7 @@ const paginatedTweets = await client.x.tweets
231
216
  | 401 | `AuthenticationError` |
232
217
  | 403 | `PermissionDeniedError` |
233
218
  | 404 | `NotFoundError` |
219
+ | 409 | `ConflictError` |
234
220
  | 422 | `UnprocessableEntityError` |
235
221
  | 429 | `RateLimitError` |
236
222
  | >=500 | `InternalServerError` |
@@ -258,7 +244,7 @@ await client.x.tweets.search({ q: 'from:elonmusk', limit: 10 }, {
258
244
 
259
245
  ### Timeouts
260
246
 
261
- Requests time out after 1 minute. Set a custom `timeout` when needed.
247
+ Requests time out after 80 seconds. Set a custom `timeout` when needed.
262
248
 
263
249
  <!-- prettier-ignore -->
264
250
  ```ts
@@ -330,13 +316,15 @@ These are the log levels, from most to least verbose.
330
316
  - `'error'` shows only errors.
331
317
  - `'off'` disables all logging.
332
318
 
333
- At the `'debug'` level, the SDK logs every HTTP request and response, including headers and bodies.
334
- It redacts some authentication headers, but request and response bodies may still show sensitive data.
319
+ The `'debug'` level logs every HTTP request and response with headers and bodies.
320
+ It redacts some authentication headers.
321
+ Request and response bodies may still show sensitive data.
335
322
 
336
323
  ### Custom logger
337
324
 
338
325
  The SDK logs through `globalThis.console` by default. Pass a custom logger instead.
339
- It supports [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log).
326
+ It works with [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston) & [bunyan](https://www.npmjs.com/package/bunyan).
327
+ It also works with [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale) & [@std/log](https://jsr.io/@std/log).
340
328
 
341
329
  The `logLevel` option still controls custom logger output.
342
330
 
@@ -363,10 +351,8 @@ Use `client.get`, `client.post`, or another HTTP method for undocumented endpoin
363
351
  Client options, including retries, apply to these requests.
364
352
 
365
353
  ```ts
366
- await client.post('/some/path', {
367
- body: { some_prop: 'foo' },
368
- query: { some_query_arg: 'bar' },
369
- });
354
+ const page = await client.get('/x/tweets/search', { query: { q: 'from:NASA', limit: 1 } });
355
+ console.log(page);
370
356
  ```
371
357
 
372
358
  ### Undocumented request params
@@ -375,8 +361,9 @@ Add `// @ts-expect-error` to an undocumented parameter.
375
361
  The SDK sends extra values without runtime type validation.
376
362
 
377
363
  ```ts
378
- client.x.tweets.search({
379
- // ...
364
+ await client.x.tweets.search({
365
+ q: 'from:NASA',
366
+ limit: 10,
380
367
  // @ts-expect-error baz is not yet public
381
368
  baz: 'undocumented option',
382
369
  });
@@ -399,7 +386,7 @@ The SDK uses the global `fetch` function by default.
399
386
  Polyfill the global to use another `fetch` implementation.
400
387
 
401
388
  ```ts
402
- import fetch from 'my-fetch';
389
+ import { fetch } from 'undici';
403
390
 
404
391
  globalThis.fetch = fetch;
405
392
  ```
@@ -408,14 +395,15 @@ Or pass it to the client.
408
395
 
409
396
  ```ts
410
397
  import XTwitterScraper from 'x-twitter-scraper';
411
- import fetch from 'my-fetch';
398
+ import { fetch } from 'undici';
412
399
 
413
400
  const client = new XTwitterScraper({ fetch });
414
401
  ```
415
402
 
416
403
  ## Fetch options
417
404
 
418
- Set `fetchOptions` on the client or request without replacing `fetch`. Request options take precedence.
405
+ Set `fetchOptions` on the client or request without replacing `fetch`.
406
+ Request options take precedence.
419
407
 
420
408
  ```ts
421
409
  import XTwitterScraper from 'x-twitter-scraper';
@@ -475,38 +463,49 @@ const client = new XTwitterScraper({
475
463
  This package follows [SemVer](https://semver.org/spec/v2.0.0.html) with these exceptions.
476
464
 
477
465
  1. Static type changes that preserve runtime behavior.
478
- 2. Changes to undocumented internals that remain technically public.
466
+ 2. Changes to undocumented internals that stay public.
479
467
  3. Changes unlikely to affect normal use.
480
468
 
481
- Open an [issue](https://www.github.com/Xquik-dev/x-twitter-scraper-typescript/issues) with questions, bugs, or suggestions.
469
+ Open an [issue](https://github.com/Xquik-dev/x-twitter-scraper-typescript/issues) with questions, bugs or suggestions.
482
470
 
483
471
  ## Runtime support
484
472
 
485
- The SDK supports these runtimes.
486
-
487
- - Current Chrome, Firefox, Safari, Edge, and other web browsers.
488
- - [Maintained Node.js](https://endoflife.date/nodejs) 20 LTS or later.
489
- - Deno v1.28.0 or later.
490
- - Bun 1.0 or later.
491
- - Cloudflare Workers.
492
- - Vercel Edge Runtime.
493
- - Jest 28 or later with the `"node"` environment, not `"jsdom"`.
494
- - Nitro v2.6 or later.
495
-
473
+ The package requires [maintained Node.js](https://endoflife.date/nodejs) 20 or later.
474
+ It also detects Deno, edge runtimes & browsers.
496
475
  The SDK does not support React Native.
497
476
 
498
477
  Request another runtime in a GitHub issue.
499
478
 
479
+ ## Questions
480
+
481
+ ### Do I need an X developer account?
482
+
483
+ No. Public reads need only an Xquik API key.
484
+ Private reads & X account actions need a connected X account.
485
+
486
+ ### Is this the official X API?
487
+
488
+ No. Xquik runs its own REST API. This SDK calls that API, not the official X API.
489
+
500
490
  ## More Xquik tools
501
491
 
502
492
  - [X (Twitter) scraper API & Twitter MCP server](https://github.com/Xquik-dev/x-twitter-scraper) with REST, MCP & Skill setup.
503
- - Twitter API SDKs for [Python](https://github.com/Xquik-dev/x-twitter-scraper-python), [Go](https://github.com/Xquik-dev/x-twitter-scraper-go), [Ruby](https://github.com/Xquik-dev/x-twitter-scraper-ruby), [Java](https://github.com/Xquik-dev/x-twitter-scraper-java), [Kotlin](https://github.com/Xquik-dev/x-twitter-scraper-kotlin), [C#](https://github.com/Xquik-dev/x-twitter-scraper-csharp) & [PHP](https://github.com/Xquik-dev/x-twitter-scraper-php).
493
+ - Twitter API SDKs for [Python](https://github.com/Xquik-dev/x-twitter-scraper-python), [Go](https://github.com/Xquik-dev/x-twitter-scraper-go), [Ruby](https://github.com/Xquik-dev/x-twitter-scraper-ruby) & [Java](https://github.com/Xquik-dev/x-twitter-scraper-java).
494
+ - More Twitter API SDKs for [Kotlin](https://github.com/Xquik-dev/x-twitter-scraper-kotlin), [C#](https://github.com/Xquik-dev/x-twitter-scraper-csharp) & [PHP](https://github.com/Xquik-dev/x-twitter-scraper-php).
504
495
  - [Twitter CLI & X CLI](https://github.com/Xquik-dev/x-twitter-scraper-cli) for terminal workflows.
505
496
  - [Twitter advanced search operators](https://github.com/Xquik-dev/x-twitter-advanced-search) with tested examples.
506
- - [Xquik X API & Twitter scraper](https://xquik.com) and the [Twitter API documentation](https://docs.xquik.com/api-reference/overview).
507
-
508
- ## Contributing
509
-
510
- See [the contributing documentation](./CONTRIBUTING.md).
497
+ - Twitter agent plugins for [OpenClaw](https://github.com/Xquik-dev/tweetclaw) & [Hermes Agent](https://github.com/Xquik-dev/hermes-tweet).
498
+ - Twitter integrations for [n8n](https://github.com/Xquik-dev/n8n-nodes-xquik), [Prefect](https://github.com/Xquik-dev/prefect-xquik), [Haystack](https://github.com/Xquik-dev/xquik-haystack) & [Paperclip](https://github.com/Xquik-dev/paperclip-plugin-xquik).
499
+ - More Twitter integrations for [Terraform](https://github.com/Xquik-dev/terraform-provider-x-twitter-scraper), [Convex](https://github.com/Xquik-dev/xquik-convex), [Supabase](https://github.com/Xquik-dev/xquik-supabase) & [Strapi](https://github.com/Xquik-dev/strapi-plugin-xquik).
500
+ - Twitter MCP for [AI agents](https://github.com/Xquik-dev/xquik-mcp), [VS Code](https://github.com/Xquik-dev/xquik-vscode) & [Raycast](https://github.com/Xquik-dev/xquik-raycast).
501
+ - [Xquik X API & Twitter scraper](https://xquik.com), [Twitter API docs](https://docs.xquik.com/api-reference/overview) & [docs source](https://github.com/Xquik-dev/xquik-docs).
502
+
503
+ ## Help & contributing
504
+
505
+ - Report vulnerabilities through the [security policy](SECURITY.md).
506
+ - Ask usage questions through the [organization support policy](https://github.com/Xquik-dev/.github/blob/main/SUPPORT.md).
507
+ - Read the [contribution guide](CONTRIBUTING.md).
508
+ - Read the [OpenSSF evidence](OPENSSF.md) & [citation metadata](CITATION.cff).
509
+ - The SDK uses the Apache-2.0 license, and the bundled Skills use MIT.
511
510
 
512
511
  Xquik is an independent third-party service. Not affiliated with X Corp. "Twitter" and "X" are trademarks of X Corp.
package/client.d.mts CHANGED
@@ -20,7 +20,7 @@ import { StyleAnalyzeParams, StyleCompareParams, StyleCompareResponse, StyleGetP
20
20
  import { Subscribe, SubscribeCreateParams, SubscribeCreateResponse } from "./resources/subscribe.mjs";
21
21
  import { TrendListParams, TrendListResponse, Trends } from "./resources/trends.mjs";
22
22
  import { Delivery, Webhook, WebhookCreateParams, WebhookCreateResponse, WebhookCreateTelegramLinkParams, WebhookCreateTelegramLinkResponse, WebhookDeactivateResponse, WebhookListDeliveriesParams, WebhookListDeliveriesResponse, WebhookListParams, WebhookListResponse, WebhookResumeResponse, WebhookTestResponse, WebhookUpdateParams, Webhooks } from "./resources/webhooks.mjs";
23
- import { Monitor, MonitorCreateParams, MonitorCreateResponse, MonitorDeactivateResponse, MonitorListParams, MonitorListResponse, MonitorUpdateParams, Monitors } from "./resources/monitors/monitors.mjs";
23
+ import { Monitor, MonitorCreateParams, MonitorCreateResponse, MonitorDeactivateResponse, MonitorListParams, MonitorListResponse, MonitorUpdateParams, MonitorUpsertByUsernameParams, MonitorUpsertByUsernameResponse, Monitors } from "./resources/monitors/monitors.mjs";
24
24
  import { Support } from "./resources/support/support.mjs";
25
25
  import { TrendLocation, X, XAutocompleteSearchParams, XAutocompleteSearchResponse, XGetArticleParams, XGetArticleResponse, XGetHashflagsParams, XGetHashflagsResponse, XGetHomeTimelineParams, XGetNewsStoryVersionsParams, XGetNewsStoryVersionsResponse, XGetNotificationsParams, XGetNotificationsResponse, XGetTrendLocationsParams, XGetTrendLocationsResponse, XGetTrendsHistoryParams, XGetTrendsHistoryResponse, XGetTrendsParams, XGetTrendsResponse, XSearchPlacesParams, XSearchPlacesResponse } from "./resources/x/x.mjs";
26
26
  import { type Fetch } from "./internal/builtin-types.mjs";
@@ -119,7 +119,7 @@ export declare class XTwitterScraper {
119
119
  * @param {string | null | undefined} [opts.apiKey=process.env['X_TWITTER_SCRAPER_API_KEY'] ?? null]
120
120
  * @param {string | null | undefined} [opts.bearerToken=process.env['X_TWITTER_SCRAPER_BEARER_TOKEN'] ?? null]
121
121
  * @param {string} [opts.baseURL=process.env['X_TWITTER_SCRAPER_BASE_URL'] ?? https://xquik.com/api/v1] - Override the default base URL for the API.
122
- * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
122
+ * @param {number} [opts.timeout=80 seconds] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
123
123
  * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
124
124
  * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
125
125
  * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
@@ -259,7 +259,7 @@ export declare namespace XTwitterScraper {
259
259
  export { Drafts as Drafts, type Draft as Draft, type DraftDetail as DraftDetail, type DraftCreateResponse as DraftCreateResponse, type DraftListResponse as DraftListResponse, type DraftCreateParams as DraftCreateParams, type DraftListParams as DraftListParams, };
260
260
  export { Styles as Styles, type StyleProfile as StyleProfile, type StyleProfileSummary as StyleProfileSummary, type StyleListResponse as StyleListResponse, type StyleCompareResponse as StyleCompareResponse, type StyleGetPerformanceResponse as StyleGetPerformanceResponse, type StyleUpdateParams as StyleUpdateParams, type StyleListParams as StyleListParams, type StyleAnalyzeParams as StyleAnalyzeParams, type StyleCompareParams as StyleCompareParams, };
261
261
  export { Radar as Radar, type RadarItem as RadarItem, type RadarRetrieveTrendingTopicsResponse as RadarRetrieveTrendingTopicsResponse, type RadarRetrieveTrendingTopicsParams as RadarRetrieveTrendingTopicsParams, };
262
- export { Monitors as Monitors, type Monitor as Monitor, type MonitorCreateResponse as MonitorCreateResponse, type MonitorListResponse as MonitorListResponse, type MonitorDeactivateResponse as MonitorDeactivateResponse, type MonitorCreateParams as MonitorCreateParams, type MonitorUpdateParams as MonitorUpdateParams, type MonitorListParams as MonitorListParams, };
262
+ export { Monitors as Monitors, type Monitor as Monitor, type MonitorCreateResponse as MonitorCreateResponse, type MonitorListResponse as MonitorListResponse, type MonitorDeactivateResponse as MonitorDeactivateResponse, type MonitorUpsertByUsernameResponse as MonitorUpsertByUsernameResponse, type MonitorCreateParams as MonitorCreateParams, type MonitorUpdateParams as MonitorUpdateParams, type MonitorListParams as MonitorListParams, type MonitorUpsertByUsernameParams as MonitorUpsertByUsernameParams, };
263
263
  export { Events as Events, type Event as Event, type EventDetail as EventDetail, type EventListResponse as EventListResponse, type EventListParams as EventListParams, type EventStreamParams as EventStreamParams, };
264
264
  export { Extractions as Extractions, type ExtractionJob as ExtractionJob, type ExtractionRetrieveResponse as ExtractionRetrieveResponse, type ExtractionListResponse as ExtractionListResponse, type ExtractionCancelResponse as ExtractionCancelResponse, type ExtractionEstimateCostResponse as ExtractionEstimateCostResponse, type ExtractionRunResponse as ExtractionRunResponse, type ExtractionRetrieveParams as ExtractionRetrieveParams, type ExtractionListParams as ExtractionListParams, type ExtractionEstimateCostParams as ExtractionEstimateCostParams, type ExtractionExportResultsParams as ExtractionExportResultsParams, type ExtractionRunParams as ExtractionRunParams, };
265
265
  export { Draws as Draws, type DrawDetail as DrawDetail, type DrawListItem as DrawListItem, type Winner as Winner, type DrawRetrieveResponse as DrawRetrieveResponse, type DrawListResponse as DrawListResponse, type DrawRunResponse as DrawRunResponse, type DrawListParams as DrawListParams, type DrawExportParams as DrawExportParams, type DrawRunParams as DrawRunParams, };
@@ -273,11 +273,15 @@ export declare namespace XTwitterScraper {
273
273
  export type Community = API.Community;
274
274
  export type CommunityPage = API.CommunityPage;
275
275
  export type CommunityTopic = API.CommunityTopic;
276
+ export type CommunityUnavailable = API.CommunityUnavailable;
276
277
  export type ContentDisclosure = API.ContentDisclosure;
277
278
  export type Currency = API.Currency;
278
279
  export type EmbeddedTweet = API.EmbeddedTweet;
279
280
  export type Error = API.Error;
280
281
  export type EventType = API.EventType;
282
+ export type FilterablePaginatedTweets = API.FilterablePaginatedTweets;
283
+ export type ImageFilteredTweets = API.ImageFilteredTweets;
284
+ export type ImageFilterSummary = API.ImageFilterSummary;
281
285
  export type MonitorFollow = API.MonitorFollow;
282
286
  export type PaginatedLists = API.PaginatedLists;
283
287
  export type PaginatedTweets = API.PaginatedTweets;
@@ -285,6 +289,8 @@ export declare namespace XTwitterScraper {
285
289
  export type PaginatedUsers = API.PaginatedUsers;
286
290
  export type SearchTweet = API.SearchTweet;
287
291
  export type SoftIntervention = API.SoftIntervention;
292
+ export type TopicFilteredTweets = API.TopicFilteredTweets;
293
+ export type TopicFilterSummary = API.TopicFilterSummary;
288
294
  export type TweetMedia = API.TweetMedia;
289
295
  export type UserListPage = API.UserListPage;
290
296
  export type UserProfile = API.UserProfile;
package/client.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY,qCAAiC;AACnF,OAAO,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,6BAAyB;AAI5G,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,iCAA6B;AAK7D,OAAO,KAAK,IAAI,uCAAmC;AAGnD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,OAAO,2BAAuB;AAC1C,OAAO,KAAK,GAAG,8BAA0B;A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