TikTok Comments Scraper πŸ“²πŸ’¬βœ¨ avatar

TikTok Comments Scraper πŸ“²πŸ’¬βœ¨

Try for free

1 hour trial then $14.99/month - No credit card required now

Go to Store
TikTok Comments Scraper πŸ“²πŸ’¬βœ¨

TikTok Comments Scraper πŸ“²πŸ’¬βœ¨

scrapestorm/tiktok-comments-scraper
Try for free

1 hour trial then $14.99/month - No credit card required now

Extract comments from TikTok πŸ“²πŸ’¬. Simply enter a TikTok URL and get all the video & profile details: comments, URLs, language, creation time ⏰. Export the scraped data πŸ“Š, run the scraper through an API πŸ”Œ, schedule & monitor tasks πŸ—“οΈ, or integrate with other tools βš™οΈ!

You can access the TikTok Comments Scraper πŸ“²πŸ’¬βœ¨ 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.0",
5    "x-build-id": "6ktVyp1weszWT2Mp1"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/scrapestorm~tiktok-comments-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-scrapestorm-tiktok-comments-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/scrapestorm~tiktok-comments-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-scrapestorm-tiktok-comments-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/scrapestorm~tiktok-comments-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-scrapestorm-tiktok-comments-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        "required": [
134          "urlPost"
135        ],
136        "properties": {
137          "urlPost": {
138            "title": "Post_URL 🚨 (which preferably should contain the characters /videos/ or /photo) ",
139            "type": "string",
140            "description": "URL of the post to scrape comments from",
141            "default": "https://www.tiktok.com/@f1/video/7450379981483412769"
142          },
143          "maxItems": {
144            "title": "Max comments you want to scrape",
145            "type": "integer",
146            "description": "The maximum number of comments to fetch",
147            "default": 60
148          }
149        }
150      },
151      "runsResponseSchema": {
152        "type": "object",
153        "properties": {
154          "data": {
155            "type": "object",
156            "properties": {
157              "id": {
158                "type": "string"
159              },
160              "actId": {
161                "type": "string"
162              },
163              "userId": {
164                "type": "string"
165              },
166              "startedAt": {
167                "type": "string",
168                "format": "date-time",
169                "example": "2025-01-08T00:00:00.000Z"
170              },
171              "finishedAt": {
172                "type": "string",
173                "format": "date-time",
174                "example": "2025-01-08T00:00:00.000Z"
175              },
176              "status": {
177                "type": "string",
178                "example": "READY"
179              },
180              "meta": {
181                "type": "object",
182                "properties": {
183                  "origin": {
184                    "type": "string",
185                    "example": "API"
186                  },
187                  "userAgent": {
188                    "type": "string"
189                  }
190                }
191              },
192              "stats": {
193                "type": "object",
194                "properties": {
195                  "inputBodyLen": {
196                    "type": "integer",
197                    "example": 2000
198                  },
199                  "rebootCount": {
200                    "type": "integer",
201                    "example": 0
202                  },
203                  "restartCount": {
204                    "type": "integer",
205                    "example": 0
206                  },
207                  "resurrectCount": {
208                    "type": "integer",
209                    "example": 0
210                  },
211                  "computeUnits": {
212                    "type": "integer",
213                    "example": 0
214                  }
215                }
216              },
217              "options": {
218                "type": "object",
219                "properties": {
220                  "build": {
221                    "type": "string",
222                    "example": "latest"
223                  },
224                  "timeoutSecs": {
225                    "type": "integer",
226                    "example": 300
227                  },
228                  "memoryMbytes": {
229                    "type": "integer",
230                    "example": 1024
231                  },
232                  "diskMbytes": {
233                    "type": "integer",
234                    "example": 2048
235                  }
236                }
237              },
238              "buildId": {
239                "type": "string"
240              },
241              "defaultKeyValueStoreId": {
242                "type": "string"
243              },
244              "defaultDatasetId": {
245                "type": "string"
246              },
247              "defaultRequestQueueId": {
248                "type": "string"
249              },
250              "buildNumber": {
251                "type": "string",
252                "example": "1.0.0"
253              },
254              "containerUrl": {
255                "type": "string"
256              },
257              "usage": {
258                "type": "object",
259                "properties": {
260                  "ACTOR_COMPUTE_UNITS": {
261                    "type": "integer",
262                    "example": 0
263                  },
264                  "DATASET_READS": {
265                    "type": "integer",
266                    "example": 0
267                  },
268                  "DATASET_WRITES": {
269                    "type": "integer",
270                    "example": 0
271                  },
272                  "KEY_VALUE_STORE_READS": {
273                    "type": "integer",
274                    "example": 0
275                  },
276                  "KEY_VALUE_STORE_WRITES": {
277                    "type": "integer",
278                    "example": 1
279                  },
280                  "KEY_VALUE_STORE_LISTS": {
281                    "type": "integer",
282                    "example": 0
283                  },
284                  "REQUEST_QUEUE_READS": {
285                    "type": "integer",
286                    "example": 0
287                  },
288                  "REQUEST_QUEUE_WRITES": {
289                    "type": "integer",
290                    "example": 0
291                  },
292                  "DATA_TRANSFER_INTERNAL_GBYTES": {
293                    "type": "integer",
294                    "example": 0
295                  },
296                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
297                    "type": "integer",
298                    "example": 0
299                  },
300                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
301                    "type": "integer",
302                    "example": 0
303                  },
304                  "PROXY_SERPS": {
305                    "type": "integer",
306                    "example": 0
307                  }
308                }
309              },
310              "usageTotalUsd": {
311                "type": "number",
312                "example": 0.00005
313              },
314              "usageUsd": {
315                "type": "object",
316                "properties": {
317                  "ACTOR_COMPUTE_UNITS": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "DATASET_READS": {
322                    "type": "integer",
323                    "example": 0
324                  },
325                  "DATASET_WRITES": {
326                    "type": "integer",
327                    "example": 0
328                  },
329                  "KEY_VALUE_STORE_READS": {
330                    "type": "integer",
331                    "example": 0
332                  },
333                  "KEY_VALUE_STORE_WRITES": {
334                    "type": "number",
335                    "example": 0.00005
336                  },
337                  "KEY_VALUE_STORE_LISTS": {
338                    "type": "integer",
339                    "example": 0
340                  },
341                  "REQUEST_QUEUE_READS": {
342                    "type": "integer",
343                    "example": 0
344                  },
345                  "REQUEST_QUEUE_WRITES": {
346                    "type": "integer",
347                    "example": 0
348                  },
349                  "DATA_TRANSFER_INTERNAL_GBYTES": {
350                    "type": "integer",
351                    "example": 0
352                  },
353                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
354                    "type": "integer",
355                    "example": 0
356                  },
357                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
358                    "type": "integer",
359                    "example": 0
360                  },
361                  "PROXY_SERPS": {
362                    "type": "integer",
363                    "example": 0
364                  }
365                }
366              }
367            }
368          }
369        }
370      }
371    }
372  }
373}

TikTok Comments 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 TikTok Comments Scraper πŸ“²πŸ’¬βœ¨ 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:

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 0 No stars yet

  • Created in Feb 2025

  • Modified 10 hours ago