
Twitter Explorer
7 days trial then $30.00/month - No credit card required now

Twitter Explorer
7 days trial then $30.00/month - No credit card required now
🐦🐦⬛🐤 All-in-one solution to scrape every aspect of Twitter.com
You can access the Twitter Explorer programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.1",
5 "x-build-id": "oXWy1wQz731EJhWDA"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/jupri~twitter-scraper/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-jupri-twitter-scraper",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/jupri~twitter-scraper/runs": {
50 "post": {
51 "operationId": "runs-sync-jupri-twitter-scraper",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/jupri~twitter-scraper/run-sync": {
93 "post": {
94 "operationId": "run-sync-jupri-twitter-scraper",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "properties": {
134 "query": {
135 "title": "❓ Query",
136 "type": "string",
137 "description": "<b>Acceptable Values :</b><li><i><code>PHRASE</code></i></li><li><i><code>#HASHTAG</code></i></li><li><i><code>@USERNAME</code></i></li><li><i><code>@USERNAME/replies</code></i></li><li><i><code>@USERNAME/media</code></i></li><li><i><code>@USERNAME/likes</code></i></li><li><i><code>@USERNAME/followers</code></i></li><li><i><code>@USERNAME/following</code></i></li><li><i><code>@USERNAME/lists</code></i></li><br><i>💡 <b>Notes:</b> <code>@USERNAME/*</code> can't be combined with <code>filters</code>. When using this please clear the <code>filters</code> parameters.</i>"
138 },
139 "token": {
140 "title": "🔑 Token",
141 "type": "string",
142 "description": "<b>Share Your Cookies</b><br><i>[REQUIRED: Since 1-July-2023]</i><br><br>Some function required your login cookie. Please use this only if necessary.<br><br><i>💡 <b>Notes:</b> this is not your APIFY token, but a value inside your browser cookie storage</i><br><br>Login to twitter account, search for cookie named <b>auth_token</b> then copy & paste here."
143 },
144 "limit": {
145 "title": "🔢 Limit",
146 "type": "integer",
147 "description": "💡 Limit number of results"
148 },
149 "content": {
150 "title": "📄 Content",
151 "enum": [
152 "text",
153 "html",
154 "md"
155 ],
156 "type": "string",
157 "description": "💡 Content format <i>(default: text)</i>"
158 },
159 "filters.type": {
160 "title": "🔎 Type",
161 "enum": [
162 "latest",
163 "top",
164 "people",
165 "media",
166 "photos",
167 "videos",
168 "lists",
169 "commnunities"
170 ],
171 "type": "string",
172 "description": "💡 Tweets product (tab) <i>(default: Latest)</i>"
173 },
174 "filters.url": {
175 "title": "🔗 URL",
176 "type": "string",
177 "description": "💡 Containing URL (not twitter URL). <i>example</i>: <code>youtube.com</code>"
178 },
179 "filters.near": {
180 "title": "Near",
181 "type": "string",
182 "description": "💡 Near a location. <i>example</i>: <code>alaska</code>"
183 },
184 "filters.within": {
185 "title": "Within",
186 "type": "string",
187 "description": "💡 Within radius: mi, km <i>example</i>: <code>10mi</code>"
188 },
189 "filters.geocode": {
190 "title": "Geocode",
191 "type": "string",
192 "description": "💡 Geocode: <code>LAT,LON,RADIUS</code> <i>example</i>: <code>37.781157,-122.398720,1mi</code>"
193 },
194 "filters.media": {
195 "title": "Media",
196 "type": "boolean",
197 "description": "💡 All Media"
198 },
199 "filters.images": {
200 "title": "Images",
201 "type": "boolean",
202 "description": "💡 Links identified as photos, including third parties such as Instagram"
203 },
204 "filters.twimg": {
205 "title": "Twimg",
206 "type": "boolean",
207 "description": "💡 Native Twitter images (pic.twitter.com links)"
208 },
209 "filters.videos": {
210 "title": "Videos",
211 "type": "boolean",
212 "description": "💡 Video types, including native Twitter video and external sources such as Youtube"
213 },
214 "filters.native_video": {
215 "title": "Native Video",
216 "type": "boolean",
217 "description": "💡 Twitter-owned video types (native video, vine, periscope)"
218 },
219 "filters.consumer_video": {
220 "title": "Consumer Video",
221 "type": "boolean",
222 "description": "💡 Twitter native video"
223 },
224 "filters.pro_video": {
225 "title": "Pro Video",
226 "type": "boolean",
227 "description": "💡 Twitter pro video (Amplify)"
228 },
229 "filters.vine": {
230 "title": "Vine",
231 "type": "boolean",
232 "description": ""
233 },
234 "filters.periscope": {
235 "title": "Periscope",
236 "type": "boolean",
237 "description": "💡 Periscope video URL"
238 },
239 "filters.links": {
240 "title": "Links",
241 "type": "boolean",
242 "description": ""
243 },
244 "filters.news": {
245 "title": "News",
246 "type": "boolean",
247 "description": ""
248 },
249 "filters.spaces": {
250 "title": "Spaces",
251 "type": "boolean",
252 "description": ""
253 },
254 "filters.safe": {
255 "title": "Safe",
256 "type": "boolean",
257 "description": "💡 Exclude NSFW posts"
258 },
259 "filters.verified": {
260 "title": "Verified",
261 "type": "boolean",
262 "description": ""
263 },
264 "filters.word": {
265 "title": "Word",
266 "type": "string",
267 "description": "💡 All of these words"
268 },
269 "filters.phrase": {
270 "title": "Phrase",
271 "type": "string",
272 "description": "💡 This exact phrase"
273 },
274 "filters.any": {
275 "title": "Any",
276 "type": "string",
277 "description": "💡 Any of these words"
278 },
279 "filters.exclude": {
280 "title": "Exclude",
281 "type": "string",
282 "description": "💡 None of these words"
283 },
284 "filters.hashtag": {
285 "title": "Hashtag",
286 "type": "string",
287 "description": "💡 These hashtags"
288 },
289 "filters.lang": {
290 "title": "Language",
291 "enum": [
292 "any",
293 "ar",
294 "ar-x-fm",
295 "bn",
296 "eu",
297 "bg",
298 "ca",
299 "hr",
300 "cs",
301 "da",
302 "nl",
303 "en",
304 "fi",
305 "fr",
306 "de",
307 "el",
308 "gu",
309 "he",
310 "hi",
311 "hu",
312 "id",
313 "it",
314 "ja",
315 "kn",
316 "ko",
317 "mr",
318 "no",
319 "fa",
320 "pl",
321 "pt",
322 "ro",
323 "ru",
324 "sr",
325 "zh-cn",
326 "sk",
327 "es",
328 "sv",
329 "ta",
330 "th",
331 "zh-tw",
332 "tr",
333 "uk",
334 "ur",
335 "vi"
336 ],
337 "type": "string",
338 "description": ""
339 },
340 "filters.from": {
341 "title": "From",
342 "type": "string",
343 "description": "💡 From these accounts"
344 },
345 "filters.to": {
346 "title": "To",
347 "type": "string",
348 "description": "💡 To these accounts"
349 },
350 "filters.mention": {
351 "title": "Mention",
352 "type": "string",
353 "description": "💡 Mentioning these accounts"
354 },
355 "filters.retweets": {
356 "title": "Retweets",
357 "type": "boolean",
358 "description": "💡 Old style retweets (\"RT\") + quoted tweets"
359 },
360 "filters.replies": {
361 "title": "Replies",
362 "type": "boolean",
363 "description": "💡 Reply to another Tweet"
364 },
365 "filters.min_retweets": {
366 "title": "Retweets",
367 "type": "integer",
368 "description": "💡 Minimum retweets"
369 },
370 "filters.min_replies": {
371 "title": "Replies",
372 "type": "integer",
373 "description": "💡 Minimum replies"
374 },
375 "filters.min_faves": {
376 "title": "Likes",
377 "type": "integer",
378 "description": "💡 Minimum likes"
379 },
380 "filters.since": {
381 "title": "Since",
382 "type": "string",
383 "description": "💡 Since <i>(YYYY-MM-DD)</i>"
384 },
385 "filters.until": {
386 "title": "Until",
387 "type": "string",
388 "description": "💡 Until <i>(YYYY-MM-DD)</i>"
389 },
390 "filters.within_time": {
391 "title": "Within",
392 "type": "string",
393 "description": "💡 Within time <code>(s)econds, (m)inutes, (h)ours, (d)ays</code> <i>example</i>: <code>7d</code>"
394 },
395 "filters.raw": {
396 "title": "Raw",
397 "type": "string",
398 "description": "Custom Query"
399 },
400 "users": {
401 "title": "User names",
402 "type": "array",
403 "description": "Additional Users Profile (example: @elonmusk)",
404 "items": {
405 "type": "string"
406 }
407 },
408 "dev_transform_enable": {
409 "title": "Enable Custom Fields",
410 "type": "boolean",
411 "description": ""
412 },
413 "dev_transform_fields": {
414 "title": "Fields List",
415 "type": "array",
416 "description": "",
417 "items": {
418 "type": "object",
419 "required": [
420 "key",
421 "value"
422 ],
423 "properties": {
424 "key": {
425 "type": "string",
426 "title": "Key"
427 },
428 "value": {
429 "type": "string",
430 "title": "Value"
431 }
432 }
433 }
434 },
435 "dev_dataset_enable": {
436 "title": "Enable Custom Storage",
437 "type": "boolean",
438 "description": ""
439 },
440 "dev_dataset_clear": {
441 "title": "Clear Storage",
442 "type": "boolean",
443 "description": "Clear Dataset before insert/update."
444 },
445 "dev_dataset_name": {
446 "title": "Dataset Name",
447 "type": "string",
448 "description": "<b>Use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
449 },
450 "dev_dataset_key": {
451 "title": "Unique Column",
452 "type": "string",
453 "description": "Column name from results to use as Key for Key-Value Storage. For example: <code>product_id</code> (must be unique)."
454 }
455 }
456 },
457 "runsResponseSchema": {
458 "type": "object",
459 "properties": {
460 "data": {
461 "type": "object",
462 "properties": {
463 "id": {
464 "type": "string"
465 },
466 "actId": {
467 "type": "string"
468 },
469 "userId": {
470 "type": "string"
471 },
472 "startedAt": {
473 "type": "string",
474 "format": "date-time",
475 "example": "2025-01-08T00:00:00.000Z"
476 },
477 "finishedAt": {
478 "type": "string",
479 "format": "date-time",
480 "example": "2025-01-08T00:00:00.000Z"
481 },
482 "status": {
483 "type": "string",
484 "example": "READY"
485 },
486 "meta": {
487 "type": "object",
488 "properties": {
489 "origin": {
490 "type": "string",
491 "example": "API"
492 },
493 "userAgent": {
494 "type": "string"
495 }
496 }
497 },
498 "stats": {
499 "type": "object",
500 "properties": {
501 "inputBodyLen": {
502 "type": "integer",
503 "example": 2000
504 },
505 "rebootCount": {
506 "type": "integer",
507 "example": 0
508 },
509 "restartCount": {
510 "type": "integer",
511 "example": 0
512 },
513 "resurrectCount": {
514 "type": "integer",
515 "example": 0
516 },
517 "computeUnits": {
518 "type": "integer",
519 "example": 0
520 }
521 }
522 },
523 "options": {
524 "type": "object",
525 "properties": {
526 "build": {
527 "type": "string",
528 "example": "latest"
529 },
530 "timeoutSecs": {
531 "type": "integer",
532 "example": 300
533 },
534 "memoryMbytes": {
535 "type": "integer",
536 "example": 1024
537 },
538 "diskMbytes": {
539 "type": "integer",
540 "example": 2048
541 }
542 }
543 },
544 "buildId": {
545 "type": "string"
546 },
547 "defaultKeyValueStoreId": {
548 "type": "string"
549 },
550 "defaultDatasetId": {
551 "type": "string"
552 },
553 "defaultRequestQueueId": {
554 "type": "string"
555 },
556 "buildNumber": {
557 "type": "string",
558 "example": "1.0.0"
559 },
560 "containerUrl": {
561 "type": "string"
562 },
563 "usage": {
564 "type": "object",
565 "properties": {
566 "ACTOR_COMPUTE_UNITS": {
567 "type": "integer",
568 "example": 0
569 },
570 "DATASET_READS": {
571 "type": "integer",
572 "example": 0
573 },
574 "DATASET_WRITES": {
575 "type": "integer",
576 "example": 0
577 },
578 "KEY_VALUE_STORE_READS": {
579 "type": "integer",
580 "example": 0
581 },
582 "KEY_VALUE_STORE_WRITES": {
583 "type": "integer",
584 "example": 1
585 },
586 "KEY_VALUE_STORE_LISTS": {
587 "type": "integer",
588 "example": 0
589 },
590 "REQUEST_QUEUE_READS": {
591 "type": "integer",
592 "example": 0
593 },
594 "REQUEST_QUEUE_WRITES": {
595 "type": "integer",
596 "example": 0
597 },
598 "DATA_TRANSFER_INTERNAL_GBYTES": {
599 "type": "integer",
600 "example": 0
601 },
602 "DATA_TRANSFER_EXTERNAL_GBYTES": {
603 "type": "integer",
604 "example": 0
605 },
606 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
607 "type": "integer",
608 "example": 0
609 },
610 "PROXY_SERPS": {
611 "type": "integer",
612 "example": 0
613 }
614 }
615 },
616 "usageTotalUsd": {
617 "type": "number",
618 "example": 0.00005
619 },
620 "usageUsd": {
621 "type": "object",
622 "properties": {
623 "ACTOR_COMPUTE_UNITS": {
624 "type": "integer",
625 "example": 0
626 },
627 "DATASET_READS": {
628 "type": "integer",
629 "example": 0
630 },
631 "DATASET_WRITES": {
632 "type": "integer",
633 "example": 0
634 },
635 "KEY_VALUE_STORE_READS": {
636 "type": "integer",
637 "example": 0
638 },
639 "KEY_VALUE_STORE_WRITES": {
640 "type": "number",
641 "example": 0.00005
642 },
643 "KEY_VALUE_STORE_LISTS": {
644 "type": "integer",
645 "example": 0
646 },
647 "REQUEST_QUEUE_READS": {
648 "type": "integer",
649 "example": 0
650 },
651 "REQUEST_QUEUE_WRITES": {
652 "type": "integer",
653 "example": 0
654 },
655 "DATA_TRANSFER_INTERNAL_GBYTES": {
656 "type": "integer",
657 "example": 0
658 },
659 "DATA_TRANSFER_EXTERNAL_GBYTES": {
660 "type": "integer",
661 "example": 0
662 },
663 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
664 "type": "integer",
665 "example": 0
666 },
667 "PROXY_SERPS": {
668 "type": "integer",
669 "example": 0
670 }
671 }
672 }
673 }
674 }
675 }
676 }
677 }
678 }
679}
Twitter.com Scraper OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Twitter Explorer from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients:
Actor Metrics
12 monthly users
-
0 No bookmarks yet
93% runs succeeded
Created in May 2023
Modified 7 months ago