-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
7660 lines (7510 loc) · 226 KB
/
openapi.yaml
File metadata and controls
7660 lines (7510 loc) · 226 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: Xquik API
version: '1.0'
description: >-
Look up any tweet, user, or trend on X. Search tweets, check follower
relationships, download media, and monitor accounts in real time. 32
pay-per-use read endpoints work without a subscription — just pay per call.
Write endpoints (post, like, retweet, follow, DM) and automation endpoints
(bulk extractions, giveaway draws, monitors, webhooks) require an API key or
OAuth 2.1 bearer token.
x-guidance: >-
## Common tasks
**Find a tweet** — GET /x/tweets/{id} with a numeric tweet ID. Returns full
tweet data: text, author, metrics (likes, retweets, replies, views), media
URLs, and creation timestamp. Cost: $0.00015 per lookup.
**Search tweets** — GET /x/tweets/search?q={query}&limit={n}. Supports X
search operators (from:, to:, has:media, min_faves:, lang:). Returns up to
200 tweets per page with cursor-based pagination. Cost: $0.00015 per tweet
returned.
**Find a user** — GET /x/users/{id} where {id} is a numeric user ID or
@username. Returns profile data: name, bio, follower/following counts,
verification status, join date. Cost: $0.00015 per lookup.
**Check if A follows B** — GET /x/followers/check?source={a}&target={b}
where source and target are user IDs or @usernames. Cost: $0.00105.
**Get trending topics** — GET /trends?woeid={region}&count={n}. WOEID 1 =
worldwide, 23424977 = US, 23424975 = UK, 23424969 = Turkey. Cost: $0.00045.
**Download media** — POST /x/media/download with {"tweetIds": ["123",
"456"]} body. Returns download URLs for images and videos. Cost: $0.00015
per media item.
**Read an article** — GET /x/articles/{tweetId} for long-form X Articles.
Returns full article HTML, cover image, and metadata. Cost: $0.00105.
## Pagination
All list endpoints return {items, cursor}. Pass cursor as ?after={cursor} to
fetch the next page. Dynamic-priced endpoints charge per item returned, not
per request.
## Authentication
Read-only paid endpoints accept pay-per-use payments (no account needed).
Write endpoints and automation features require an X-Api-Key header or OAuth
2.1 bearer token.
contact:
name: Xquik
url: https://xquik.com
email: support@xquik.com
servers:
- url: https://xquik.com/api/v1
x-discovery:
ownershipProofs:
- 'dns:xquik.com'
security:
- apiKey: []
- oauthBearer: []
tags:
- name: Tweets
description: Look up, search, and analyze individual tweets
- name: Users
description: Look up, search, and explore user profiles and relationships
- name: Trends
description: Trending topics and hashtags by region
- name: Communities
description: X Community info, members, and tweets
- name: Lists
description: X List followers, members, and tweets
- name: Articles
description: Long-form X Article extraction
- name: Media
description: Media upload and download
- name: Composition
description: AI tweet composition, drafts, writing styles, and radar
- name: Draws
description: Giveaway draws from tweet replies
- name: Extractions
description: Bulk data extraction (20 tool types)
- name: Monitors
description: Real-time X account monitoring
- name: Events
description: Activity events from monitored accounts
- name: Webhooks
description: Webhook endpoint management and delivery
- name: Integrations
description: Push notification integrations (Telegram)
- name: Account
description: Account info and settings
- name: API Keys
description: API key management (session auth only)
- name: Subscribe
description: Subscription, billing, and credits
- name: X Accounts
description: Connected X account management
- name: X Write
description: X write actions (tweets, likes, follows, DMs)
- name: Bot
description: Telegram bot service endpoints
- name: Support
description: Support ticket management
paths:
# ── Account ──────────────────────────────────────────────
/account:
get:
operationId: getAccount
summary: Get account info
tags: [Account]
security:
- apiKey: []
- oauthBearer: []
responses:
'200':
description: Account info
content:
application/json:
schema:
type: object
required: [plan, monitorsUsed, monitorsAllowed]
properties:
plan:
type: string
enum: [active, inactive]
example: active
monitorsUsed:
type: integer
example: 3
monitorsAllowed:
type: integer
example: 10
creditInfo:
type: object
required:
[
balance,
lifetimePurchased,
lifetimeUsed,
autoTopupEnabled,
]
properties:
balance:
type: integer
example: 50000
lifetimePurchased:
type: integer
example: 140000
lifetimeUsed:
type: integer
example: 90000
autoTopupEnabled:
type: boolean
example: false
example:
balance: 50000
lifetimePurchased: 140000
lifetimeUsed: 90000
autoTopupEnabled: false
example:
plan: active
monitorsUsed: 3
monitorsAllowed: 10
creditInfo:
balance: 50000
lifetimePurchased: 140000
lifetimeUsed: 90000
autoTopupEnabled: false
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
patch:
operationId: updateAccount
summary: Update account locale
tags: [Account]
security:
- apiKey: []
- oauthBearer: []
requestBody:
required: true
description: Locale preference for the account.
content:
application/json:
schema:
type: object
required: [locale]
properties:
locale:
type: string
enum: [en, tr, es]
example: en
example:
locale: en
responses:
'200':
$ref: '#/components/responses/Success'
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
/account/x-identity:
put:
operationId: setXIdentity
summary: Set linked X username
tags: [Account]
security:
- apiKey: []
- oauthBearer: []
requestBody:
required: true
description: X username to link to this account.
content:
application/json:
schema:
type: object
required: [username]
properties:
username:
type: string
description: X username without @
example: elonmusk
example:
username: elonmusk
responses:
'200':
description: X identity linked
content:
application/json:
schema:
type: object
required: [success, xUsername]
properties:
success:
type: boolean
const: true
xUsername:
type: string
example: elonmusk
example:
success: true
xUsername: elonmusk
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
# ── API Keys ─────────────────────────────────────────────
'402':
$ref: '#/components/responses/PaymentRequired'
/api-keys:
get:
operationId: listApiKeys
summary: List API keys
tags: [API Keys]
security:
- apiKey: []
- oauthBearer: []
responses:
'200':
description: API key list
content:
application/json:
schema:
type: object
required: [keys]
properties:
keys:
type: array
items:
$ref: '#/components/schemas/ApiKey'
example: []
example:
keys: []
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
post:
operationId: createApiKey
summary: Create API key
tags: [API Keys]
security:
- apiKey: []
- oauthBearer: []
requestBody:
required: true
description: Optional display name for the new API key.
content:
application/json:
schema:
type: object
properties:
name:
type: string
example: My API Key
example:
name: My API Key
responses:
'201':
description: API key created
content:
application/json:
schema:
type: object
required: [id, fullKey, name, prefix, createdAt]
properties:
id:
type: string
example: '42'
fullKey:
type: string
example: xq_live_abc123def456
name:
type: string
example: My API Key
prefix:
type: string
example: xq_live_abc1
createdAt:
type: string
format: date-time
example: '2025-01-15T12:00:00Z'
example:
id: '42'
fullKey: xq_live_abc123def456
name: My API Key
prefix: xq_live_abc1
createdAt: '2025-01-15T12:00:00Z'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
/api-keys/{id}:
delete:
operationId: revokeApiKey
summary: Revoke API key
tags: [API Keys]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/ResourceId'
responses:
'200':
$ref: '#/components/responses/Success'
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
# ── Subscribe ────────────────────────────────────────────
/subscribe:
post:
operationId: subscribe
summary: Get checkout or billing URL
tags: [Subscribe]
security:
- apiKey: []
- oauthBearer: []
responses:
'200':
description: Stripe checkout or billing portal URL
content:
application/json:
schema:
type: object
required: [url]
properties:
url:
type: string
format: uri
example: 'https://checkout.stripe.com/c/pay/cs_test_123'
status:
type: string
enum: [checkout_created, already_subscribed, payment_issue]
example: checkout_created
message:
type: string
example: Checkout session created
example:
url: 'https://checkout.stripe.com/c/pay/cs_test_123'
status: checkout_created
message: Checkout session created
'401':
$ref: '#/components/responses/Unauthenticated'
# ── Composition ──────────────────────────────────────────
'402':
$ref: '#/components/responses/PaymentRequired'
/compose:
post:
operationId: compose
summary: Compose, refine, or score a tweet
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
requestBody:
required: true
description: Workflow step, topic, goal, and optional style parameters.
content:
application/json:
schema:
type: object
required: [step]
properties:
step:
type: string
enum: [compose, refine, score]
description: Workflow step
example: compose
topic:
type: string
description: Tweet topic (compose, refine)
example: AI trends in 2025
goal:
type: string
enum: [engagement, followers, authority, conversation]
description: Optimization goal
example: engagement
draft:
type: string
description: Tweet draft text to evaluate (score)
example: "AI is changing everything. Here's why."
tone:
type: string
description: Desired tone (refine)
example: professional
styleUsername:
type: string
description:
Cached style username for voice matching (compose)
example: elonmusk
additionalContext:
type: string
description: Extra context or URLs (refine)
example: 'https://x.com/elonmusk/status/1234567890'
callToAction:
type: string
description: Desired call to action (refine)
example: Follow for more
mediaType:
type: string
enum: [photo, video, none]
description: Media type (refine)
example: none
hasLink:
type: boolean
description: Whether a link is attached (score)
example: false
hasMedia:
type: boolean
description: Whether media is attached (score)
example: false
example:
step: compose
topic: AI trends in 2025
goal: engagement
responses:
'200':
description: Composition result
content:
application/json:
schema:
type: object
properties:
text:
type: string
description: Generated or refined tweet text
example:
'AI is reshaping every industry. Here are 5 trends to
watch in 2025.'
score:
type: number
description: Engagement score (0-100)
example: 78
feedback:
type: string
description: AI feedback on the draft
example: 'Strong hook. Consider adding a call to action.'
suggestions:
type: array
items:
type: string
description: Improvement suggestions
example: ['Add a thread hook', 'Include a relevant hashtag']
additionalProperties: true
example:
text:
'AI is reshaping every industry. Here are 5 trends to watch in
2025.'
score: 78
feedback: 'Strong hook. Consider adding a call to action.'
suggestions: ['Add a thread hook', 'Include a relevant hashtag']
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
/drafts:
get:
operationId: listDrafts
summary: List saved drafts
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/Limit'
- name: afterCursor
in: query
schema:
type: string
description: Cursor for pagination
responses:
'200':
description: Draft list
content:
application/json:
schema:
type: object
required: [drafts, hasMore]
properties:
drafts:
type: array
items:
$ref: '#/components/schemas/Draft'
example: []
hasMore:
type: boolean
example: false
nextCursor:
type: string
example: 'abc123'
example:
drafts: []
hasMore: false
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
post:
operationId: createDraft
summary: Save a tweet draft
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
requestBody:
required: true
description: Draft text with optional topic and optimization goal.
content:
application/json:
schema:
type: object
required: [text]
properties:
text:
type: string
example: 'AI is the future of productivity'
topic:
type: string
example: 'AI trends'
goal:
type: string
enum: [engagement, followers, authority, conversation]
example: engagement
example:
text: 'AI is the future of productivity'
topic: 'AI trends'
goal: engagement
responses:
'201':
description: Draft created
content:
application/json:
schema:
$ref: '#/components/schemas/DraftDetail'
example:
id: '42'
text: 'AI is the future of productivity'
topic: 'AI trends'
goal: engagement
createdAt: '2025-01-15T12:00:00Z'
updatedAt: '2025-01-16T09:30:00Z'
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
/drafts/{id}:
get:
operationId: getDraft
summary: Get draft by ID
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/ResourceId'
responses:
'200':
description: Draft details
content:
application/json:
schema:
$ref: '#/components/schemas/DraftDetail'
example:
id: '42'
text: 'AI is the future of productivity'
topic: 'AI trends'
goal: engagement
createdAt: '2025-01-15T12:00:00Z'
updatedAt: '2025-01-16T09:30:00Z'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
delete:
operationId: deleteDraft
summary: Delete a draft
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/ResourceId'
responses:
'204':
$ref: '#/components/responses/NoContent'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
/styles:
get:
operationId: listStyles
summary: List cached style profiles
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
responses:
'200':
description: Style profile list
content:
application/json:
schema:
type: object
required: [styles]
properties:
styles:
type: array
items:
$ref: '#/components/schemas/StyleProfileSummary'
example: []
example:
styles: []
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
post:
operationId: analyzeStyle
summary: Analyze writing style from recent tweets
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
requestBody:
required: true
description: X username whose recent tweets define the style.
content:
application/json:
schema:
type: object
required: [username]
properties:
username:
type: string
description: X username to analyze
example: elonmusk
example:
username: elonmusk
responses:
'200':
description: Style profile created
content:
application/json:
schema:
$ref: '#/components/schemas/StyleProfile'
example:
xUsername: 'elonmusk'
tweetCount: 50
isOwnAccount: true
fetchedAt: '2025-01-15T12:00:00Z'
tweets:
- id: '1234567890'
text: 'Just launched our new feature!'
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
/styles/compare:
get:
operationId: compareStyles
summary: Compare two style profiles
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- name: username1
in: query
required: true
schema:
type: string
description: First username to compare
- name: username2
in: query
required: true
schema:
type: string
description: Second username to compare
responses:
'200':
description: Style comparison
content:
application/json:
schema:
type: object
required: [style1, style2]
properties:
style1:
$ref: '#/components/schemas/StyleProfile'
style2:
$ref: '#/components/schemas/StyleProfile'
example:
style1:
xUsername: 'elonmusk'
tweetCount: 50
isOwnAccount: true
fetchedAt: '2025-01-15T12:00:00Z'
tweets:
- id: '1234567890'
text: 'Just launched our new feature!'
style2:
xUsername: 'BillGates'
tweetCount: 40
isOwnAccount: false
fetchedAt: '2025-01-15T12:00:00Z'
tweets:
- id: '9876543210'
text: 'Climate change is a global challenge.'
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
/styles/{id}:
get:
operationId: getStyle
summary: Get cached style profile
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/StyleId'
responses:
'200':
description: Style profile
content:
application/json:
schema:
$ref: '#/components/schemas/StyleProfile'
example:
xUsername: 'elonmusk'
tweetCount: 50
isOwnAccount: true
fetchedAt: '2025-01-15T12:00:00Z'
tweets:
- id: '1234567890'
text: 'Just launched our new feature!'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
put:
operationId: saveStyle
summary: Save style profile with custom tweets
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/StyleId'
requestBody:
required: true
description: Label and sample tweets that define the style profile.
content:
application/json:
schema:
type: object
required: [label, tweets]
properties:
label:
type: string
description: Display label for the style
example: 'Professional Voice'
tweets:
type: array
items:
type: object
required: [text]
properties:
text:
type: string
example:
'Excited to share our latest research findings.'
description: Array of tweet objects
example:
- text: 'Excited to share our latest research findings.'
example:
label: 'Professional Voice'
tweets:
- text: 'Excited to share our latest research findings.'
responses:
'200':
description: Style profile saved
content:
application/json:
schema:
$ref: '#/components/schemas/StyleProfile'
example:
xUsername: 'elonmusk'
tweetCount: 1
isOwnAccount: true
fetchedAt: '2025-01-15T12:00:00Z'
tweets:
- id: '1234567890'
text: 'Excited to share our latest research findings.'
'400':
$ref: '#/components/responses/InvalidInput'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
delete:
operationId: deleteStyle
summary: Delete a style profile
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/StyleId'
responses:
'204':
$ref: '#/components/responses/NoContent'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
/styles/{id}/performance:
get:
operationId: getStylePerformance
summary: Get engagement metrics for style tweets
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters:
- $ref: '#/components/parameters/StyleId'
responses:
'200':
description: Performance metrics
content:
application/json:
schema:
type: object
required: [xUsername, tweetCount, tweets]
properties:
xUsername:
type: string
example: elonmusk
tweetCount:
type: integer
example: 5
tweets:
type: array
items:
type: object
required: [id, text]
properties:
id:
type: string
example: '1234567890'
text:
type: string
example:
'Excited to share our latest research findings.'
likeCount:
type: integer
example: 120
retweetCount:
type: integer
example: 15
replyCount:
type: integer
example: 8
viewCount:
type: integer
example: 5000
createdAt:
type: string
example: '2025-01-15T12:00:00Z'
example:
- id: '1234567890'
text: 'Excited to share our latest research findings.'
likeCount: 120
retweetCount: 15
replyCount: 8
viewCount: 5000
createdAt: '2025-01-15T12:00:00Z'
example:
xUsername: elonmusk
tweetCount: 5
tweets:
- id: '1234567890'
text: 'Excited to share our latest research findings.'
likeCount: 120
retweetCount: 15
replyCount: 8
viewCount: 5000
createdAt: '2025-01-15T12:00:00Z'
'401':
$ref: '#/components/responses/Unauthenticated'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
/radar:
get:
operationId: getRadar
summary: Get trending topics from curated sources
tags: [Composition]
security:
- apiKey: []
- oauthBearer: []
parameters: