🏯 Tiktok Scraper (Pay Per Result) avatar
🏯 Tiktok Scraper (Pay Per Result)

Pricing

$0.30 / 1,000 posts

Go to Store
🏯 Tiktok Scraper (Pay Per Result)

🏯 Tiktok Scraper (Pay Per Result)

Developed by

API Dojo

Maintained by Community

The most complete and effective solution for extracting data from TikTok.com. User, Profile, Hashtag, Music, Location, Tag, and many other support is just the beginning. The intelligent algorithm allows TikTok Scraper to retrieve any posts/videos around the platform in the blink of an eye!

5.0 (2)

Pricing

$0.30 / 1,000 posts

99

Monthly users

365

Runs succeeded

98%

Response time

18 hours

Last modified

10 hours ago

CL

Would it be possible to add a property for a posts "short code"?

Closed

clipx opened this issue
a month ago

For my use case, it would be useful to have a property whose value represents a post's short code, as in, for a post URL like https://vm.tiktok.com/ZNddMbCfT/, the short code would be ZNddMbCfT

apidojo avatar

Hello,

You can use customMapFunction in order to add any properties you want to the objects. Please refer to the documentation to learn how to use it.

Cheers

CL

clipx

a month ago

I'm sorry, I don't think I've explained my use case properly. When submitting a URL such as https://vm.tiktok.com/ZNddMbCfT/, a mobile format URL, the response does not contain any value that I can use to map to the respective short code (ZNddMbCfT) using the customMapFunction property.

For some reason, the response's postPage returns the desktop-version of the URL instead of the submitted URL (in this case, a mobile-version one). If this postPage always returned the exact URL that was used for the input, I'd be able to extract the short code, but not like this. Alternatively, having said shortCode property of its own would work just as well.

Example run: https://console.apify.com/organization/uMJB9Ttvl6ujumzBu/actors/5K30i8aFccKNF5ICs/runs/86O74WaEOPnvNbaUA

apidojo avatar

Hello,

We've added a new field called inputUrl to the output where you can extract this information. Can you please check and let me know if that works for you?

Cheers

apidojo avatar

Hello,

Closing this issue due to inactivity. Please let us know if the new field is not working for your case.

Cheers

Pricing

Pricing model

Pay per result 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Price per 1,000 items

$0.30