socialdatax-skills 0.2.46 → 0.2.48

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.
@@ -0,0 +1,1082 @@
1
+ # SocialDataX CLI Command Reference
2
+
3
+ This reference covers the additional direct CLI commands for discovery, products, creator analytics, WeChat Official Accounts, Baidu Tieba, account points, API documentation, and six more transcript platforms. See [README](./README.md) for installation and the existing content, comment, creator, download, and transcript commands.
4
+
5
+ Set `SOCIALDATAX_API_KEY` in the environment for hosted requests. Obtain or manage your key at <https://socialdatax.com>. Run commands with `npx -y socialdatax-skills@latest`; use `<platform> <action> --help` to inspect the installed version. Angle-bracket values are placeholders: replace them with the user’s keyword, returned ID, URL or token.
6
+
7
+ ## Shared options and input rules
8
+
9
+ - All commands accept `--pretty`, `--source-client`, `--source-platform`, and `--source-skill`. Installed skills supply attribution automatically; preserve it when adapting their examples.
10
+ - A command with multiple input variants accepts exactly one variant, for example `--sku-id` or `--url`, or transcript `--url`, content ID, or `--job-id`. Required flags in the tables apply to that variant.
11
+ - Only variants listing `--page-token` support `--pages <n>` and `--max-items <n>`. These variants also accept `--all` except `tieba search`, which requires bounded `--pages` instead. Omit the token for the first page; pass the full returned `next_page_token` unchanged to continue with the same search/filter inputs. An empty token ends pagination. `--all` follows the available token chain and does not guarantee complete platform-wide results.
12
+ - Boolean filters take `true` or `false`. Nullable integer filters accept `null` or an integer. Omitted optional flags use the shown service default.
13
+ - Transcript commands also accept positive `--max-wait-seconds <seconds>`. They poll the same job; when interrupted or the wait window ends, continue with `transcript --job-id "<job_id>"`. Do not resubmit an unfinished job.
14
+
15
+ ## Choose a command
16
+
17
+ | Need | Commands |
18
+ | --- | --- |
19
+ | Find accounts or channels | `user-search`; YouTube `channel-search` |
20
+ | Refine a query | `search-suggestions`; Instagram `tag-search` |
21
+ | Product research | XHS / Douyin `product-search`, `product-detail`; XHS review commands |
22
+ | Creator commercial analytics | XHS `pgy-creator-*` |
23
+ | Official Account articles and accounts | WeChat `article-search`, `mp-account-info`, `mp-account-articles`, `article-comments`, `article-replies` |
24
+ | Tieba communities and discussions | `tieba` forum, search, detail, comment and user commands below |
25
+ | Credits and API documentation | `account balance`; `docs search`, `docs operation`, `docs openapi` |
26
+ | Video speech-to-text | `transcript` on Bilibili, Zhihu, Instagram, X, TikTok and YouTube, plus the five platforms in README |
27
+
28
+ ## Platform boundaries
29
+
30
+ XHS `search-images` returns individual images with associated notes; `search-videos` returns video notes. Use the existing `xhs search --note-type image|video` when you need its sort or publish-time filters. `topic-notes` accepts a page ID or topic URL. Product reviews require a full SKU ID; reply commands use review IDs returned by the preceding review/reply list.
31
+
32
+ For XHS Pugongying creator commands, use the 24-character lowercase hexadecimal creator user ID. `--note-scope daily|cooperation` selects daily or cooperation notes on the commands that expose it. These commands provide commercial analytics; the existing `pgy-detail` command reads commercial note details.
33
+
34
+ Tieba `search-suggestions` returns forum suggestions, not posts or users, and has no pagination. `user-search` is also first-page only. Use an exact `forum_name` returned by discovery for `forum-detail`, `forum-posts`, or `forum-search`; featured-only forum browsing uses default sorting. `detail` and `comments` accept a thread ID or post URL. Replies require both thread and comment IDs. User commands accept either a user ID or profile URL.
35
+
36
+ Use `docs search --platform-id baidu-tieba` for Tieba API docs; the direct CLI platform command is `tieba`. Documentation search uses `--offset` and `--limit`, not page tokens. Copy a returned operation ID into `docs operation`. `docs openapi` returns the OpenAPI document.
37
+
38
+ Bilibili transcripts process one part: a URL with `?p=N` selects that part, while a BV ID selects P1. Zhihu `--zvideo-id` is for independent videos; video answers use their answer URL. Instagram supports regular video posts and Reels, excluding photo/carousel posts. X processes the current post’s first available MP4 video. YouTube accepts a video URL or video ID; TikTok accepts a video URL or aweme_id.
39
+
40
+ ## Commands and parameters
41
+
42
+ ### Xiaohongshu / XHS / RedNote (xhs)
43
+
44
+ #### `xhs user-search`
45
+
46
+ ```sh
47
+ npx -y socialdatax-skills@latest xhs user-search --keyword "<keyword>" --pretty
48
+ ```
49
+
50
+ | Flag | Required | Type / accepted values | Default / constraints |
51
+ | --- | --- | --- | --- |
52
+ | `--keyword` | yes | string | minLength: 1 |
53
+ | `--page-token` | no | string | default: "" |
54
+
55
+ #### `xhs search-suggestions`
56
+
57
+ ```sh
58
+ npx -y socialdatax-skills@latest xhs search-suggestions --keyword "<keyword>" --pretty
59
+ ```
60
+
61
+ | Flag | Required | Type / accepted values | Default / constraints |
62
+ | --- | --- | --- | --- |
63
+ | `--keyword` | yes | string | — |
64
+
65
+ #### `xhs search-videos`
66
+
67
+ ```sh
68
+ npx -y socialdatax-skills@latest xhs search-videos --keyword "<keyword>" --pretty
69
+ ```
70
+
71
+ | Flag | Required | Type / accepted values | Default / constraints |
72
+ | --- | --- | --- | --- |
73
+ | `--keyword` | yes | string | — |
74
+ | `--page-token` | no | string | default: "" |
75
+
76
+ #### `xhs search-images`
77
+
78
+ ```sh
79
+ npx -y socialdatax-skills@latest xhs search-images --keyword "<keyword>" --pretty
80
+ ```
81
+
82
+ | Flag | Required | Type / accepted values | Default / constraints |
83
+ | --- | --- | --- | --- |
84
+ | `--keyword` | yes | string | — |
85
+ | `--page-token` | no | string | default: "" |
86
+
87
+ #### `xhs product-search`
88
+
89
+ ```sh
90
+ npx -y socialdatax-skills@latest xhs product-search --keyword "<keyword>" --pretty
91
+ ```
92
+
93
+ | Flag | Required | Type / accepted values | Default / constraints |
94
+ | --- | --- | --- | --- |
95
+ | `--keyword` | yes | string | — |
96
+ | `--page-token` | no | string | default: "" |
97
+
98
+ #### `xhs product-detail`
99
+
100
+ Input variant: `--sku-id`.
101
+
102
+ ```sh
103
+ npx -y socialdatax-skills@latest xhs product-detail --sku-id "<sku_id>" --pretty
104
+ ```
105
+
106
+ | Flag | Required | Type / accepted values | Default / constraints |
107
+ | --- | --- | --- | --- |
108
+ | `--sku-id` | yes | string | — |
109
+
110
+ Input variant: `--url`.
111
+
112
+ ```sh
113
+ npx -y socialdatax-skills@latest xhs product-detail --url "<url>" --pretty
114
+ ```
115
+
116
+ | Flag | Required | Type / accepted values | Default / constraints |
117
+ | --- | --- | --- | --- |
118
+ | `--url` | yes | string | — |
119
+
120
+ #### `xhs product-reviews`
121
+
122
+ ```sh
123
+ npx -y socialdatax-skills@latest xhs product-reviews --sku-id "<sku_id>" --pretty
124
+ ```
125
+
126
+ | Flag | Required | Type / accepted values | Default / constraints |
127
+ | --- | --- | --- | --- |
128
+ | `--sku-id` | yes | string | — |
129
+ | `--page-token` | no | string | default: "" |
130
+ | `--sort-type` | no | general,time_descending | default: "general" |
131
+ | `--has-image` | no | boolean | default: false |
132
+
133
+ #### `xhs product-review-replies`
134
+
135
+ ```sh
136
+ npx -y socialdatax-skills@latest xhs product-review-replies --review-id "<review_id>" --pretty
137
+ ```
138
+
139
+ | Flag | Required | Type / accepted values | Default / constraints |
140
+ | --- | --- | --- | --- |
141
+ | `--review-id` | yes | string | — |
142
+ | `--page-token` | no | string | default: "" |
143
+
144
+ #### `xhs product-review-reply-replies`
145
+
146
+ ```sh
147
+ npx -y socialdatax-skills@latest xhs product-review-reply-replies --review-id "<review_id>" --pretty
148
+ ```
149
+
150
+ | Flag | Required | Type / accepted values | Default / constraints |
151
+ | --- | --- | --- | --- |
152
+ | `--review-id` | yes | string | — |
153
+ | `--page-token` | no | string | default: "" |
154
+
155
+ #### `xhs pgy-creator-profile`
156
+
157
+ ```sh
158
+ npx -y socialdatax-skills@latest xhs pgy-creator-profile --user-id "<user_id>" --pretty
159
+ ```
160
+
161
+ | Flag | Required | Type / accepted values | Default / constraints |
162
+ | --- | --- | --- | --- |
163
+ | `--user-id` | yes | string | pattern: ^[0-9a-f]{24}$ |
164
+
165
+ #### `xhs pgy-creator-notes-performance`
166
+
167
+ ```sh
168
+ npx -y socialdatax-skills@latest xhs pgy-creator-notes-performance --user-id "<user_id>" --pretty
169
+ ```
170
+
171
+ | Flag | Required | Type / accepted values | Default / constraints |
172
+ | --- | --- | --- | --- |
173
+ | `--user-id` | yes | string | pattern: ^[0-9a-f]{24}$ |
174
+ | `--note-scope` | no | daily,cooperation | default: "daily" |
175
+
176
+ #### `xhs pgy-creator-fans-profile`
177
+
178
+ ```sh
179
+ npx -y socialdatax-skills@latest xhs pgy-creator-fans-profile --user-id "<user_id>" --pretty
180
+ ```
181
+
182
+ | Flag | Required | Type / accepted values | Default / constraints |
183
+ | --- | --- | --- | --- |
184
+ | `--user-id` | yes | string | pattern: ^[0-9a-f]{24}$ |
185
+
186
+ #### `xhs pgy-creator-fans-summary`
187
+
188
+ ```sh
189
+ npx -y socialdatax-skills@latest xhs pgy-creator-fans-summary --user-id "<user_id>" --pretty
190
+ ```
191
+
192
+ | Flag | Required | Type / accepted values | Default / constraints |
193
+ | --- | --- | --- | --- |
194
+ | `--user-id` | yes | string | pattern: ^[0-9a-f]{24}$ |
195
+
196
+ #### `xhs pgy-creator-metrics-trend`
197
+
198
+ ```sh
199
+ npx -y socialdatax-skills@latest xhs pgy-creator-metrics-trend --user-id "<user_id>" --pretty
200
+ ```
201
+
202
+ | Flag | Required | Type / accepted values | Default / constraints |
203
+ | --- | --- | --- | --- |
204
+ | `--user-id` | yes | string | pattern: ^[0-9a-f]{24}$ |
205
+ | `--note-scope` | no | daily,cooperation | default: "daily" |
206
+
207
+ #### `xhs pgy-creator-commercial-overview`
208
+
209
+ ```sh
210
+ npx -y socialdatax-skills@latest xhs pgy-creator-commercial-overview --user-id "<user_id>" --pretty
211
+ ```
212
+
213
+ | Flag | Required | Type / accepted values | Default / constraints |
214
+ | --- | --- | --- | --- |
215
+ | `--user-id` | yes | string | pattern: ^[0-9a-f]{24}$ |
216
+ | `--note-scope` | no | daily,cooperation | default: "daily" |
217
+
218
+ #### `xhs topic-notes`
219
+
220
+ Input variant: `--page-id`.
221
+
222
+ ```sh
223
+ npx -y socialdatax-skills@latest xhs topic-notes --page-id "<page_id>" --pretty
224
+ ```
225
+
226
+ | Flag | Required | Type / accepted values | Default / constraints |
227
+ | --- | --- | --- | --- |
228
+ | `--page-id` | yes | string | — |
229
+ | `--page-token` | no | string | default: "" |
230
+ | `--sort-type` | no | hot,time_descending | default: "hot" |
231
+
232
+ Input variant: `--url`.
233
+
234
+ ```sh
235
+ npx -y socialdatax-skills@latest xhs topic-notes --url "<topic_url>" --pretty
236
+ ```
237
+
238
+ | Flag | Required | Type / accepted values | Default / constraints |
239
+ | --- | --- | --- | --- |
240
+ | `--url` | yes | string | — |
241
+ | `--page-token` | no | string | default: "" |
242
+ | `--sort-type` | no | hot,time_descending | default: "hot" |
243
+
244
+ #### `xhs resolve-user-id`
245
+
246
+ ```sh
247
+ npx -y socialdatax-skills@latest xhs resolve-user-id --encrypted-user-id "<encrypted_user_id>" --pretty
248
+ ```
249
+
250
+ | Flag | Required | Type / accepted values | Default / constraints |
251
+ | --- | --- | --- | --- |
252
+ | `--encrypted-user-id` | yes | string | — |
253
+
254
+ ### Douyin (douyin)
255
+
256
+ #### `douyin user-search`
257
+
258
+ ```sh
259
+ npx -y socialdatax-skills@latest douyin user-search --keyword "<keyword>" --pretty
260
+ ```
261
+
262
+ | Flag | Required | Type / accepted values | Default / constraints |
263
+ | --- | --- | --- | --- |
264
+ | `--keyword` | yes | string | — |
265
+ | `--page-token` | no | string | default: "" |
266
+ | `--follower-count-range` | no | all,under_1k,1k_to_10k,10k_to_100k,100k_to_1m,over_1m | default: "all" |
267
+ | `--user-type` | no | all,regular_user,enterprise_verified,individual_verified | default: "all" |
268
+
269
+ #### `douyin search-suggestions`
270
+
271
+ ```sh
272
+ npx -y socialdatax-skills@latest douyin search-suggestions --keyword "<keyword>" --pretty
273
+ ```
274
+
275
+ | Flag | Required | Type / accepted values | Default / constraints |
276
+ | --- | --- | --- | --- |
277
+ | `--keyword` | yes | string | — |
278
+
279
+ #### `douyin product-search`
280
+
281
+ ```sh
282
+ npx -y socialdatax-skills@latest douyin product-search --keyword "<keyword>" --pretty
283
+ ```
284
+
285
+ | Flag | Required | Type / accepted values | Default / constraints |
286
+ | --- | --- | --- | --- |
287
+ | `--keyword` | yes | string | — |
288
+ | `--page-token` | no | string | default: "" |
289
+ | `--sort-type` | no | general,sales_descending,price_ascending,price_descending | default: "general" |
290
+ | `--min-price` | no | integer,null | 单位:元;default: null(不限); exclusiveMinimum: 0; min <= max |
291
+ | `--max-price` | no | integer,null | 单位:元;default: null(不限); exclusiveMinimum: 0; min <= max |
292
+ | `--only-live` | no | boolean | default: false |
293
+ | `--dispatch-within-24h` | no | boolean | default: false |
294
+ | `--shipping-insurance` | no | boolean | default: false |
295
+ | `--seven-day-return` | no | boolean | default: false |
296
+ | `--selling-point` | no | all,high_sales,high_rating | default: "all" |
297
+ | `--official-store` | no | boolean | default: false |
298
+
299
+ #### `douyin product-detail`
300
+
301
+ Input variant: `--product-id`.
302
+
303
+ ```sh
304
+ npx -y socialdatax-skills@latest douyin product-detail --product-id "<product_id>" --pretty
305
+ ```
306
+
307
+ | Flag | Required | Type / accepted values | Default / constraints |
308
+ | --- | --- | --- | --- |
309
+ | `--product-id` | yes | string | — |
310
+
311
+ Input variant: `--url`.
312
+
313
+ ```sh
314
+ npx -y socialdatax-skills@latest douyin product-detail --url "<url>" --pretty
315
+ ```
316
+
317
+ | Flag | Required | Type / accepted values | Default / constraints |
318
+ | --- | --- | --- | --- |
319
+ | `--url` | yes | string | — |
320
+
321
+ #### `douyin user-info`
322
+
323
+ This entry is selected when `--douyin-id` is supplied.
324
+
325
+ ```sh
326
+ npx -y socialdatax-skills@latest douyin user-info --douyin-id "<douyin_id>" --pretty
327
+ ```
328
+
329
+ | Flag | Required | Type / accepted values | Default / constraints |
330
+ | --- | --- | --- | --- |
331
+ | `--douyin-id` | yes | string | — |
332
+
333
+ ### TikTok (tiktok)
334
+
335
+ #### `tiktok user-search`
336
+
337
+ ```sh
338
+ npx -y socialdatax-skills@latest tiktok user-search --keyword "<keyword>" --pretty
339
+ ```
340
+
341
+ | Flag | Required | Type / accepted values | Default / constraints |
342
+ | --- | --- | --- | --- |
343
+ | `--keyword` | yes | string | minLength: 1; pattern: .*\S.* |
344
+ | `--page-token` | no | string | default: "" |
345
+
346
+ #### `tiktok search-suggestions`
347
+
348
+ ```sh
349
+ npx -y socialdatax-skills@latest tiktok search-suggestions --keyword "<keyword>" --pretty
350
+ ```
351
+
352
+ | Flag | Required | Type / accepted values | Default / constraints |
353
+ | --- | --- | --- | --- |
354
+ | `--keyword` | yes | string | minLength: 1; pattern: .*\S.* |
355
+
356
+ #### `tiktok transcript`
357
+
358
+ Input variant: `--url`.
359
+
360
+ ```sh
361
+ npx -y socialdatax-skills@latest tiktok transcript --url "<video_url>" --pretty
362
+ ```
363
+
364
+ | Flag | Required | Type / accepted values | Default / constraints |
365
+ | --- | --- | --- | --- |
366
+ | `--url` | yes | string | — |
367
+
368
+ Input variant: `--aweme-id`.
369
+
370
+ ```sh
371
+ npx -y socialdatax-skills@latest tiktok transcript --aweme-id "<aweme_id>" --pretty
372
+ ```
373
+
374
+ | Flag | Required | Type / accepted values | Default / constraints |
375
+ | --- | --- | --- | --- |
376
+ | `--aweme-id` | yes | string | — |
377
+
378
+ Input variant: `--job-id`.
379
+
380
+ ```sh
381
+ npx -y socialdatax-skills@latest tiktok transcript --job-id "<job_id>" --pretty
382
+ ```
383
+
384
+ | Flag | Required | Type / accepted values | Default / constraints |
385
+ | --- | --- | --- | --- |
386
+ | `--job-id` | yes | string | — |
387
+
388
+ ### Weibo (weibo)
389
+
390
+ #### `weibo user-search`
391
+
392
+ ```sh
393
+ npx -y socialdatax-skills@latest weibo user-search --keyword "<keyword>" --pretty
394
+ ```
395
+
396
+ | Flag | Required | Type / accepted values | Default / constraints |
397
+ | --- | --- | --- | --- |
398
+ | `--keyword` | yes | string | minLength: 1 |
399
+ | `--page-token` | no | string | default: "" |
400
+
401
+ #### `weibo search-suggestions`
402
+
403
+ ```sh
404
+ npx -y socialdatax-skills@latest weibo search-suggestions --keyword "<keyword>" --pretty
405
+ ```
406
+
407
+ | Flag | Required | Type / accepted values | Default / constraints |
408
+ | --- | --- | --- | --- |
409
+ | `--keyword` | yes | string | minLength: 1 |
410
+
411
+ #### `weibo likers`
412
+
413
+ This entry is selected when `--url` is supplied.
414
+
415
+ ```sh
416
+ npx -y socialdatax-skills@latest weibo likers --url "<post_url>" --pretty
417
+ ```
418
+
419
+ | Flag | Required | Type / accepted values | Default / constraints |
420
+ | --- | --- | --- | --- |
421
+ | `--url` | yes | string | — |
422
+ | `--page-token` | no | string | default: "" |
423
+
424
+ #### `weibo reposts`
425
+
426
+ This entry is selected when `--url` is supplied.
427
+
428
+ ```sh
429
+ npx -y socialdatax-skills@latest weibo reposts --url "<post_url>" --pretty
430
+ ```
431
+
432
+ | Flag | Required | Type / accepted values | Default / constraints |
433
+ | --- | --- | --- | --- |
434
+ | `--url` | yes | string | — |
435
+ | `--page-token` | no | string | default: "" |
436
+
437
+ ### Zhihu / 知乎 (zhihu)
438
+
439
+ #### `zhihu user-search`
440
+
441
+ ```sh
442
+ npx -y socialdatax-skills@latest zhihu user-search --keyword "<keyword>" --pretty
443
+ ```
444
+
445
+ | Flag | Required | Type / accepted values | Default / constraints |
446
+ | --- | --- | --- | --- |
447
+ | `--keyword` | yes | string | — |
448
+ | `--page-token` | no | string | default: "" |
449
+
450
+ #### `zhihu search-suggestions`
451
+
452
+ ```sh
453
+ npx -y socialdatax-skills@latest zhihu search-suggestions --keyword "<keyword>" --pretty
454
+ ```
455
+
456
+ | Flag | Required | Type / accepted values | Default / constraints |
457
+ | --- | --- | --- | --- |
458
+ | `--keyword` | yes | string | — |
459
+
460
+ #### `zhihu transcript`
461
+
462
+ Input variant: `--url`.
463
+
464
+ ```sh
465
+ npx -y socialdatax-skills@latest zhihu transcript --url "<video_url>" --pretty
466
+ ```
467
+
468
+ | Flag | Required | Type / accepted values | Default / constraints |
469
+ | --- | --- | --- | --- |
470
+ | `--url` | yes | string | — |
471
+
472
+ Input variant: `--zvideo-id`.
473
+
474
+ ```sh
475
+ npx -y socialdatax-skills@latest zhihu transcript --zvideo-id "<zvideo_id>" --pretty
476
+ ```
477
+
478
+ | Flag | Required | Type / accepted values | Default / constraints |
479
+ | --- | --- | --- | --- |
480
+ | `--zvideo-id` | yes | string | — |
481
+
482
+ Input variant: `--job-id`.
483
+
484
+ ```sh
485
+ npx -y socialdatax-skills@latest zhihu transcript --job-id "<job_id>" --pretty
486
+ ```
487
+
488
+ | Flag | Required | Type / accepted values | Default / constraints |
489
+ | --- | --- | --- | --- |
490
+ | `--job-id` | yes | string | — |
491
+
492
+ ### Instagram (instagram)
493
+
494
+ #### `instagram user-search`
495
+
496
+ ```sh
497
+ npx -y socialdatax-skills@latest instagram user-search --keyword "<keyword>" --pretty
498
+ ```
499
+
500
+ | Flag | Required | Type / accepted values | Default / constraints |
501
+ | --- | --- | --- | --- |
502
+ | `--keyword` | yes | string | minLength: 1; maxLength: 256 |
503
+ | `--page-token` | no | string | default: "" |
504
+
505
+ #### `instagram tag-search`
506
+
507
+ ```sh
508
+ npx -y socialdatax-skills@latest instagram tag-search --keyword "<keyword>" --pretty
509
+ ```
510
+
511
+ | Flag | Required | Type / accepted values | Default / constraints |
512
+ | --- | --- | --- | --- |
513
+ | `--keyword` | yes | string | minLength: 1; maxLength: 256 |
514
+
515
+ #### `instagram transcript`
516
+
517
+ Input variant: `--url`.
518
+
519
+ ```sh
520
+ npx -y socialdatax-skills@latest instagram transcript --url "<post_url>" --pretty
521
+ ```
522
+
523
+ | Flag | Required | Type / accepted values | Default / constraints |
524
+ | --- | --- | --- | --- |
525
+ | `--url` | yes | string | — |
526
+
527
+ Input variant: `--post-id`.
528
+
529
+ ```sh
530
+ npx -y socialdatax-skills@latest instagram transcript --post-id "<post_id>" --pretty
531
+ ```
532
+
533
+ | Flag | Required | Type / accepted values | Default / constraints |
534
+ | --- | --- | --- | --- |
535
+ | `--post-id` | yes | string | — |
536
+
537
+ Input variant: `--job-id`.
538
+
539
+ ```sh
540
+ npx -y socialdatax-skills@latest instagram transcript --job-id "<job_id>" --pretty
541
+ ```
542
+
543
+ | Flag | Required | Type / accepted values | Default / constraints |
544
+ | --- | --- | --- | --- |
545
+ | `--job-id` | yes | string | — |
546
+
547
+ ### X / Twitter (x)
548
+
549
+ #### `x user-search`
550
+
551
+ ```sh
552
+ npx -y socialdatax-skills@latest x user-search --keyword "<keyword>" --pretty
553
+ ```
554
+
555
+ | Flag | Required | Type / accepted values | Default / constraints |
556
+ | --- | --- | --- | --- |
557
+ | `--keyword` | yes | string | minLength: 1 |
558
+ | `--page-token` | no | string | default: "" |
559
+
560
+ #### `x search-suggestions`
561
+
562
+ ```sh
563
+ npx -y socialdatax-skills@latest x search-suggestions --keyword "<keyword>" --pretty
564
+ ```
565
+
566
+ | Flag | Required | Type / accepted values | Default / constraints |
567
+ | --- | --- | --- | --- |
568
+ | `--keyword` | yes | string | minLength: 1 |
569
+
570
+ #### `x transcript`
571
+
572
+ Input variant: `--url`.
573
+
574
+ ```sh
575
+ npx -y socialdatax-skills@latest x transcript --url "<post_url>" --pretty
576
+ ```
577
+
578
+ | Flag | Required | Type / accepted values | Default / constraints |
579
+ | --- | --- | --- | --- |
580
+ | `--url` | yes | string | — |
581
+
582
+ Input variant: `--post-id`.
583
+
584
+ ```sh
585
+ npx -y socialdatax-skills@latest x transcript --post-id "<post_id>" --pretty
586
+ ```
587
+
588
+ | Flag | Required | Type / accepted values | Default / constraints |
589
+ | --- | --- | --- | --- |
590
+ | `--post-id` | yes | string | — |
591
+
592
+ Input variant: `--job-id`.
593
+
594
+ ```sh
595
+ npx -y socialdatax-skills@latest x transcript --job-id "<job_id>" --pretty
596
+ ```
597
+
598
+ | Flag | Required | Type / accepted values | Default / constraints |
599
+ | --- | --- | --- | --- |
600
+ | `--job-id` | yes | string | — |
601
+
602
+ ### Bilibili / 哔哩哔哩 / B站 (bilibili)
603
+
604
+ #### `bilibili user-search`
605
+
606
+ ```sh
607
+ npx -y socialdatax-skills@latest bilibili user-search --keyword "<keyword>" --pretty
608
+ ```
609
+
610
+ | Flag | Required | Type / accepted values | Default / constraints |
611
+ | --- | --- | --- | --- |
612
+ | `--keyword` | yes | string | — |
613
+ | `--page-token` | no | string | default: "" |
614
+
615
+ #### `bilibili search-suggestions`
616
+
617
+ ```sh
618
+ npx -y socialdatax-skills@latest bilibili search-suggestions --keyword "<keyword>" --pretty
619
+ ```
620
+
621
+ | Flag | Required | Type / accepted values | Default / constraints |
622
+ | --- | --- | --- | --- |
623
+ | `--keyword` | yes | string | — |
624
+
625
+ #### `bilibili transcript`
626
+
627
+ Input variant: `--url`.
628
+
629
+ ```sh
630
+ npx -y socialdatax-skills@latest bilibili transcript --url "<video_url>" --pretty
631
+ ```
632
+
633
+ | Flag | Required | Type / accepted values | Default / constraints |
634
+ | --- | --- | --- | --- |
635
+ | `--url` | yes | string | — |
636
+
637
+ Input variant: `--bvid`.
638
+
639
+ ```sh
640
+ npx -y socialdatax-skills@latest bilibili transcript --bvid "<bvid>" --pretty
641
+ ```
642
+
643
+ | Flag | Required | Type / accepted values | Default / constraints |
644
+ | --- | --- | --- | --- |
645
+ | `--bvid` | yes | string | — |
646
+
647
+ Input variant: `--job-id`.
648
+
649
+ ```sh
650
+ npx -y socialdatax-skills@latest bilibili transcript --job-id "<job_id>" --pretty
651
+ ```
652
+
653
+ | Flag | Required | Type / accepted values | Default / constraints |
654
+ | --- | --- | --- | --- |
655
+ | `--job-id` | yes | string | — |
656
+
657
+ ### Toutiao (toutiao)
658
+
659
+ #### `toutiao user-search`
660
+
661
+ ```sh
662
+ npx -y socialdatax-skills@latest toutiao user-search --keyword "<keyword>" --pretty
663
+ ```
664
+
665
+ | Flag | Required | Type / accepted values | Default / constraints |
666
+ | --- | --- | --- | --- |
667
+ | `--keyword` | yes | string | minLength: 1 |
668
+ | `--page-token` | no | string | default: "" |
669
+
670
+ #### `toutiao search-suggestions`
671
+
672
+ ```sh
673
+ npx -y socialdatax-skills@latest toutiao search-suggestions --keyword "<keyword>" --pretty
674
+ ```
675
+
676
+ | Flag | Required | Type / accepted values | Default / constraints |
677
+ | --- | --- | --- | --- |
678
+ | `--keyword` | yes | string | minLength: 1 |
679
+
680
+ ### Kuaishou / Kwai (kuaishou)
681
+
682
+ #### `kuaishou search-suggestions`
683
+
684
+ ```sh
685
+ npx -y socialdatax-skills@latest kuaishou search-suggestions --keyword "<keyword>" --pretty
686
+ ```
687
+
688
+ | Flag | Required | Type / accepted values | Default / constraints |
689
+ | --- | --- | --- | --- |
690
+ | `--keyword` | yes | string | — |
691
+
692
+ ### YouTube (youtube)
693
+
694
+ #### `youtube search-suggestions`
695
+
696
+ ```sh
697
+ npx -y socialdatax-skills@latest youtube search-suggestions --keyword "<keyword>" --pretty
698
+ ```
699
+
700
+ | Flag | Required | Type / accepted values | Default / constraints |
701
+ | --- | --- | --- | --- |
702
+ | `--keyword` | yes | string | minLength: 1 |
703
+
704
+ #### `youtube channel-search`
705
+
706
+ ```sh
707
+ npx -y socialdatax-skills@latest youtube channel-search --keyword "<keyword>" --pretty
708
+ ```
709
+
710
+ | Flag | Required | Type / accepted values | Default / constraints |
711
+ | --- | --- | --- | --- |
712
+ | `--keyword` | yes | string | minLength: 1 |
713
+ | `--page-token` | no | string | default: "" |
714
+
715
+ #### `youtube transcript`
716
+
717
+ Input variant: `--url`.
718
+
719
+ ```sh
720
+ npx -y socialdatax-skills@latest youtube transcript --url "<video_url>" --pretty
721
+ ```
722
+
723
+ | Flag | Required | Type / accepted values | Default / constraints |
724
+ | --- | --- | --- | --- |
725
+ | `--url` | yes | string | — |
726
+
727
+ Input variant: `--video-id`.
728
+
729
+ ```sh
730
+ npx -y socialdatax-skills@latest youtube transcript --video-id "<video_id>" --pretty
731
+ ```
732
+
733
+ | Flag | Required | Type / accepted values | Default / constraints |
734
+ | --- | --- | --- | --- |
735
+ | `--video-id` | yes | string | — |
736
+
737
+ Input variant: `--job-id`.
738
+
739
+ ```sh
740
+ npx -y socialdatax-skills@latest youtube transcript --job-id "<job_id>" --pretty
741
+ ```
742
+
743
+ | Flag | Required | Type / accepted values | Default / constraints |
744
+ | --- | --- | --- | --- |
745
+ | `--job-id` | yes | string | — |
746
+
747
+ ### WeChat Channels (wechat)
748
+
749
+ #### `wechat user-search`
750
+
751
+ ```sh
752
+ npx -y socialdatax-skills@latest wechat user-search --keyword "<keyword>" --pretty
753
+ ```
754
+
755
+ | Flag | Required | Type / accepted values | Default / constraints |
756
+ | --- | --- | --- | --- |
757
+ | `--keyword` | yes | string | minLength: 1 |
758
+ | `--page-token` | no | string | default: "" |
759
+
760
+ #### `wechat article-search`
761
+
762
+ ```sh
763
+ npx -y socialdatax-skills@latest wechat article-search --keyword "<keyword>" --pretty
764
+ ```
765
+
766
+ | Flag | Required | Type / accepted values | Default / constraints |
767
+ | --- | --- | --- | --- |
768
+ | `--keyword` | yes | string | minLength: 1; maxLength: 100 |
769
+ | `--page-token` | no | string | default: "" |
770
+ | `--sort-type` | no | general,time_descending,hot | default: "general" |
771
+ | `--publish-time-range` | no | all,day,week,half_year | default: "all" |
772
+
773
+ #### `wechat mp-account-info`
774
+
775
+ ```sh
776
+ npx -y socialdatax-skills@latest wechat mp-account-info --account-id "<account_id>" --pretty
777
+ ```
778
+
779
+ | Flag | Required | Type / accepted values | Default / constraints |
780
+ | --- | --- | --- | --- |
781
+ | `--account-id` | yes | string | — |
782
+
783
+ #### `wechat mp-account-articles`
784
+
785
+ ```sh
786
+ npx -y socialdatax-skills@latest wechat mp-account-articles --account-id "<account_id>" --pretty
787
+ ```
788
+
789
+ | Flag | Required | Type / accepted values | Default / constraints |
790
+ | --- | --- | --- | --- |
791
+ | `--account-id` | yes | string | — |
792
+ | `--page-token` | no | string | default: "" |
793
+
794
+ #### `wechat article-comments`
795
+
796
+ ```sh
797
+ npx -y socialdatax-skills@latest wechat article-comments --url "<url>" --pretty
798
+ ```
799
+
800
+ | Flag | Required | Type / accepted values | Default / constraints |
801
+ | --- | --- | --- | --- |
802
+ | `--url` | yes | string | — |
803
+ | `--page-token` | no | string | default: "" |
804
+
805
+ #### `wechat article-replies`
806
+
807
+ ```sh
808
+ npx -y socialdatax-skills@latest wechat article-replies --url "<url>" --pretty
809
+ ```
810
+
811
+ | Flag | Required | Type / accepted values | Default / constraints |
812
+ | --- | --- | --- | --- |
813
+ | `--url` | yes | string | — |
814
+ | `--comment-id` | no | string | default: "" |
815
+ | `--page-token` | no | string | default: "" |
816
+
817
+ #### `wechat share-link`
818
+
819
+ ```sh
820
+ npx -y socialdatax-skills@latest wechat share-link --object-id "<object_id>" --pretty
821
+ ```
822
+
823
+ | Flag | Required | Type / accepted values | Default / constraints |
824
+ | --- | --- | --- | --- |
825
+ | `--object-id` | yes | string | — |
826
+
827
+ ### Baidu Tieba (tieba)
828
+
829
+ #### `tieba forum-posts`
830
+
831
+ ```sh
832
+ npx -y socialdatax-skills@latest tieba forum-posts --forum-name "<forum_name>" --pretty
833
+ ```
834
+
835
+ | Flag | Required | Type / accepted values | Default / constraints |
836
+ | --- | --- | --- | --- |
837
+ | `--forum-name` | yes | string | minLength: 1 |
838
+ | `--page-token` | no | string | default: "" |
839
+ | `--sort-type` | no | default,newest,latest_reply,hot | default: "default" |
840
+ | `--featured-only` | no | boolean | default: false |
841
+
842
+ #### `tieba forum-detail`
843
+
844
+ ```sh
845
+ npx -y socialdatax-skills@latest tieba forum-detail --forum-name "<forum_name>" --pretty
846
+ ```
847
+
848
+ | Flag | Required | Type / accepted values | Default / constraints |
849
+ | --- | --- | --- | --- |
850
+ | `--forum-name` | yes | string | minLength: 1 |
851
+
852
+ #### `tieba search-suggestions`
853
+
854
+ ```sh
855
+ npx -y socialdatax-skills@latest tieba search-suggestions --keyword "<keyword>" --pretty
856
+ ```
857
+
858
+ | Flag | Required | Type / accepted values | Default / constraints |
859
+ | --- | --- | --- | --- |
860
+ | `--keyword` | yes | string | minLength: 1 |
861
+
862
+ #### `tieba user-search`
863
+
864
+ ```sh
865
+ npx -y socialdatax-skills@latest tieba user-search --keyword "<keyword>" --pretty
866
+ ```
867
+
868
+ | Flag | Required | Type / accepted values | Default / constraints |
869
+ | --- | --- | --- | --- |
870
+ | `--keyword` | yes | string | minLength: 1 |
871
+
872
+ #### `tieba search-general`
873
+
874
+ ```sh
875
+ npx -y socialdatax-skills@latest tieba search-general --keyword "<keyword>" --pretty
876
+ ```
877
+
878
+ | Flag | Required | Type / accepted values | Default / constraints |
879
+ | --- | --- | --- | --- |
880
+ | `--keyword` | yes | string | minLength: 1 |
881
+ | `--page-token` | no | string | default: "" |
882
+
883
+ #### `tieba search`
884
+
885
+ Use `--pages <n>` for bounded pagination; `--all` is not supported.
886
+
887
+ ```sh
888
+ npx -y socialdatax-skills@latest tieba search --keyword "<keyword>" --pretty
889
+ ```
890
+
891
+ | Flag | Required | Type / accepted values | Default / constraints |
892
+ | --- | --- | --- | --- |
893
+ | `--keyword` | yes | string | minLength: 1 |
894
+ | `--page-token` | no | string | default: "" |
895
+ | `--sort-type` | no | newest,oldest,relevance | default: "newest" |
896
+
897
+ #### `tieba forum-search`
898
+
899
+ ```sh
900
+ npx -y socialdatax-skills@latest tieba forum-search --forum-name "<forum_name>" --keyword "<keyword>" --pretty
901
+ ```
902
+
903
+ | Flag | Required | Type / accepted values | Default / constraints |
904
+ | --- | --- | --- | --- |
905
+ | `--forum-name` | yes | string | minLength: 1 |
906
+ | `--keyword` | yes | string | minLength: 1 |
907
+ | `--sort-type` | no | newest,relevance,relevant | default: "newest" |
908
+ | `--page-token` | no | string | default: "" |
909
+
910
+ #### `tieba replies`
911
+
912
+ ```sh
913
+ npx -y socialdatax-skills@latest tieba replies --thread-id "<thread_id>" --comment-id "<comment_id>" --pretty
914
+ ```
915
+
916
+ | Flag | Required | Type / accepted values | Default / constraints |
917
+ | --- | --- | --- | --- |
918
+ | `--thread-id` | yes | string | pattern: ^[1-9][0-9]*$ |
919
+ | `--comment-id` | yes | string | pattern: ^[1-9][0-9]*$ |
920
+ | `--page-token` | no | string | default: "" |
921
+
922
+ #### `tieba detail`
923
+
924
+ Input variant: `--thread-id`.
925
+
926
+ ```sh
927
+ npx -y socialdatax-skills@latest tieba detail --thread-id "<thread_id>" --pretty
928
+ ```
929
+
930
+ | Flag | Required | Type / accepted values | Default / constraints |
931
+ | --- | --- | --- | --- |
932
+ | `--thread-id` | yes | string | pattern: ^[0-9]+$ |
933
+
934
+ Input variant: `--url`.
935
+
936
+ ```sh
937
+ npx -y socialdatax-skills@latest tieba detail --url "<url>" --pretty
938
+ ```
939
+
940
+ | Flag | Required | Type / accepted values | Default / constraints |
941
+ | --- | --- | --- | --- |
942
+ | `--url` | yes | string | pattern: https?:// |
943
+
944
+ #### `tieba comments`
945
+
946
+ Input variant: `--thread-id`.
947
+
948
+ ```sh
949
+ npx -y socialdatax-skills@latest tieba comments --thread-id "<thread_id>" --pretty
950
+ ```
951
+
952
+ | Flag | Required | Type / accepted values | Default / constraints |
953
+ | --- | --- | --- | --- |
954
+ | `--thread-id` | yes | string | pattern: ^[0-9]+$ |
955
+ | `--page-token` | no | string | default: "" |
956
+ | `--sort-type` | no | newest,oldest,hot | default: "hot" |
957
+
958
+ Input variant: `--url`.
959
+
960
+ ```sh
961
+ npx -y socialdatax-skills@latest tieba comments --url "<url>" --pretty
962
+ ```
963
+
964
+ | Flag | Required | Type / accepted values | Default / constraints |
965
+ | --- | --- | --- | --- |
966
+ | `--url` | yes | string | pattern: https?:// |
967
+ | `--page-token` | no | string | default: "" |
968
+ | `--sort-type` | no | newest,oldest,hot | default: "hot" |
969
+
970
+ #### `tieba user-info`
971
+
972
+ Input variant: `--user-id`.
973
+
974
+ ```sh
975
+ npx -y socialdatax-skills@latest tieba user-info --user-id "<user_id>" --pretty
976
+ ```
977
+
978
+ | Flag | Required | Type / accepted values | Default / constraints |
979
+ | --- | --- | --- | --- |
980
+ | `--user-id` | yes | string | pattern: ^[1-9][0-9]{0,18}$ |
981
+
982
+ Input variant: `--profile-url`.
983
+
984
+ ```sh
985
+ npx -y socialdatax-skills@latest tieba user-info --profile-url "<profile_url>" --pretty
986
+ ```
987
+
988
+ | Flag | Required | Type / accepted values | Default / constraints |
989
+ | --- | --- | --- | --- |
990
+ | `--profile-url` | yes | string | minLength: 1 |
991
+
992
+ #### `tieba user-posts`
993
+
994
+ Input variant: `--user-id`.
995
+
996
+ ```sh
997
+ npx -y socialdatax-skills@latest tieba user-posts --user-id "<user_id>" --pretty
998
+ ```
999
+
1000
+ | Flag | Required | Type / accepted values | Default / constraints |
1001
+ | --- | --- | --- | --- |
1002
+ | `--user-id` | yes | string | pattern: ^[1-9][0-9]{0,18}$ |
1003
+ | `--page-token` | no | string | default: "" |
1004
+
1005
+ Input variant: `--profile-url`.
1006
+
1007
+ ```sh
1008
+ npx -y socialdatax-skills@latest tieba user-posts --profile-url "<profile_url>" --pretty
1009
+ ```
1010
+
1011
+ | Flag | Required | Type / accepted values | Default / constraints |
1012
+ | --- | --- | --- | --- |
1013
+ | `--profile-url` | yes | string | minLength: 1 |
1014
+ | `--page-token` | no | string | default: "" |
1015
+
1016
+ #### `tieba user-forums`
1017
+
1018
+ Input variant: `--user-id`.
1019
+
1020
+ ```sh
1021
+ npx -y socialdatax-skills@latest tieba user-forums --user-id "<user_id>" --pretty
1022
+ ```
1023
+
1024
+ | Flag | Required | Type / accepted values | Default / constraints |
1025
+ | --- | --- | --- | --- |
1026
+ | `--user-id` | yes | string | pattern: ^[1-9][0-9]{0,18}$ |
1027
+ | `--page-token` | no | string | default: "" |
1028
+
1029
+ Input variant: `--profile-url`.
1030
+
1031
+ ```sh
1032
+ npx -y socialdatax-skills@latest tieba user-forums --profile-url "<profile_url>" --pretty
1033
+ ```
1034
+
1035
+ | Flag | Required | Type / accepted values | Default / constraints |
1036
+ | --- | --- | --- | --- |
1037
+ | `--profile-url` | yes | string | minLength: 1 |
1038
+ | `--page-token` | no | string | default: "" |
1039
+
1040
+ ### SocialDataX Account (account)
1041
+
1042
+ #### `account balance`
1043
+
1044
+ ```sh
1045
+ npx -y socialdatax-skills@latest account balance --pretty
1046
+ ```
1047
+
1048
+ No command-specific parameters.
1049
+
1050
+ ### SocialDataX API Docs (docs)
1051
+
1052
+ #### `docs search`
1053
+
1054
+ ```sh
1055
+ npx -y socialdatax-skills@latest docs search --query "<query>" --pretty
1056
+ ```
1057
+
1058
+ | Flag | Required | Type / accepted values | Default / constraints |
1059
+ | --- | --- | --- | --- |
1060
+ | `--query` | no | string | default: "" |
1061
+ | `--platform-id` | no | ,account,xhs,douyin,tiktok,kuaishou,bilibili,baidu-tieba,weibo,wechat,zhihu,instagram,x,youtube,toutiao,media_transcript | default: "" |
1062
+ | `--surface` | no | ,http | default: "" |
1063
+ | `--limit` | no | integer | default: 20; minimum: 1; maximum: 50 |
1064
+ | `--offset` | no | integer | default: 0; minimum: 0 |
1065
+
1066
+ #### `docs operation`
1067
+
1068
+ ```sh
1069
+ npx -y socialdatax-skills@latest docs operation --operation-id "<operation_id>" --pretty
1070
+ ```
1071
+
1072
+ | Flag | Required | Type / accepted values | Default / constraints |
1073
+ | --- | --- | --- | --- |
1074
+ | `--operation-id` | yes | string | — |
1075
+
1076
+ #### `docs openapi`
1077
+
1078
+ ```sh
1079
+ npx -y socialdatax-skills@latest docs openapi --pretty
1080
+ ```
1081
+
1082
+ No command-specific parameters.