TikTok Scraper avatar
TikTok Scraper

Pricing

Pay per event

Go to Store
TikTok Scraper

TikTok Scraper

Developed by

Clockworks

Clockworks

Maintained by Apify

Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

4.5 (22)

Pricing

Pay per event

360

Total users

37K

Monthly users

8.1K

Runs succeeded

>99%

Issues response

2.4 days

Last modified

a day ago

JC

how to call this api

Closed

Jackychen opened this issue
17 days ago

i use these code below: from apify_client import ApifyClient

apify_client = ApifyClient(TOKEN)

Start the Google Maps Scraper Actor and wait for it to finish.

actor_run = apify_client.actor('clockworks/tiktok-scraper').call( run_input={ 'search queries': "jaecoo J7" } )

Fetch scraped results from the Actor's dataset.

dataset_items = apify_client.dataset(actor_run['defaultDatasetId']).list_items().items print(dataset_items), while i get the wrong result

ruocco-l avatar

Hello, thank you for opening this issue.

As you can see from the run status message, the input is invalid, that's because search queries, the name you used, is not a valid name property for the actor input schema.

If you want my suggestion, it would be much easier to compile your input in the console, with the "Manual" tab and then switch to JSON and just copy the input ready to be pasted in your code! This way you won't have problem with named properties.

I'll close this issue to avoid cluttering but feel free to ask more question.