API Provider

JKumar
JKumar

Developer links

TikTok API
TikTok API Featured

Unofficial API for TikTok for fetching trending videos, user, video, music info and a lot more.

This is an unofficial TikTok API. It's been made by reverse engineering how the actual application is working. It is not affiliated anyway by Tik Tok Inc. or its affiliates.

This API is capable of fetching the following information directly from TikTok, in real-time, without caching and storing any data.

  • Display trending videos from any region
  • Get video by id
  • Download video
  • Get user by name
  • Get videos of a user
  • Get hashtag
  • Get videos by hashtag
  • Get music by id
  • Get videos by music id

How to play and download the videos

Many endpoints return downloadAddr and playAddr fields. You may not be able to call them directly, since TikTok performs a HTTP Referer header check on the URLs. Just pass a Referer header with a valid TikTok url (such as https://www.tiktok.com/foryou?lang=en) and it will work. Sample:


curl --location \
--request GET 'https://v19-web.tiktokcdn.com/.../.../.../BeMjMyXi06Yw%3D%3D&vl=&vr=' \
--header 'Referer: https://www.tiktok.com/foryou?lang=en'

If you have any comments or questions send your requests via chat or support section.

How secure is this service?

Prompt API is a legal entity in European Union and regulated by its laws. We never store any sensitive information on our servers and fully respect your privacy.

Is it free?

TikTok API is a paid service but we have a free plan that will be more than enough for you to test its functionalities and see if it works for your needs.

How does Prompt API's pricing work?

Our subscriptions are tiered. We offer a monthly subscription scheme and you decide which tier works for you the best. No strings attached.

Can I cancel/upgrade/downgrade at any time?

Sure you can. You can cancel your subscription or upgrade/downgrade yourself, anytime without any restrictions.

Fast and efficient
Supported and updated frequently
Fetches real-time information
Full privacy

Ready to try it out?

We offer a free plan. No credit cards required!


or see documentation

See Also

View All