
TikTok Ads Library FAST
1 day trial then $7.99/month - No credit card required now

TikTok Ads Library FAST
1 day trial then $7.99/month - No credit card required now
🔮 Unlock TikTok's ad intelligence with our powerful scraper. Extract competitor campaigns, creative assets and performance metrics. Search by keyword, advertiser name or ID across all regions. Get comprehensive ad data for market-leading insights.
Actor Metrics
3 Monthly users
5.0 / 5 (1)
1 bookmark
>99% runs succeeded
Created in Mar 2025
Modified a day ago
You can access the TikTok Ads Library FAST 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.6",
5 "x-build-id": "zzaIgAVJHNY7xKRNH"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/data_xplorer~tiktok-ads-library-fast/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-data_xplorer-tiktok-ads-library-fast",
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/data_xplorer~tiktok-ads-library-fast/runs": {
50 "post": {
51 "operationId": "runs-sync-data_xplorer-tiktok-ads-library-fast",
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/data_xplorer~tiktok-ads-library-fast/run-sync": {
93 "post": {
94 "operationId": "run-sync-data_xplorer-tiktok-ads-library-fast",
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 "region"
135 ],
136 "properties": {
137 "region": {
138 "title": "Region",
139 "enum": [
140 "all",
141 "FR",
142 "AT",
143 "BE",
144 "BG",
145 "HR",
146 "CY",
147 "CZ",
148 "DK",
149 "EE",
150 "FI",
151 "DE",
152 "GR",
153 "HU",
154 "IS",
155 "IE",
156 "IT",
157 "LV",
158 "LI",
159 "LT",
160 "LU",
161 "MT",
162 "NL",
163 "NO",
164 "PL",
165 "PT",
166 "RO",
167 "SK",
168 "SI",
169 "ES",
170 "SE",
171 "CH",
172 "TR",
173 "GB"
174 ],
175 "type": "string",
176 "description": "Region code for which you want to scrape ads",
177 "default": "all"
178 },
179 "startDate": {
180 "title": "Start Date",
181 "type": "string",
182 "description": "Start date for ads (format: YYYY-MM-DD, e.g. 2025-01-01)",
183 "default": "2025-01-01"
184 },
185 "endDate": {
186 "title": "End Date",
187 "type": "string",
188 "description": "End date for ads (format: YYYY-MM-DD, e.g. 2025-03-01). Leave empty for current date.",
189 "default": ""
190 },
191 "query": {
192 "title": "Search Query",
193 "type": "string",
194 "description": "Enter a keyword, advertiser name, or advertiser ID (numeric). For exact match, wrap your term in quotes (e.g. \"NETFLIX\"). To find an Advertiser ID, visit https://library.tiktok.com/ads, select an advertiser, and look for 'adv_biz_ids=' in the URL. Leave empty to search all ads.",
195 "default": ""
196 },
197 "queryType": {
198 "title": "Query Type",
199 "enum": [
200 "1",
201 "2"
202 ],
203 "type": "string",
204 "description": "Type of search query",
205 "default": "2"
206 },
207 "maxAds": {
208 "title": "Maximum Number of Ads",
209 "minimum": 1,
210 "type": "integer",
211 "description": "Maximum number of ads to scrape",
212 "default": 20
213 },
214 "proxyConfiguration": {
215 "title": "Proxy Configuration",
216 "type": "object",
217 "description": "Specify the type of proxy to use. By default, Apify datacenter proxies will be used.",
218 "default": {
219 "useApifyProxy": true
220 }
221 }
222 }
223 },
224 "runsResponseSchema": {
225 "type": "object",
226 "properties": {
227 "data": {
228 "type": "object",
229 "properties": {
230 "id": {
231 "type": "string"
232 },
233 "actId": {
234 "type": "string"
235 },
236 "userId": {
237 "type": "string"
238 },
239 "startedAt": {
240 "type": "string",
241 "format": "date-time",
242 "example": "2025-01-08T00:00:00.000Z"
243 },
244 "finishedAt": {
245 "type": "string",
246 "format": "date-time",
247 "example": "2025-01-08T00:00:00.000Z"
248 },
249 "status": {
250 "type": "string",
251 "example": "READY"
252 },
253 "meta": {
254 "type": "object",
255 "properties": {
256 "origin": {
257 "type": "string",
258 "example": "API"
259 },
260 "userAgent": {
261 "type": "string"
262 }
263 }
264 },
265 "stats": {
266 "type": "object",
267 "properties": {
268 "inputBodyLen": {
269 "type": "integer",
270 "example": 2000
271 },
272 "rebootCount": {
273 "type": "integer",
274 "example": 0
275 },
276 "restartCount": {
277 "type": "integer",
278 "example": 0
279 },
280 "resurrectCount": {
281 "type": "integer",
282 "example": 0
283 },
284 "computeUnits": {
285 "type": "integer",
286 "example": 0
287 }
288 }
289 },
290 "options": {
291 "type": "object",
292 "properties": {
293 "build": {
294 "type": "string",
295 "example": "latest"
296 },
297 "timeoutSecs": {
298 "type": "integer",
299 "example": 300
300 },
301 "memoryMbytes": {
302 "type": "integer",
303 "example": 1024
304 },
305 "diskMbytes": {
306 "type": "integer",
307 "example": 2048
308 }
309 }
310 },
311 "buildId": {
312 "type": "string"
313 },
314 "defaultKeyValueStoreId": {
315 "type": "string"
316 },
317 "defaultDatasetId": {
318 "type": "string"
319 },
320 "defaultRequestQueueId": {
321 "type": "string"
322 },
323 "buildNumber": {
324 "type": "string",
325 "example": "1.0.0"
326 },
327 "containerUrl": {
328 "type": "string"
329 },
330 "usage": {
331 "type": "object",
332 "properties": {
333 "ACTOR_COMPUTE_UNITS": {
334 "type": "integer",
335 "example": 0
336 },
337 "DATASET_READS": {
338 "type": "integer",
339 "example": 0
340 },
341 "DATASET_WRITES": {
342 "type": "integer",
343 "example": 0
344 },
345 "KEY_VALUE_STORE_READS": {
346 "type": "integer",
347 "example": 0
348 },
349 "KEY_VALUE_STORE_WRITES": {
350 "type": "integer",
351 "example": 1
352 },
353 "KEY_VALUE_STORE_LISTS": {
354 "type": "integer",
355 "example": 0
356 },
357 "REQUEST_QUEUE_READS": {
358 "type": "integer",
359 "example": 0
360 },
361 "REQUEST_QUEUE_WRITES": {
362 "type": "integer",
363 "example": 0
364 },
365 "DATA_TRANSFER_INTERNAL_GBYTES": {
366 "type": "integer",
367 "example": 0
368 },
369 "DATA_TRANSFER_EXTERNAL_GBYTES": {
370 "type": "integer",
371 "example": 0
372 },
373 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
374 "type": "integer",
375 "example": 0
376 },
377 "PROXY_SERPS": {
378 "type": "integer",
379 "example": 0
380 }
381 }
382 },
383 "usageTotalUsd": {
384 "type": "number",
385 "example": 0.00005
386 },
387 "usageUsd": {
388 "type": "object",
389 "properties": {
390 "ACTOR_COMPUTE_UNITS": {
391 "type": "integer",
392 "example": 0
393 },
394 "DATASET_READS": {
395 "type": "integer",
396 "example": 0
397 },
398 "DATASET_WRITES": {
399 "type": "integer",
400 "example": 0
401 },
402 "KEY_VALUE_STORE_READS": {
403 "type": "integer",
404 "example": 0
405 },
406 "KEY_VALUE_STORE_WRITES": {
407 "type": "number",
408 "example": 0.00005
409 },
410 "KEY_VALUE_STORE_LISTS": {
411 "type": "integer",
412 "example": 0
413 },
414 "REQUEST_QUEUE_READS": {
415 "type": "integer",
416 "example": 0
417 },
418 "REQUEST_QUEUE_WRITES": {
419 "type": "integer",
420 "example": 0
421 },
422 "DATA_TRANSFER_INTERNAL_GBYTES": {
423 "type": "integer",
424 "example": 0
425 },
426 "DATA_TRANSFER_EXTERNAL_GBYTES": {
427 "type": "integer",
428 "example": 0
429 },
430 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
431 "type": "integer",
432 "example": 0
433 },
434 "PROXY_SERPS": {
435 "type": "integer",
436 "example": 0
437 }
438 }
439 }
440 }
441 }
442 }
443 }
444 }
445 }
446}
TikTok Ads Library FAST 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 Ads Library FAST 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: