TikTok Comment API avatar
TikTok Comment API

Pricing

$30.00/month + usage

Go to Store
TikTok Comment API

TikTok Comment API

novi/tiktok-comment-api

Developed by

Novi

Maintained by Community

Super Fast TikTok Comment API. Seamlessly retrieve comments with speed and efficiency. You don't need to pay for proxy because we use our own.

4.4 (4)

Pricing

$30.00/month + usage

12

Monthly users

20

Runs succeeded

>99%

Last modified

6 hours ago

You can access the TikTok Comment API programmatically from your own applications by using the Apify API. You can also 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": "u0ik1UdbSyGUJc2hk"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/novi~tiktok-comment-api/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-novi-tiktok-comment-api",
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/novi~tiktok-comment-api/runs": {
50      "post": {
51        "operationId": "runs-sync-novi-tiktok-comment-api",
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/novi~tiktok-comment-api/run-sync": {
93      "post": {
94        "operationId": "run-sync-novi-tiktok-comment-api",
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          "limit",
135          "url"
136        ],
137        "properties": {
138          "region": {
139            "title": "Target country.",
140            "enum": [
141              "",
142              "GB",
143              "AF",
144              "AL",
145              "DZ",
146              "AS",
147              "AD",
148              "AO",
149              "AI",
150              "AQ",
151              "AG",
152              "AR",
153              "AM",
154              "AW",
155              "AU",
156              "AT",
157              "AZ",
158              "BS",
159              "BH",
160              "BD",
161              "BB",
162              "BY",
163              "BE",
164              "BZ",
165              "BJ",
166              "BM",
167              "BT",
168              "BO",
169              "BQ",
170              "BA",
171              "BW",
172              "BV",
173              "BR",
174              "IO",
175              "VG",
176              "BN",
177              "BG",
178              "BF",
179              "BI",
180              "KH",
181              "CM",
182              "CA",
183              "CV",
184              "KY",
185              "CF",
186              "TD",
187              "CL",
188              "CN",
189              "CX",
190              "CC",
191              "CO",
192              "KM",
193              "CK",
194              "CR",
195              "HR",
196              "CU",
197              "CW",
198              "CY",
199              "CZ",
200              "CD",
201              "DK",
202              "DJ",
203              "DM",
204              "DO",
205              "TL",
206              "EC",
207              "EG",
208              "SV",
209              "GQ",
210              "ER",
211              "EE",
212              "ET",
213              "FK",
214              "FO",
215              "FJ",
216              "FI",
217              "FR",
218              "GF",
219              "PF",
220              "TF",
221              "GA",
222              "GM",
223              "GE",
224              "DE",
225              "GH",
226              "GI",
227              "GR",
228              "GL",
229              "GD",
230              "GP",
231              "GU",
232              "GT",
233              "GG",
234              "GN",
235              "GW",
236              "GY",
237              "HT",
238              "HM",
239              "HN",
240              "HK",
241              "HU",
242              "IS",
243              "IN",
244              "ID",
245              "IR",
246              "IQ",
247              "IE",
248              "IM",
249              "IL",
250              "IT",
251              "CI",
252              "JM",
253              "JP",
254              "JE",
255              "JO",
256              "KZ",
257              "KE",
258              "KI",
259              "XK",
260              "KW",
261              "KG",
262              "LA",
263              "LV",
264              "LB",
265              "LS",
266              "LR",
267              "LY",
268              "LI",
269              "LT",
270              "LU",
271              "MO",
272              "MG",
273              "MW",
274              "MY",
275              "MV",
276              "ML",
277              "MT",
278              "MH",
279              "MQ",
280              "MR",
281              "MU",
282              "YT",
283              "MX",
284              "FM",
285              "MD",
286              "MC",
287              "MN",
288              "ME",
289              "MS",
290              "MA",
291              "MZ",
292              "MM",
293              "NA",
294              "NR",
295              "NP",
296              "NL",
297              "NC",
298              "NZ",
299              "NI",
300              "NE",
301              "NG",
302              "NU",
303              "NF",
304              "KP",
305              "MK",
306              "MP",
307              "NO",
308              "OM",
309              "PK",
310              "PW",
311              "PS",
312              "PA",
313              "PG",
314              "PY",
315              "PE",
316              "PH",
317              "PN",
318              "PL",
319              "PT",
320              "PR",
321              "QA",
322              "CG",
323              "RO",
324              "RU",
325              "RW",
326              "RE",
327              "BL",
328              "SH",
329              "KN",
330              "LC",
331              "MF",
332              "PM",
333              "VC",
334              "WS",
335              "SM",
336              "SA",
337              "SN",
338              "RS",
339              "SC",
340              "SL",
341              "SG",
342              "SX",
343              "SK",
344              "SI",
345              "SB",
346              "SO",
347              "ZA",
348              "GS",
349              "KR",
350              "SS",
351              "ES",
352              "LK",
353              "SD",
354              "SR",
355              "SJ",
356              "SZ",
357              "SE",
358              "CH",
359              "SY",
360              "ST",
361              "TW",
362              "TJ",
363              "TZ",
364              "TH",
365              "TG",
366              "TK",
367              "TO",
368              "TT",
369              "TN",
370              "TR",
371              "TM",
372              "TC",
373              "TV",
374              "UM",
375              "VI",
376              "UG",
377              "UA",
378              "AE",
379              "US",
380              "UY",
381              "UZ",
382              "VU",
383              "VA",
384              "VE",
385              "VN",
386              "WF",
387              "EH",
388              "YE",
389              "ZM",
390              "ZW",
391              "AX"
392            ],
393            "type": "string",
394            "description": "Please fill 2 characters region code. Ex: US",
395            "default": "GB"
396          },
397          "url": {
398            "title": "Direct URL for scraping specific video",
399            "type": "string",
400            "description": "Add the URLs of posted video you want to scrape. You can enter URL one by one.",
401            "default": "https://www.tiktok.com/@ladygaga/video/7211250685902359850"
402          },
403          "shouldScrapeReplies": {
404            "title": "Should Scrape Reply",
405            "type": "boolean",
406            "description": "Should Scrape Replies",
407            "default": false
408          },
409          "limit": {
410            "title": "Max comments",
411            "type": "integer",
412            "description": "The number of comments that will be scraped from every scraped result. This can potentially scrape all comments, but it can also be slow for thousands per post.",
413            "default": 20
414          }
415        }
416      },
417      "runsResponseSchema": {
418        "type": "object",
419        "properties": {
420          "data": {
421            "type": "object",
422            "properties": {
423              "id": {
424                "type": "string"
425              },
426              "actId": {
427                "type": "string"
428              },
429              "userId": {
430                "type": "string"
431              },
432              "startedAt": {
433                "type": "string",
434                "format": "date-time",
435                "example": "2025-01-08T00:00:00.000Z"
436              },
437              "finishedAt": {
438                "type": "string",
439                "format": "date-time",
440                "example": "2025-01-08T00:00:00.000Z"
441              },
442              "status": {
443                "type": "string",
444                "example": "READY"
445              },
446              "meta": {
447                "type": "object",
448                "properties": {
449                  "origin": {
450                    "type": "string",
451                    "example": "API"
452                  },
453                  "userAgent": {
454                    "type": "string"
455                  }
456                }
457              },
458              "stats": {
459                "type": "object",
460                "properties": {
461                  "inputBodyLen": {
462                    "type": "integer",
463                    "example": 2000
464                  },
465                  "rebootCount": {
466                    "type": "integer",
467                    "example": 0
468                  },
469                  "restartCount": {
470                    "type": "integer",
471                    "example": 0
472                  },
473                  "resurrectCount": {
474                    "type": "integer",
475                    "example": 0
476                  },
477                  "computeUnits": {
478                    "type": "integer",
479                    "example": 0
480                  }
481                }
482              },
483              "options": {
484                "type": "object",
485                "properties": {
486                  "build": {
487                    "type": "string",
488                    "example": "latest"
489                  },
490                  "timeoutSecs": {
491                    "type": "integer",
492                    "example": 300
493                  },
494                  "memoryMbytes": {
495                    "type": "integer",
496                    "example": 1024
497                  },
498                  "diskMbytes": {
499                    "type": "integer",
500                    "example": 2048
501                  }
502                }
503              },
504              "buildId": {
505                "type": "string"
506              },
507              "defaultKeyValueStoreId": {
508                "type": "string"
509              },
510              "defaultDatasetId": {
511                "type": "string"
512              },
513              "defaultRequestQueueId": {
514                "type": "string"
515              },
516              "buildNumber": {
517                "type": "string",
518                "example": "1.0.0"
519              },
520              "containerUrl": {
521                "type": "string"
522              },
523              "usage": {
524                "type": "object",
525                "properties": {
526                  "ACTOR_COMPUTE_UNITS": {
527                    "type": "integer",
528                    "example": 0
529                  },
530                  "DATASET_READS": {
531                    "type": "integer",
532                    "example": 0
533                  },
534                  "DATASET_WRITES": {
535                    "type": "integer",
536                    "example": 0
537                  },
538                  "KEY_VALUE_STORE_READS": {
539                    "type": "integer",
540                    "example": 0
541                  },
542                  "KEY_VALUE_STORE_WRITES": {
543                    "type": "integer",
544                    "example": 1
545                  },
546                  "KEY_VALUE_STORE_LISTS": {
547                    "type": "integer",
548                    "example": 0
549                  },
550                  "REQUEST_QUEUE_READS": {
551                    "type": "integer",
552                    "example": 0
553                  },
554                  "REQUEST_QUEUE_WRITES": {
555                    "type": "integer",
556                    "example": 0
557                  },
558                  "DATA_TRANSFER_INTERNAL_GBYTES": {
559                    "type": "integer",
560                    "example": 0
561                  },
562                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
563                    "type": "integer",
564                    "example": 0
565                  },
566                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
567                    "type": "integer",
568                    "example": 0
569                  },
570                  "PROXY_SERPS": {
571                    "type": "integer",
572                    "example": 0
573                  }
574                }
575              },
576              "usageTotalUsd": {
577                "type": "number",
578                "example": 0.00005
579              },
580              "usageUsd": {
581                "type": "object",
582                "properties": {
583                  "ACTOR_COMPUTE_UNITS": {
584                    "type": "integer",
585                    "example": 0
586                  },
587                  "DATASET_READS": {
588                    "type": "integer",
589                    "example": 0
590                  },
591                  "DATASET_WRITES": {
592                    "type": "integer",
593                    "example": 0
594                  },
595                  "KEY_VALUE_STORE_READS": {
596                    "type": "integer",
597                    "example": 0
598                  },
599                  "KEY_VALUE_STORE_WRITES": {
600                    "type": "number",
601                    "example": 0.00005
602                  },
603                  "KEY_VALUE_STORE_LISTS": {
604                    "type": "integer",
605                    "example": 0
606                  },
607                  "REQUEST_QUEUE_READS": {
608                    "type": "integer",
609                    "example": 0
610                  },
611                  "REQUEST_QUEUE_WRITES": {
612                    "type": "integer",
613                    "example": 0
614                  },
615                  "DATA_TRANSFER_INTERNAL_GBYTES": {
616                    "type": "integer",
617                    "example": 0
618                  },
619                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
620                    "type": "integer",
621                    "example": 0
622                  },
623                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
624                    "type": "integer",
625                    "example": 0
626                  },
627                  "PROXY_SERPS": {
628                    "type": "integer",
629                    "example": 0
630                  }
631                }
632              }
633            }
634          }
635        }
636      }
637    }
638  }
639}

Blazing Fast TikTok Comment API 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 Comment API 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:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$30.00