Newer
Older
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
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="og: http://ogp.me/ns#" data-behavior="i18n" data-environment="prod" data-server-mode="publish" data-dc="a" class=" twtr-type--chirp">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GET /2/spaces/:id/buyers | Docs | Twitter Developer Platform </title>
<meta name="description"/>
<link rel="canonical" href="https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers"/>
<meta property="og:url" content="https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="GET /2/spaces/:id/buyers"/>
<meta property="og:image" content="https://cdn.cms-twdigitalassets.com/content/dam/developer-twitter/redesign-2021-images/og-social-card/devwebsite_card_tn.jpg.twimg.768.jpg"/>
<meta name="keywords"/>
<meta name="twitter:card" content="summary_large_image"/>
<link rel="alternate" hreflang="en" href="https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers"/>
<meta name="twitter:widgets:new-embed-design" content="on"/>
<meta name="twitter:widgets:csp" content="on"/>
<link href="https://abs.twimg.com/favicons/twitter-orange.3.ico" rel="shortcut icon" type="image/x-icon"/>
<script type="application/json" id="analytics-settings">{"google":{"accounts":[],"options":{"displayAdvertisingFeatures":false}},"scribe":{"scribeSectionWithImpression":false},"trackingPixel":{},"bing":{}}</script>
<script type="application/json" class="u14-data-layer" data-component="u14-data-layer" id="data-layer">{"page":{"pageId":"5cdddfd","pageKey":"5cdddfd-en-en","pageName":"GET /2/spaces/:id/buyers","pagePath":"/content/developer-twitter/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers","pageType":"documentation-page","pagePublishDate":"","language":"en","geoRegion":"en","category":{"tags":{"tagIDs":[],"tagNames":[]},"scribe":{"component":"twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers","section":"docs","page":"developer","element":"page"}},"attribute":{}}}</script>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-bold-italic-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-bold-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-display-extended-black-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-regular-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-regular-italic-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-extended-bold-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/chirp.css.twhash.a.f.41e1f29c2d4295d68b05db0725781db3.css" media="screen" type="text/css"/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/legacy-colors.css.twhash.a.f.20fd26d638816cbce52d44904fc9c3c2.css" type="text/css"/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/project.css.twhash.a.f.9b9b7e2d9404f9e756d0962c03502a4d.css" media="screen" type="text/css"/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/print.css.twhash.a.f.67de1c964d9398cbf614aab841910ad6.css" media="print" type="text/css"/>
</head>
<body class="
twtr-theme--blue
page documentation-page
page--
twtr-color-bg--white-neutral
js-no-scroll
atm-light
" style="--theme-color: var(--blue-dark)" data-analytics-page="developer" data-analytics-section="docs" data-analytics-component="twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers" data-analytics-element="page">
<div id="twtr-dtc-main" style="--nav-height: var(--navbar-tall)" data-dtc-rebrand-on="true" class="dtc-rebrand-flag-on">
<div id="twBearerToken" data-value="AAAAAAAAAAAAAAAAAAAAACHguwAAAAAAaSlT0G31NDEyg%2BSnBN5JuyKjMCU%3Dlhg0gv0nE7KKyiJNEAojQbn8Y3wJm1xidDK7VnKGBP4ByJwHPb" style="display:none"></div>
<div id="twAuthenticationFlag" data-value="guest" style="display:none"></div>
<div id="twGeoLocationRegion" data-value="eu" style="display:none"></div>
<div class="u01-meganav__page-padding"></div>
<div class="u01-meganav js-twtr-nav twtr-color-bg--white-neutral is-fixed">
<div class="twtr-container--wide">
<div class="twtr-grid">
<div class="twtr-col-12">
<div class="u01-meganav__container" data-bg-color="white-neutral" data-home-path="/content/developer-twitter/en" data-icon-close="<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" aria-hidden="true" focusable="false" role="none" class="twtr-icon--md">
<g>
<g>
<defs>
<rect id="SVGID_1_" x="-468" y="-1360" width="1440" height="3027" />
</defs>
<clippath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;" />
</clippath>
</g>
</g>
<rect x="-468" y="-1360" class="st0" width="1440" height="3027" style="fill:rgb(0,0,0,0);stroke-width:3;stroke:rgb(0,0,0)" />
<path d="M13.4,12l5.8-5.8c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0L12,10.6L6.2,4.8c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.4
l5.8,5.8l-5.8,5.8c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.4,0.3,0.7,0.3s0.5-0.1,0.7-0.3l5.8-5.8l5.8,5.8c0.2,0.2,0.5,0.3,0.7,0.3
s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L13.4,12z" />
</svg>" data-icon-chevron-right="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M17.207 11.293l-7.5-7.5c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414L15.086 12l-6.793 6.793c-.39.39-.39 1.023 0 1.414.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>" data-icon-chevron-down="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M20.207 7.043c-.39-.39-1.023-.39-1.414 0L12 13.836 5.207 7.043c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>" data-icon-arrow-left="<svg width="28px" height="28px" viewbox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="none" class="twtr-icon u01-meganav__icon-arrow-left">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
<g transform="translate(-1216.000000, -298.000000)" stroke-width="2.25">
<g transform="translate(1200.000000, 282.000000)">
<g transform="translate(17.000000, 17.000000)">
<path d="M0.756410256,12.8589744 L25.7179487,12.8589744"></path>
<path d="M13.2371795,25.3397436 L25.7179487,12.8589744"></path>
<path d="M13.2371795,12.4807692 L25.3397436,0.378205128" transform="translate(19.288462, 6.429487) rotate(-90.000000) translate(-19.288462, -6.429487) "></path>
</g>
</g>
</g>
</g>
</svg>" data-left-nav-items="[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter API","linkDisabled":false,"title":"Twitter API","path":"https://developer.twitter.com/en/products/twitter-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter Ads API","linkDisabled":false,"title":"Twitter Ads API","path":"https://developer.twitter.com/en/products/twitter-ads-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter for websites","linkDisabled":false,"title":"Twitter for websites","path":"https://developer.twitter.com/en/products/twitter-for-websites"}],"overviewTitle":"Products","linkDisabled":true,"title":"Products","path":"https://developer.twitter.com/en/products"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Getting Started","linkDisabled":false,"title":"Getting Started","path":"https://developer.twitter.com/en/docs/platform-overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Tutorials","linkDisabled":false,"title":"Tutorials","path":"https://developer.twitter.com/en/docs/tutorials"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Github","linkDisabled":false,"title":"Github","path":"https://github.com/twitterdev"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"API reference index","linkDisabled":false,"title":"API reference index","path":"https://developer.twitter.com/en/docs/api-reference-index"}],"linkDisabled":true,"title":"Resources","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter API home","linkDisabled":false,"title":"Twitter API home","path":"https://developer.twitter.com/en/docs/twitter-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter API getting started","linkDisabled":false,"title":"Twitter API getting started","path":"https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"SDKs","linkDisabled":false,"title":"SDKs","path":"https://developer.twitter.com/en/docs/twitter-api/tools-and-libraries/sdks/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Tools and Libraries","linkDisabled":false,"title":"Tools and Libraries","path":"https://developer.twitter.com/en/docs/twitter-api/tools-and-libraries/v2"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"v2 migration","linkDisabled":false,"title":"v2 migration","path":"https://developer.twitter.com/en/docs/twitter-api/migrate/twitter-api-endpoint-map"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Enterprise APIs","linkDisabled":false,"title":"Enterprise APIs","path":"https://developer.twitter.com/en/docs/twitter-api/enterprise"}],"linkDisabled":true,"title":"Twitter Api","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter Ads API home","linkDisabled":false,"title":"Twitter Ads API home","path":"https://developer.twitter.com/en/docs/twitter-ads-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter Ads API getting started","linkDisabled":false,"title":"Twitter Ads API getting started","path":"https://developer.twitter.com/en/docs/twitter-ads-api/getting-started"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Apply for access","linkDisabled":false,"title":"Apply for access","path":"https://developer.twitter.com/en/docs/twitter-ads-api/apply.html"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Tools and libraries","linkDisabled":false,"title":"Tools and libraries","path":"https://developer.twitter.com/en/docs/twitter-ads-api/tools-and-libraries"}],"linkDisabled":true,"title":"Twitter Ads API","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter for Websites home","linkDisabled":false,"title":"Twitter for Websites home","path":"https://developer.twitter.com/en/docs/twitter-for-websites"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Embedded Tweets","linkDisabled":false,"title":"Embedded Tweets","path":"https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Embedded Timelines","linkDisabled":false,"title":"Embedded Timelines","path":"https://developer.twitter.com/en/docs/twitter-for-websites/timelines/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Embedded buttons","linkDisabled":false,"title":"Embedded buttons","path":"https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Web intents","linkDisabled":false,"title":"Web intents","path":"https://developer.twitter.com/en/docs/twitter-for-websites/web-intents/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter cards","linkDisabled":false,"title":"Twitter cards","path":"https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards"}],"linkDisabled":true,"title":"Twitter for Websites","path":"https://developer.twitter.com/.html"}],"overviewTitle":"Docs","linkDisabled":false,"menuType":"multiCategory","title":"Docs","path":"https://developer.twitter.com/en/docs"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for business","linkDisabled":false,"title":"Build for business","path":"https://developer.twitter.com/en/use-cases/build-for-businesses"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for the public","linkDisabled":false,"title":"Build for the public","path":"https://developer.twitter.com/en/use-cases/build-for-consumers"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Do research","linkDisabled":false,"title":"Do research","path":"https://developer.twitter.com/en/use-cases/do-research"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Teach \u0026 learn","linkDisabled":false,"title":"Teach \u0026 learn","path":"https://developer.twitter.com/en/use-cases/teach-and-learn"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for good","linkDisabled":false,"title":"Build for good","path":"https://developer.twitter.com/en/use-cases/build-for-good"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for fun","linkDisabled":false,"title":"Build for fun","path":"https://developer.twitter.com/en/use-cases/build-for-fun"}],"overviewTitle":"Use Cases","linkDisabled":true,"title":"Use Cases","path":"https://developer.twitter.com/en/navigation/left-nav-items/use-cases"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Changelog","linkDisabled":false,"title":"Changelog","path":"https://developer.twitter.com/en/updates/changelog"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Blog","linkDisabled":false,"title":"Blog","path":"https://developer.twitter.com/en/blog"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Newsletter","linkDisabled":false,"title":"Newsletter","path":"https://developer.twitter.com/en/updates/stay-informed"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"YouTube","linkDisabled":false,"title":"YouTube","path":"https://www.youtube.com/c/twitterdev"}],"linkDisabled":true,"title":"Stay informed","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Forums","linkDisabled":false,"title":"Forums","path":"https://twittercommunity.com/"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Events","linkDisabled":false,"title":"Events","path":"https://twitterdev.bevylabs.com/"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Insiders","linkDisabled":false,"title":"Insiders","path":"https://developer.twitter.com/en/community/insiders"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Community leaders","linkDisabled":false,"title":"Community leaders","path":"https://developer.twitter.com/en/community/leaders"}],"linkDisabled":true,"title":"Connect","path":"https://developer.twitter.com/.html"}],"overviewTitle":"Community","linkDisabled":false,"menuType":"multiCategory","title":"Community","path":"https://developer.twitter.com/en/community"}]" data-right-nav-items="[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Policies","linkDisabled":false,"title":"Policies","path":"https://developer.twitter.com/en/developer-terms"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Developer agreement","linkDisabled":false,"title":"Developer agreement","path":"https://developer.twitter.com/en/developer-terms/agreement-and-policy/source"}],"overviewTitle":"Support","linkDisabled":false,"title":"Support","path":"https://developer.twitter.com/en/support"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Developer Portal","linkDisabled":false,"title":"Developer Portal","path":"https://developer.twitter.com/en/portal/petition/essential/basic-info"}]" data-cta-enabled="true" data-profile-enabled="true" data-cta-link-new-tab="false" data-root-page-title="Developer Platform">
</div>
<div aria-label="Search" class="u01-meganav__search-modal twtr-color-bg--blue-dark" role="dialog" aria-modal="true">
<button aria-label="Close search menu" class="u04-search__close-button js-close-search" type="button">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" aria-hidden="true" focusable="false" role="none" class="u04-search__close-svg twtr-icon">
<g>
<g>
<defs>
<rect id="SVGID_1_" x="-468" y="-1360" width="1440" height="3027" />
</defs>
<clippath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;" />
</clippath>
</g>
</g>
<rect x="-468" y="-1360" class="st0" width="1440" height="3027" style="fill:rgb(0,0,0,0);stroke-width:3;stroke:rgb(0,0,0)" />
<path d="M13.4,12l5.8-5.8c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0L12,10.6L6.2,4.8c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.4
l5.8,5.8l-5.8,5.8c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.4,0.3,0.7,0.3s0.5-0.1,0.7-0.3l5.8-5.8l5.8,5.8c0.2,0.2,0.5,0.3,0.7,0.3
s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L13.4,12z" />
</svg>
</button>
<div class="search-bar search-bar--js" data-theme="blue" data-search-path="https://developer.twitter.com/en/search-results.html">
<input placeholder="Type your search here" type="search" autocomplete="off" class="search-bar__input" name="q"/>
<button id="u04-search__button" class="u04-search__button" aria-label="Search">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="u04-search__button-icon twtr-icon--mega twtr-color-fill--white-neutral">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M22.06 19.94l-3.73-3.73C19.38 14.737 20 12.942 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c1.943 0 3.738-.622 5.21-1.67l3.73 3.73c.292.294.676.44 1.06.44s.768-.146 1.06-.44c.586-.585.586-1.535 0-2.12zM11 17c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6-2.692 6-6 6z" />
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<main class="twtr-color-bg--white-neutral" id="twtr-main">
<div class="page-wrapper documentation-page twtr-color-bg--white-neutral">
<div class="u07 is-hidden" aria-hidden="true">
<div class="u07__item u07__bg-color--neutral">
<div class="u07__item-content">
<div class="u07__notification twtr-type--bold-200 chirp--bold-200 twtr-color--gray-900">
</div>
<div class="u07__close">
<button type="button" class="u07__close-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="46" height="72" viewbox="0 0 46 72" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path d="M27.243 36l14.879-14.879a2.998 2.998 0 0 0 0-4.242 2.998 2.998 0 0 0-4.242 0L23 31.758 8.122 16.879a2.998 2.998 0 0 0-4.242 0 2.998 2.998 0 0 0 0 4.242L18.758 36 3.879 50.879A2.998 2.998 0 0 0 6.001 56a2.99 2.99 0 0 0 2.121-.879L23 40.242l14.879 14.879A2.991 2.991 0 0 0 40 56a2.998 2.998 0 0 0 2.121-5.121L27.243 36z" />
</svg>
</button>
</div>
</div>
</div>
</div>
<div class="page-content twtr-container-wide left-rail-container">
<div class="sidebar-content docs-side-nav">
<div class="sidebar-content__wrapper">
<span class="docs-side-nav__close">
<svg xmlns="http://www.w3.org/2000/svg" width="46" height="72" viewBox="0 0 46 72" aria-hidden="true" focusable="false">
<path d="M27.243 36l14.879-14.879a2.998 2.998 0 0 0 0-4.242 2.998 2.998 0 0 0-4.242 0L23 31.758 8.122 16.879a2.998 2.998 0 0 0-4.242 0 2.998 2.998 0 0 0 0 4.242L18.758 36 3.879 50.879A2.998 2.998 0 0 0 6.001 56a2.99 2.99 0 0 0 2.121-.879L23 40.242l14.879 14.879A2.991 2.991 0 0 0 40 56a2.998 2.998 0 0 0 2.121-5.121L27.243 36z">
</path>
</svg>
</span>
<div class="d08-navigation-sidebar" data-sidenav-json="{"navigationTitle":"Documentation","rootPageUrl":"/content/developer-twitter/en/docs.html","navigationGroups":[{"groupName":"","navItems":[{"title":"Getting started","url":"/content/developer-twitter/en/docs/platform-overview"},{"childNavItems":[{"title":"Developer Apps","url":"/content/developer-twitter/en/docs/apps"},{"title":"Projects","url":"/content/developer-twitter/en/docs/projects"},{"title":"Developer portal","url":"/content/developer-twitter/en/docs/developer-portal"},{"title":"Authentication","url":"/content/developer-twitter/en/docs/authentication"},{"title":"Counting characters","url":"/content/developer-twitter/en/docs/counting-characters"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/rate-limits"},{"title":"Twitter IDs","url":"/content/developer-twitter/en/docs/twitter-ids"},{"title":"Security","url":"/content/developer-twitter/en/docs/security"}],"title":"Fundamentals","url":"#"},{"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/tools-and-libraries"},{"title":"Tutorials","url":"/content/developer-twitter/en/docs/tutorials"},{"title":"API reference index","url":"/content/developer-twitter/en/docs/api-reference-index"}],"groupUrl":"#"},{"groupName":"Twitter API","navItems":[{"childNavItems":[{"title":"About the Twitter API","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/about-twitter-api"},{"title":"Getting access","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api"},{"title":"Make your first request","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/make-your-first-request"},{"title":"Important resources","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/important-resources"}],"title":"Getting started","url":"#"},{"childNavItems":[{"title":"SDKs","url":"/content/developer-twitter/en/docs/twitter-api/tools-and-libraries/sdks"}],"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/twitter-api/tools-and-libraries"},{"title":"What to build","url":"/content/developer-twitter/en/docs/twitter-api/what-to-build"},{"childNavItems":[{"title":"Overview","url":"/content/developer-twitter/en/docs/twitter-api/migrate/overview"},{"title":"Data format migration","url":"/content/developer-twitter/en/docs/twitter-api/migrate/data-formats"},{"title":"Twitter API endpoint map","url":"/content/developer-twitter/en/docs/twitter-api/migrate/twitter-api-endpoint-map"}],"title":"Migrate","url":"/content/developer-twitter/en/docs/twitter-api/migrate"},{"childNavItems":[{"grandChildNavItems":[{"title":"Data dictionary","url":"/content/developer-twitter/en/docs/twitter-api/data-dictionary"},{"title":"Fields","url":"/content/developer-twitter/en/docs/twitter-api/fields"},{"title":"Expansions","url":"/content/developer-twitter/en/docs/twitter-api/expansions"},{"title":"Tweet annotations","url":"/content/developer-twitter/en/docs/twitter-api/annotations"},{"title":"Metrics","url":"/content/developer-twitter/en/docs/twitter-api/metrics"},{"title":"Conversation ID","url":"/content/developer-twitter/en/docs/twitter-api/conversation-id"},{"title":"Pagination","url":"/content/developer-twitter/en/docs/twitter-api/pagination"},{"title":"Versioning","url":"/content/developer-twitter/en/docs/twitter-api/versioning"},{"title":"Consistency","url":"/content/developer-twitter/en/docs/twitter-api/consistency"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/twitter-api/rate-limits"},{"title":"Tweet cap","url":"/content/developer-twitter/en/docs/twitter-api/tweet-caps"},{"title":"Edit Tweets","url":"/content/developer-twitter/en/docs/twitter-api/edit-tweets"}],"title":"Fundamentals","url":"#"},{"grandChildNavItems":[{"title":"Tweets lookup","url":"/content/developer-twitter/en/docs/twitter-api/tweets/lookup"},{"title":"Manage Tweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/manage-tweets"},{"title":"Timelines","url":"/content/developer-twitter/en/docs/twitter-api/tweets/timelines"},{"title":"Search Tweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/search"},{"title":"Tweet counts","url":"/content/developer-twitter/en/docs/twitter-api/tweets/counts"},{"title":"Filtered stream","url":"/content/developer-twitter/en/docs/twitter-api/tweets/filtered-stream"},{"title":"Volume streams","url":"/content/developer-twitter/en/docs/twitter-api/tweets/volume-streams"},{"title":"Retweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/retweets"},{"title":"Quote Tweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/quote-tweets"},{"title":"Likes","url":"/content/developer-twitter/en/docs/twitter-api/tweets/likes"},{"title":"Bookmarks","url":"/content/developer-twitter/en/docs/twitter-api/tweets/bookmarks"},{"title":"Hide replies","url":"/content/developer-twitter/en/docs/twitter-api/tweets/hide-replies"}],"title":"Tweets","url":"#"},{"grandChildNavItems":[{"title":"Users lookup","url":"/content/developer-twitter/en/docs/twitter-api/users/lookup"},{"title":"Follows","url":"/content/developer-twitter/en/docs/twitter-api/users/follows"},{"title":"Blocks","url":"/content/developer-twitter/en/docs/twitter-api/users/blocks"},{"title":"Mutes","url":"/content/developer-twitter/en/docs/twitter-api/users/mutes"},{"title":"Search","url":"/content/developer-twitter/en/docs/twitter-api/users/search"}],"title":"Users","url":"#"},{"grandChildNavItems":[{"title":"Tweets","url":"/content/developer-twitter/en/docs/twitter-api/usage/tweets"}],"title":"Usage","url":"#"},{"title":"Trends","url":"/content/developer-twitter/en/docs/twitter-api/trends"},{"grandChildNavItems":[{"title":"Overview","url":"/content/developer-twitter/en/docs/twitter-api/spaces/overview"},{"title":"Spaces lookup","url":"/content/developer-twitter/en/docs/twitter-api/spaces/lookup"},{"title":"Search Spaces","url":"/content/developer-twitter/en/docs/twitter-api/spaces/search"}],"title":"Spaces","url":"#"},{"grandChildNavItems":[{"title":"Direct Messages lookup","url":"/content/developer-twitter/en/docs/twitter-api/direct-messages/lookup"},{"title":"Manage Direct Messages","url":"/content/developer-twitter/en/docs/twitter-api/direct-messages/manage"}],"title":"Direct Messages","url":"#"},{"grandChildNavItems":[{"title":"Lists lookup","url":"/content/developer-twitter/en/docs/twitter-api/lists/list-lookup"},{"title":"Manage lists","url":"/content/developer-twitter/en/docs/twitter-api/lists/manage-lists"},{"title":"List Tweets lookup","url":"/content/developer-twitter/en/docs/twitter-api/lists/list-tweets"},{"title":"List members","url":"/content/developer-twitter/en/docs/twitter-api/lists/list-members"},{"title":"Pinned Lists","url":"/content/developer-twitter/en/docs/twitter-api/lists/pinned-lists"}],"title":"Lists","url":"#"},{"grandChildNavItems":[{"title":"Batch compliance","url":"/content/developer-twitter/en/docs/twitter-api/compliance/batch-compliance/"},{"title":"Compliance streams","url":"/content/developer-twitter/en/docs/twitter-api/compliance/streams/"}],"title":"Compliance","url":"#"}],"title":"Twitter API v2","url":""},{"childNavItems":[{"grandChildNavItems":[{"title":"Gnip Console","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/console"},{"title":"Data dictionary","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/data-dictionary"},{"title":"Data enrichments","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/enrichments"},{"title":"Rules and filtering","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/rules-and-filtering"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/rate-limits"},{"title":"Edit Tweets","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/edit-tweets"}],"title":"Fundamentals","url":"#"},{"title":"PowerTrack API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/powertrack-api"},{"title":"Decahose API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/decahose-api"},{"title":"Account Activity API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/account-activity-api"},{"title":"Search API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/search-api"},{"title":"Engagement API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/engagement-api"},{"title":"Compliance Firehose API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/compliance-firehose-api"},{"title":"Usage API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/usage-api"}],"calloutLabel":"Gnip 2.0","title":"Enterprise - Gnip 2.0","url":"/content/developer-twitter/en/docs/twitter-api/enterprise"},{"childNavItems":[{"grandChildNavItems":[{"title":"Data dictionary","url":"/content/developer-twitter/en/docs/twitter-api/v1/data-dictionary"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/twitter-api/v1/rate-limits"},{"title":"Edit Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/edit-tweets"}],"title":"Fundamentals","url":"#"},{"grandChildNavItems":[{"title":"Search Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/search"},{"title":"Post, retrieve, and engage with Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/post-and-engage"},{"title":"Get Tweet timelines","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/timelines"},{"title":"Filter realtime Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/filter-realtime"},{"title":"Sample realtime Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/sample-realtime"},{"title":"Curate a collection of Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/curate-a-collection"}],"title":"Tweets","url":"#"},{"grandChildNavItems":[{"title":"Manage account settings and profile","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings"},{"title":"Mute, block, and report users","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users"},{"title":"Follow, search, and get users","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users"},{"title":"Create and manage lists","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists"},{"title":"User profile images and banners","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/user-profile-images-and-banners"}],"title":"Users","url":"#"},{"grandChildNavItems":[{"title":"Direct Message features","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/api-features"},{"title":"Sending and receiving events","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/sending-and-receiving"},{"title":"Welcome messages","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/welcome-messages"},{"title":"Message attachments","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/message-attachments"},{"title":"Quick replies","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/quick-replies"},{"title":"Buttons","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/buttons"},{"title":"Typing indicators and read receipts","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/typing-indicator-and-read-receipts"},{"title":"Conversation management","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/conversation-management"},{"title":"Custom profiles","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/custom-profiles"},{"title":"Customer feedback cards","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/customer-feedback"}],"title":"Direct Messages","url":"#"},{"grandChildNavItems":[{"title":"Upload media","url":"/content/developer-twitter/en/docs/twitter-api/v1/media/upload-media"}],"title":"Media","url":"#"},{"grandChildNavItems":[{"title":"Get trends near a location","url":"/content/developer-twitter/en/docs/twitter-api/v1/trends/trends-for-location"},{"title":"Get locations with trending topics","url":"/content/developer-twitter/en/docs/twitter-api/v1/trends/locations-with-trending-topics"}],"title":"Trends","url":"#"},{"grandChildNavItems":[{"title":"Get information about a place","url":"/content/developer-twitter/en/docs/twitter-api/v1/geo/place-information"},{"title":"Get places near a location","url":"/content/developer-twitter/en/docs/twitter-api/v1/geo/places-near-location"}],"title":"Geo","url":"#"},{"grandChildNavItems":[{"title":"Get app rate limit status","url":"/content/developer-twitter/en/docs/twitter-api/v1/developer-utilities/rate-limit-status"},{"title":"Get Twitter supported languages","url":"/content/developer-twitter/en/docs/twitter-api/v1/developer-utilities/supported-languages"}],"title":"Developer utilities","url":"#"}],"calloutLabel":"v1.1","title":"Standard v1.1","url":"/content/developer-twitter/en/docs/twitter-api/v1"}],"groupUrl":"/content/developer-twitter/en/docs/twitter-api"},{"groupName":"Twitter Ads API","navItems":[{"childNavItems":[{"title":"Step by step guide","url":"/content/developer-twitter/en/docs/twitter-ads-api/getting-started"},{"title":"Increasing access","url":"/content/developer-twitter/en/docs/twitter-ads-api/increasing-access"},{"title":"Subscribe for updates","url":"/content/developer-twitter/en/docs/twitter-ads-api/newsletter"}],"title":"Getting started","url":""},{"childNavItems":[{"title":"Hierarchy and terminology","url":"/content/developer-twitter/en/docs/twitter-ads-api/hierarchy-terminology"},{"title":"Accessing Ads accounts","url":"/content/developer-twitter/en/docs/twitter-ads-api/obtaining-ads-account-access"},{"title":"Making authenticated requests","url":"/content/developer-twitter/en/docs/twitter-ads-api/making-authenticated-requests"},{"title":"Error codes and responses","url":"/content/developer-twitter/en/docs/twitter-ads-api/response-codes"},{"title":"Rate limiting","url":"/content/developer-twitter/en/docs/twitter-ads-api/rate-limiting"},{"title":"Pagination","url":"/content/developer-twitter/en/docs/twitter-ads-api/pagination"},{"title":"Sorting","url":"/content/developer-twitter/en/docs/twitter-ads-api/sorting"},{"title":"Versioning","url":"/content/developer-twitter/en/docs/twitter-ads-api/versioning"},{"title":"Timezones","url":"/content/developer-twitter/en/docs/twitter-ads-api/timezones"},{"title":"Currency","url":"/content/developer-twitter/en/docs/twitter-ads-api/currency"},{"title":"Sandbox","url":"/content/developer-twitter/en/docs/twitter-ads-api/ads-api-sandbox"}],"title":"Fundamentals","url":""},{"childNavItems":[],"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/twitter-ads-api/tools-and-libraries"},{"childNavItems":[],"title":"Analytics","url":"/content/developer-twitter/en/docs/twitter-ads-api/analytics"},{"childNavItems":[],"title":"Audiences","url":"/content/developer-twitter/en/docs/twitter-ads-api/audiences"},{"childNavItems":[],"title":"Campaign management","url":"/content/developer-twitter/en/docs/twitter-ads-api/campaign-management"},{"childNavItems":[],"title":"Catalog management","url":"/content/developer-twitter/en/docs/twitter-ads-api/catalog-management"},{"childNavItems":[],"title":"Creatives","url":"/content/developer-twitter/en/docs/twitter-ads-api/creatives"},{"childNavItems":[{"title":"Mobile Conversions","url":"/content/developer-twitter/en/docs/twitter-ads-api/measurement/mobile-conversions/overview"},{"title":"Web Conversions","url":"/content/developer-twitter/en/docs/twitter-ads-api/measurement/web-conversions/overview"},{"title":"AB testing","url":"/content/developer-twitter/en/docs/twitter-ads-api/measurement/ab-testing/overview"}],"title":"Measurement","url":""}],"groupUrl":"/content/developer-twitter/en/docs/twitter-ads-api"},{"groupName":"Twitter for Websites","navItems":[{"childNavItems":[{"title":"Webpage properties","url":"/content/developer-twitter/en/docs/twitter-for-websites/webpage-properties"},{"title":"Javascript API","url":"/content/developer-twitter/en/docs/twitter-for-websites/javascript-api"},{"title":"Supported languages and browsers","url":"/content/developer-twitter/en/docs/twitter-for-websites/supported-languages"},{"title":"Privacy","url":"/content/developer-twitter/en/docs/twitter-for-websites/privacy"}],"title":"Fundamentals","url":""},{"childNavItems":[],"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/twitter-for-websites/tools-and-libraries"},{"childNavItems":[],"title":"Embedded Tweets","url":"/content/developer-twitter/en/docs/twitter-for-websites/embedded-tweets"},{"childNavItems":[],"title":"Embedded timelines","url":"/content/developer-twitter/en/docs/twitter-for-websites/timelines"},{"childNavItems":[{"title":"Tweets","url":"/content/developer-twitter/en/docs/twitter-for-websites/tweet-button"},{"title":"Follow","url":"/content/developer-twitter/en/docs/twitter-for-websites/follow-button"},{"title":"Direct Message","url":"/content/developer-twitter/en/docs/twitter-for-websites/direct-message-button"}],"title":"Embedded buttons","url":""},{"childNavItems":[],"title":"Web intents","url":"/content/developer-twitter/en/docs/twitter-for-websites/web-intents"},{"childNavItems":[],"title":"oEmbed API","url":"/content/developer-twitter/en/docs/twitter-for-websites/oembed-api"},{"childNavItems":[],"title":"Log in with Twitter","url":"/content/developer-twitter/en/docs/twitter-for-websites/log-in-with-twitter"},{"childNavItems":[],"title":"Optimize Tweets with Twitter Cards","url":"/content/developer-twitter/en/docs/twitter-for-websites/cards"},{"childNavItems":[],"title":"Publish faster articles with AMP","url":"/content/developer-twitter/en/docs/twitter-for-websites/amp"},{"childNavItems":[],"title":"Integrate Twitter with your CMS","url":"/content/developer-twitter/en/docs/twitter-for-websites/cms"}],"groupUrl":"/content/developer-twitter/en/docs/twitter-for-websites"}]}" data-search-path="https://developer.twitter.com/en/search-results.html" data-side-nav-v2="true">
</div>
</div>
</div>
<div class="main-content twtr-col-lg-6">
<div class="main-content__wrapper">
<div class="dtc-docs__header main-content__header">
<span id="dtc-docs__header-title" class="dtc-docs__header-title chirp--bold-700 twtr-color--gray-900">GET /2/spaces/:id/buyers</span>
</div>
<div class="c01-rich-text-editor">
<div class="is-table-default">
<style>*.main-content *, p, p.method, p * {
}
*.main-content *.method-path {
}
*.main-content *.method-path *.h3 {
padding: 0;
}
h3, *.model *.h3 {
}
*.required {
background-color: rgb(29,161,242);
font-weight: 600;
color: rgb(255,255,255);
text-transform: uppercase;
}
*.optional {
border: 1.0px solid rgb(29,161,242);
font-weight: 600;
color: rgb(29,161,242);
text-transform: uppercase;
}
pre, code {
font-family: Monaco , Consolas , Courier , monospace;
color: rgb(29,161,242);
padding: 0;
}
pre {
}
pre code {
}
*.http-method {
text-transform: uppercase;
background-color: rgb(29,161,242);
font-weight: 600;
color: rgb(255,255,255);
}
*.code-inline, code, code *, pre, pre *, *.main-content *.d03-numbered-code-snippet pre * {
padding: 0;
font-family: Monaco , Consolas , Courier , monospace;
}
pre *, code * {
}
</style> <h1>GET /2/spaces/:id/buyers</h1><p>Returns a list of user who purchased a ticket to the requested Space. You must authenticate the request using the Access Token of the creator of the requested Space.</p><div class="c04-link-button"><div class="c04-link-button-wrappper"><a target="_blank" class="c04-link-button--button theme-bg-color--dark" href="https://t.co/twitter-api-postman">Run in Postman ❯ </a></div></div><div class="c04-link-button"><div class="c04-link-button-wrappper"><a target="_blank" class="c04-link-button--button theme-bg-color--dark" href="https://oauth-playground.glitch.me/?id=spaceBuyers&params=%28%27query%21%28%29%7Ebody%21%27%27%7Epath%21%28%27id%21%271nAKEYqvyoAKL%27%29%29_">Try a live request ❯ </a></div></div><div class="c04-link-button"><div class="c04-link-button-wrappper"><a target="_blank" class="c04-link-button--button theme-bg-color--dark" href="https://developer.twitter.com/apitools/api?endpoint=%2F2%2Fspaces%2F%7Bid%7D%2Fbuyers&method=get">Build request with API Explorer ❯ </a></div></div><h3>Endpoint URL</h3><code>https://api.twitter.com/2/spaces/:id/buyers</code><br /><br /><h3>Authentication and rate limits</h3><table><tbody><tr><th>Authentication methods<br />supported by this endpoint</th><td><p><a title="This method allows an authorized app to act on behalf of the user, as the user. It is typically used to access or post public information for a specific user, and it us useful when your app needs to be aware of the relationship between a user and what this endpoint returns. Click to learn how to authenticate with OAuth 2.0 Authorization Code with PKCE." href="/en/docs/authentication/oauth-2-0/authorization-code">OAuth 2.0 Authorization Code with PKCE</a></p></td></tr><tr><th><a href="/en/docs/rate-limits">Rate limit</a></th><td><p>User rate limit (User context): 300 requests per 15-minute window per each authenticated user</p></td></tr></tbody></table><h3>OAuth 2.0 scopes required by this endpoint</h3><table><tbody><tr><td><p><code>tweet.read</code></p><p><code>users.read</code></p><p><code>space.read</code></p></td></tr><tr><td><a href="/en/docs/twitter-api/oauth2">Learn more about OAuth 2.0 Authorization Code with PKCE</a></td></tr></tbody></table><h3>Path parameters</h3><table><tbody><tr><th>Name</th><th>Type</th><th>Description</th></tr><tr><td><code>id</code><br /><small class="required"> Required </small></td><td>string</td><td>Unique identifier of the Space for which you want to request Tweets.</td></tr></tbody></table><br /><br /><h3>Query parameters</h3><table><tbody><tr><th>Name</th><th>Type</th><th>Description</th></tr><tr><td><code>expansions</code><br /><small class="optional"> Optional </small></td><td>enum (<code>pinned_tweet_id</code>)</td><td><a href="/en/docs/twitter-api/expansions">Expansions</a> enable you to request additional data objects that relate to the originally returned users. The ID that represents the expanded data object will be included directly in the user data object, but the expanded object metadata will be returned within the <code>includes</code> response object, and will also include the ID so that you can match this data object to the original Tweet object. At this time, the only expansion available to endpoints that primarily return user objects is <code>expansions=pinned_tweet_id</code>. You will find the expanded Tweet data object living in the <code>includes</code> response object.</td></tr><tr><td><code>max_results</code><br /><small class="optional"> Optional </small></td><td>integer</td><td>The maximum number of results to be returned per page. This can be a number between 1 and 100. By default, each page will return 100 results.</td></tr><tr><td><code>pagination_token</code><br /><small class="optional"> Optional </small></td><td>string</td><td>Used to request the next page of results if all results weren't returned with the latest request, or to go back to the previous page of results. To return the next page, pass the <code>next_token</code> returned in your previous response. To go back one page, pass the <code>previous_token</code> returned in your previous response.</td></tr><tr><td><code>tweet.fields</code><br /><small class="optional"> Optional </small></td><td>enum (<code>attachments</code>, <code>author_id</code>, <code>context_annotations</code>, <code>conversation_id</code>, <code>created_at</code>, <code>edit_controls</code>, <code>entities</code>, <code>geo</code>, <code>id</code>, <code>in_reply_to_user_id</code>, <code>lang</code>, <code>non_public_metrics</code>, <code>public_metrics</code>, <code>organic_metrics</code>, <code>promoted_metrics</code>, <code>possibly_sensitive</code>, <code>referenced_tweets</code>, <code>reply_settings</code>, <code>source</code>, <code>text</code>, <code>withheld</code>)</td><td>This <a href="/en/docs/twitter-api/fields">fields</a> parameter enables you to select which specific <a href="/en/docs/twitter-api/data-dictionary/object-model/tweet">Tweet fields</a> will deliver in each returned pinned Tweet. Specify the desired fields in a comma-separated list without spaces between commas and fields. The Tweet fields will only return if the user has a pinned Tweet and if you've also included the <code>expansions=pinned_tweet_id</code> query parameter in your request. While the referenced Tweet ID will be located in the original Tweet object, you will find this ID and all additional Tweet fields in the <code>includes</code> data object.</td></tr><tr><td><code>user.fields</code><br /><small class="optional"> Optional </small></td><td>enum (<code>created_at</code>, <code>description</code>, <code>entities</code>, <code>id</code>, <code>location</code>, <code>most_recent_tweet_id</code>, <code>name</code>, <code>pinned_tweet_id</code>, <code>profile_image_url</code>, <code>protected</code>, <code>public_metrics</code>, <code>url</code>, <code>username</code>, <code>verified</code>, <code>verified_type</code>, <code>withheld</code>)</td><td>This <a href="/en/docs/twitter-api/fields">fields</a> parameter enables you to select which specific <a href="/en/docs/twitter-api/data-dictionary/object-model/user">user fields</a> will deliver with each returned users objects. Specify the desired fields in a comma-separated list without spaces between commas and fields. These specified user fields will display directly in the user data objects.</td></tr></tbody></table><br /><br /><h3><a name="requests"></a>Example code with offical <a href="https://developer.twitter.com/en/docs/twitter-api/tools-and-libraries/sdks/overview" target="_blank">SDKs</a></h3>
</div>
</div>
<div class="ct12-content-tabs twtr-component-space--md">
<div class="ct12 ct12__nav ct12__background--" data-position="relative">
<div class="ct12__nav-item">
<div class="ct12__list-wrapper">
<ul class="ct12__list" role="tablist" aria-orientation="horizontal">
<li class="ct12__list-item">
<a href="#tab0" role="tab" aria-controls="tab0" data-target-id="tab0" data-title="TypeScript (Default fields)" data-hash="tab0" class="js-show-section ct12__link twtr-type--roman-16 twtr-color--blue-500 has-hover is-selected">TypeScript (Default fields)</a>
</li>
<li class="ct12__list-item">
<a href="#tab1" role="tab" aria-controls="tab1" data-target-id="tab1" data-title="TypeScript (Optional fields)" data-hash="tab1" class="js-show-section ct12__link twtr-type--roman-16 twtr-color--blue-500 has-hover ">TypeScript (Optional fields)</a>
</li>
<li class="ct12__list-item">
<a href="#tab2" role="tab" aria-controls="tab2" data-target-id="tab2" data-title="Java (Default fields)" data-hash="tab2" class="js-show-section ct12__link twtr-type--roman-16 twtr-color--blue-500 has-hover ">Java (Default fields)</a>
</li>
<li class="ct12__list-item">
<a href="#tab3" role="tab" aria-controls="tab3" data-target-id="tab3" data-title="Java (Optional fields)" data-hash="tab3" class="js-show-section ct12__link twtr-type--roman-16 twtr-color--blue-500 has-hover ">Java (Optional fields)</a>
</li>
</ul>
</div>
<div class="ct12__dropdown-wrapper is-closed" role="tabpanel">
<div class="ct12__title-wrapper twtr-container">
<div class="ct12__title-content" aria-controls="id1" aria-expanded="false" aria-haspopup="listbox" role="combobox" tabindex="0" aria-activedescendant="">
<span class="ct12__title twtr-type--bold-16 twtr-color--gray-900"></span>
<div class="ct12__icon--arrow-down">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-hidden="true" aria-hidden="true" focusable="false">
<path opacity="0" d="M0 0h24v24H0z"/>
<path d="M20.207 7.043c-.39-.39-1.023-.39-1.414 0L12 13.836 5.207 7.043c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z"/>
</svg>
</div>
</div>
</div>
<div class="ct12__dropdown-content is-closed">
<div class="ct12__dropdown-list twtr-container" role="listbox" id="id1" tabindex="-1">
<div class="ct12__dropdown-list-item is-selected twtr-type--roman-16 twtr-color--blue-500" data-target-id="tab0" data-val="#TypeScript (Default fields)" role="option">
TypeScript (Default fields)
</div>
<div class="ct12__dropdown-list-item twtr-type--roman-16 twtr-color--blue-500" data-target-id="tab1" data-val="#TypeScript (Optional fields)" role="option">
TypeScript (Optional fields)
</div>
<div class="ct12__dropdown-list-item twtr-type--roman-16 twtr-color--blue-500" data-target-id="tab2" data-val="#Java (Default fields)" role="option">
Java (Default fields)
</div>
<div class="ct12__dropdown-list-item twtr-type--roman-16 twtr-color--blue-500" data-target-id="tab3" data-val="#Java (Optional fields)" role="option">
Java (Optional fields)
</div>
</div>
</div>
</div>
</div>
<div class="ct12__swiper-container swiper-container" role="tabpanel">
<div class="ct12__swiper-wrapper swiper-wrapper">
<div class="ct12__tab ct12__tab--0 swiper-slide " data-target-tabid="tab0">
<div class="ct12__tab-content ">
<div class="b19-code-snippet twtr-component-space--md">
<div class="b19-snippet b19__theme--light">
<!--Rendering snippet component with tabs-->
<!--Rendering snippet component single code-->
<!--To support legacy mode(initial version) of snippet component-->
<div class="t05-inline-code-snippet t05-inline-code-snippet--full-height">
<!--line-numbers and language are prismjs classes, these classes are used to render line numbers and code properly-->
<pre class="line-numbers ">
<code tabindex="0" class="t05__copy language-javascript">(async () => {
try {
const getSpaceBuyers = await twitterClient.spaces.spaceBuyers(
//The space id from which buyers of the space will be retrieved
"1DXxyRYNejbKM"
);
console.dir(getSpaceBuyers, {
depth: null,
});
} catch (error) {
console.log(error);
}
})();
</code>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="ct12__tab ct12__tab--1 swiper-slide " data-target-tabid="tab1">
<div class="ct12__tab-content ">
<div class="b19-code-snippet twtr-component-space--md">
<div class="b19-snippet b19__theme--light">
<!--Rendering snippet component with tabs-->
<!--Rendering snippet component single code-->
<!--To support legacy mode(initial version) of snippet component-->
<div class="t05-inline-code-snippet t05-inline-code-snippet--full-height">
<!--line-numbers and language are prismjs classes, these classes are used to render line numbers and code properly-->
<pre class="line-numbers ">
<code tabindex="0" class="t05__copy language-javascript">(async () => {
try {
const getSpaceBuyers = await twitterClient.spaces.spaceBuyers(
//The space id from which buyers of the space will be retrieved
"1DXxyRYNejbKM",
{
//A comma separated list of fields to expand
expansions: ["pinned_tweet_id"],
//A comma separated list of User fields to display
"user.fields": ["created_at"],
//A comma separated list of Tweet fields to display
"tweet.fields": ["created_at"],
}
);
console.dir(getSpaceBuyers, {
depth: null,
});
} catch (error) {
console.log(error);
}
})();
</code>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="ct12__tab ct12__tab--2 swiper-slide " data-target-tabid="tab2">
<div class="ct12__tab-content ">
<div class="b19-code-snippet twtr-component-space--md">
<div class="b19-snippet b19__theme--light">
<!--Rendering snippet component with tabs-->
<!--Rendering snippet component single code-->
<!--To support legacy mode(initial version) of snippet component-->
<div class="t05-inline-code-snippet t05-inline-code-snippet--full-height">
<!--line-numbers and language are prismjs classes, these classes are used to render line numbers and code properly-->
<pre class="line-numbers ">
<code tabindex="0" class="t05__copy language-java">// Set the params values
// String | The space id from which tweets will be retrieved
String id = "1YqKDqWqdPLsV";
try {
MultiUserLookupResponse result = apiInstance.spaces().spaceBuyers(id, null, null, null, null, null);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SpacesApi#spaceBuyers");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
</code>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="ct12__tab ct12__tab--3 swiper-slide " data-target-tabid="tab3">
<div class="ct12__tab-content ">
<div class="b19-code-snippet twtr-component-space--md">
<div class="b19-snippet b19__theme--light">
<!--Rendering snippet component with tabs-->
<!--Rendering snippet component single code-->
<!--To support legacy mode(initial version) of snippet component-->
<div class="t05-inline-code-snippet t05-inline-code-snippet--full-height">
<!--line-numbers and language are prismjs classes, these classes are used to render line numbers and code properly-->
<pre class="line-numbers ">
<code tabindex="0" class="t05__copy language-java">// Set the params values
// For full list of params visit - https://github.com/twitterdev/twitter-api-java-sdk/blob/main/docs/SpacesApi.md#spaceBuyers
// String | The space id from which tweets will be retrieved
String id = "1YqKDqWqdPLsV";
// Set<String> | A comma separated list of fields to expand.
Set<String> expansions = new HashSet<>(Arrays.asList("pinned_tweet_id"));
// Set<String> | A comma separated list of User fields to display.
Set<String> userFields = new HashSet<>(Arrays.asList("created_at"));
// Set<String> | A comma separated list of Tweet fields to display.
Set<String> tweetFields = new HashSet<>(Arrays.asList("created_at"));
try {
MultiUserLookupResponse result = apiInstance.spaces().spaceBuyers(id, null, null, userFields, expansions, tweetFields);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SpacesApi#spaceBuyers");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
</code>
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="c01-rich-text-editor">
<div class="is-table-default">
<h3>Example responses</h3>
</div>
</div>
<div class="ct12-content-tabs twtr-component-space--md">
<div class="ct12 ct12__nav ct12__background--" data-position="relative">
<div class="ct12__nav-item">
<div class="ct12__list-wrapper">
<ul class="ct12__list" role="tablist" aria-orientation="horizontal">
<li class="ct12__list-item">
<a href="#tab0" role="tab" aria-controls="tab0" data-target-id="tab0" data-title="Default fields" data-hash="tab0" class="js-show-section ct12__link twtr-type--roman-16 twtr-color--blue-500 has-hover is-selected">Default fields</a>
</li>
<li class="ct12__list-item">
<a href="#tab1" role="tab" aria-controls="tab1" data-target-id="tab1" data-title="Optional fields" data-hash="tab1" class="js-show-section ct12__link twtr-type--roman-16 twtr-color--blue-500 has-hover ">Optional fields</a>
</li>
</ul>
</div>
<div class="ct12__dropdown-wrapper is-closed" role="tabpanel">
<div class="ct12__title-wrapper twtr-container">
<div class="ct12__title-content" aria-controls="id1" aria-expanded="false" aria-haspopup="listbox" role="combobox" tabindex="0" aria-activedescendant="">
<span class="ct12__title twtr-type--bold-16 twtr-color--gray-900"></span>
<div class="ct12__icon--arrow-down">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-hidden="true" aria-hidden="true" focusable="false">
<path opacity="0" d="M0 0h24v24H0z"/>
<path d="M20.207 7.043c-.39-.39-1.023-.39-1.414 0L12 13.836 5.207 7.043c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z"/>
</svg>
</div>
</div>
</div>
<div class="ct12__dropdown-content is-closed">
<div class="ct12__dropdown-list twtr-container" role="listbox" id="id1" tabindex="-1">
<div class="ct12__dropdown-list-item is-selected twtr-type--roman-16 twtr-color--blue-500" data-target-id="tab0" data-val="#Default fields" role="option">
Default fields
</div>
<div class="ct12__dropdown-list-item twtr-type--roman-16 twtr-color--blue-500" data-target-id="tab1" data-val="#Optional fields" role="option">
Optional fields
</div>
</div>
</div>
</div>
</div>
<div class="ct12__swiper-container swiper-container" role="tabpanel">
<div class="ct12__swiper-wrapper swiper-wrapper">
<div class="ct12__tab ct12__tab--0 swiper-slide " data-target-tabid="tab0">
<div class="ct12__tab-content ">
<div class="b19-code-snippet twtr-component-space--md">
<div class="b19-snippet b19__theme--light">
<!--Rendering snippet component with tabs-->
<!--Rendering snippet component single code-->
<!--To support legacy mode(initial version) of snippet component-->
<div class="t05-inline-code-snippet ">
<!--line-numbers and language are prismjs classes, these classes are used to render line numbers and code properly-->
<pre class="line-numbers ">
<code tabindex="0" class="t05__copy language-json">{
"data": [
{
"id": "2244994945",
"username": "TwitterDev",
"name": "Twitter Dev"
},
{
"id": "783214",
"username": "Twitter",
"name": "Twitter"
}
]
}</code>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="ct12__tab ct12__tab--1 swiper-slide " data-target-tabid="tab1">
<div class="ct12__tab-content ">
<div class="b19-code-snippet twtr-component-space--md">
<div class="b19-snippet b19__theme--light">
<!--Rendering snippet component with tabs-->
<!--Rendering snippet component single code-->
<!--To support legacy mode(initial version) of snippet component-->
<div class="t05-inline-code-snippet ">
<!--line-numbers and language are prismjs classes, these classes are used to render line numbers and code properly-->
<pre class="line-numbers ">
<code tabindex="0" class="t05__copy language-json">{
"data": [
{
"created_at": "2013-12-14T04:35:55.000Z",
"username": "TwitterDev",
"pinned_tweet_id": "1255542774432063488",
"id": "2244994945",
"name": "Twitter Dev"
},
{
"created_at": "2007-02-20T14:35:54.000Z",
"username": "Twitter",
"pinned_tweet_id": "1274087687469715457",
"id": "783214",
"name": "Twitter"
}
],
"includes": {
"tweets": [
{
"created_at": "2020-04-29T17:01:38.000Z",
"text": "During these unprecedented times, what’s happening on Twitter can help the world better understand &amp; respond to the pandemic. nnWe're launching a free COVID-19 stream endpoint so qualified devs &amp; researchers can study the public conversation in real-time. https://t.co/BPqMcQzhId",
"id": "1255542774432063488"
},
{
"created_at": "2020-06-19T21:12:30.000Z",
"text": "📍 Minneapolisn🗣️ @FredTJoseph https://t.co/lNTOkyguG1",
"id": "1274087687469715457"
}
]
}
}</code>
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="c01-rich-text-editor">
<div class="is-table-default">
<h3>Response fields</h3><table><tbody><tr><th>Name</th><th>Type</th><th>Description</th></tr><tr><td><code>id</code><br /><small class="required"> Default </small></td><td>string</td><td>Unique identifier of this user. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.</td></tr><tr><td><code>name</code><br /><small class="required"> Default </small></td><td>string</td><td>The friendly name of this user, as shown on their profile.</td></tr><tr><td><code>username</code><br /><small class="required"> Default </small></td><td>string</td><td>The Twitter handle (screen name) of this user.</td></tr><tr><td><code>created_at</code></td><td>date (ISO 8601)</td><td>Creation time of this account.<br /><br />To return this field, add <code>user.fields=created_at</code> in the request's query parameter.</td></tr><tr><td><code>most_recent_tweet_id</code></td><td>string</td><td>The ID of the User's most recent Tweet<br /><br />To return this field, add <code>user.fields=most_recent_tweet_id</code> in the request's query parameter.</td></tr><tr><td><code>protected</code></td><td>boolean</td><td>Indicates if this user has chosen to protect their Tweets (in other words, if this user's Tweets are private).<br /><br />To return this field, add <code>user.fields=protected</code> in the request's query parameter.</td></tr><tr><td><code>withheld</code></td><td>object</td><td>Contains withholding details for <a href="https://help.twitter.com/en/rules-and-policies/tweet-withheld-by-country">withheld content</a>.<br /><br />To return this field, add <code>user.fields=withheld</code> in the request's query parameter.</td></tr><tr><td><code>withheld.country_codes</code></td><td>array</td><td>Provides a list of countries where this user is not available.<br /><br />To return this field, add <code>user.fields=withheld.country_codes</code> in the request's query parameter.</td></tr><tr><td><code>withheld.scope</code></td><td>enum (<code>tweet</code>, <code>user</code>)</td><td>Indicates whether the content being withheld is a Tweet or a user (this API will return <code>user</code>).<br /><br />To return this field, add <code>user.fields=withheld.scope</code> in the request's query parameter.</td></tr><tr><td><code>location</code></td><td>string</td><td>The location specified in the user's profile, if the user provided one. As this is a freeform value, it may not indicate a valid location, but it may be fuzzily evaluated when performing searches with location queries.<br /><br />To return this field, add <code>user.fields=location</code> in the request's query parameter.</td></tr><tr><td><code>url</code></td><td>string</td><td>The URL specified in the user's profile, if present.<br /><br />To return this field, add <code>user.fields=url</code> in the request's query parameter.</td></tr><tr><td><code>description</code></td><td>string</td><td>The text of this user's profile description (also known as bio), if the user provided one.<br /><br />To return this field, add <code>user.fields=description</code> in the request's query parameter.</td></tr><tr><td><code>verified</code></td><td>boolean</td><td>Indicate if this user is a verified Twitter user.<br /><br />To return this field, add <code>user.fields=verified</code> in the request's query parameter.</td></tr><tr><td><code>entities</code></td><td>object</td><td>This object and its children fields contain details about text that has a special meaning in the user's description.<br /><br />To return this field, add <code>user.fields=entities</code> in the request's query parameter.</td></tr><tr><td><code>entities.url</code></td><td>array</td><td>Contains details about the user's profile website.</td></tr><tr><td><code>entities.url.urls</code></td><td>array</td><td>Contains details about the user's profile website.</td></tr><tr><td><code>entities.url.urls.start</code></td><td>integer</td><td>The start position (zero-based) of the recognized user's profile website. All start indices are inclusive.</td></tr><tr><td><code>entities.url.urls.end</code></td><td>integer</td><td>The end position (zero-based) of the recognized user's profile website. This end index is exclusive.</td></tr><tr><td><code>entities.url.urls.url</code></td><td>string</td><td>The URL in the format entered by the user.</td></tr><tr><td><code>entities.url.urls.expanded_url</code></td><td>string</td><td>The fully resolved URL.</td></tr><tr><td><code>entities.url.urls.display_url</code></td><td>string</td><td>The URL as displayed in the user's profile.</td></tr><tr><td><code>entities.description</code></td><td>array</td><td>Contains details about URLs, Hashtags, Cashtags, or mentions located within a user's description.</td></tr><tr><td><code>entities.description.urls</code></td><td>array</td><td>Contains details about any URLs included in the user's description.</td></tr><tr><td><code>entities.description.urls.start</code></td><td>integer</td><td>The start position (zero-based) of the recognized URL in the user's description. All start indices are inclusive.</td></tr><tr><td><code>entities.description.urls.end</code></td><td>integer</td><td>The end position (zero-based) of the recognized URL in the user's description. This end index is exclusive.</td></tr><tr><td><code>entities.description.urls.url</code></td><td>string</td><td>The URL in the format entered by the user.</td></tr><tr><td><code>entities.description.urls.expanded_url</code></td><td>string</td><td>The fully resolved URL.</td></tr><tr><td><code>entities.description.urls.display_url</code></td><td>string</td><td>The URL as displayed in the user's description.</td></tr><tr><td><code>entities.description.hashtags</code></td><td>array</td><td>Contains details about text recognized as a Hashtag.</td></tr><tr><td><code>entities.description.hashtags.start</code></td><td>integer</td><td>The start position (zero-based) of the recognized Hashtag within the Tweet. All start indices are inclusive.</td></tr><tr><td><code>entities.description.hashtags.end</code></td><td>integer</td><td>The end position (zero-based) of the recognized Hashtag within the Tweet. This end index is exclusive.</td></tr><tr><td><code>entities.description.hashtags.hashtag</code></td><td>string</td><td>The text of the Hashtag.</td></tr><tr><td><code>entities.description.mentions</code></td><td>array</td><td>Contains details about text recognized as a user mention.</td></tr><tr><td><code>entities.description.mentions.start</code></td><td>integer</td><td>The start position (zero-based) of the recognized user mention within the Tweet. All start indices are inclusive.</td></tr><tr><td><code>entities.description.mentions.end</code></td><td>integer</td><td>The end position (zero-based) of the recognized user mention within the Tweet. This end index is exclusive.</td></tr><tr><td><code>entities.description.mentions.username</code></td><td>string</td><td>The part of text recognized as a user mention.</td></tr><tr><td><code>entities.description.cashtags</code></td><td>array</td><td>Contains details about text recognized as a Cashtag.</td></tr><tr><td><code>entities.description.cashtags.start</code></td><td>integer</td><td>The start position (zero-based) of the recognized Cashtag within the Tweet. All start indices are inclusive.</td></tr><tr><td><code>entities.description.cashtags.end</code></td><td>integer</td><td>The end position (zero-based) of the recognized Cashtag within the Tweet. This end index is exclusive.</td></tr><tr><td><code>entities.description.cashtags.cashtag</code></td><td>string</td><td>The text of the Cashtag.</td></tr><tr><td><code>profile_image_url</code></td><td>string</td><td>The URL to the profile image for this user, as shown on the user's profile.</td></tr><tr><td><code>public_metrics</code></td><td>object</td><td>Contains details about activity for this user.</td></tr><tr><td><code>public_metrics.followers_count</code></td><td>integer</td><td>Number of users who follow this user.</td></tr><tr><td><code>public_metrics.following_count</code></td><td>integer</td><td>Number of users this user is following.</td></tr><tr><td><code>public_metrics.tweet_count</code></td><td>integer</td><td>Number of Tweets (including Retweets) posted by this user.</td></tr><tr><td><code>public_metrics.listed_count</code></td><td>integer</td><td>Number of lists that include this user.</td></tr><tr><td><code>pinned_tweet_id</code></td><td>string</td><td>Unique identifier of this user's pinned Tweet.<br /><br />You can obtain the expanded object in <code>includes.tweets</code> by adding <code>expansions=pinned_tweet_id</code> in the request's query parameter.</td></tr><tr><td><code>includes.tweets</code></td><td>array</td><td>When including the <code>expansions=pinned_tweet_id</code> parameter, this includes the pinned Tweets attached to the returned users' profiles in the form of <a href="/en/docs/twitter-api/data-dictionary/object-model/tweet">Tweet objects</a> with their default fields and any additional fields requested using the <code>tweet.fields</code> parameter, assuming there is a referenced Tweet present in the returned Tweet(s).</td></tr><tr><td><code>errors</code></td><td>object</td><td>Contains details about errors that affected any of the requested users. See <a href="/en/support/twitter-api/error-troubleshooting">Status codes and error messages</a> for more details.</td></tr></tbody></table>
</div>
</div>
<div id="twtr-article-embedded-survey" class="b32"></div>
</div>
</div>
<div class="sidebar-content docs-right-side-nav twtr-col-lg-3">
<div class="dtc05-navigation-right" data-tab-title="Spaces lookup" data-header-title="Spaces lookup" data-tab-root-page="/content/developer-twitter/en/docs/twitter-api/spaces/lookup" data-sidenav-json="[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Spaces lookup introduction","linkDisabled":false,"title":"Spaces lookup introduction","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/introduction"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Quick start","linkDisabled":false,"title":"Quick start","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/quick-start"},{"isActive":false,"hasActiveChild":true,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET /2/spaces/:id","linkDisabled":false,"title":"GET /2/spaces/:id","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET /2/spaces","linkDisabled":false,"title":"GET /2/spaces","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET /2/spaces/by/creator_ids","linkDisabled":false,"title":"GET /2/spaces/by/creator_ids","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-by-creator-ids"},{"isActive":true,"hasActiveChild":false,"children":[],"overviewTitle":"GET /2/spaces/:id/buyers","linkDisabled":false,"title":"GET /2/spaces/:id/buyers","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET /2/spaces/:id/tweets","linkDisabled":false,"title":"GET /2/spaces/:id/tweets","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-tweets"}],"overviewTitle":"API reference","linkDisabled":false,"title":"API reference","path":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference"}]" data-icon-chevron-down="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M20.207 7.043c-.39-.39-1.023-.39-1.414 0L12 13.836 5.207 7.043c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>">
</div>
</div>
</div>
</div>
</main>
<div>
<footer class="u02fs twtr-background--blue-extra-light twtr-background--gray-0">
<div class="twtr-container">
<div class="twtr-grid">
<div class="u02fs__footer-link-col twtr-col-12 twtr-col-md-4">
<a href="https://developer.x.com/en/more/developer-terms/agreement-and-policy" title="Developer policy and terms" target="_blank" class="u02fs__footer-link twtr-type--roman-50 twtr-color--gray-900">
Developer policy and terms
</a>
</div>