> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tikfly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> How to use Tiktok API on RapidAPI – Step-by-Step Guide

<Steps>
  <Step title="Create a RapidAPI Account">
    Go to [RapidAPI](https://rapidapi.com/hub) then sign up your account. If you already have an account, simply log in and move to Step 2.
  </Step>

  <Step title="Access Tiktok API">
    Access the [Tiktok API](https://rapidapi.com/Lundehund/api/tiktok-api23), which will take you directly to the API’s main page on RapidAPI where you can view details and available endpoints.

    <img src="https://mintcdn.com/tikfly/xXA9pCc4fpKGw2E1/public/quickstart/tiktok-api-rapid-dashboard.png?fit=max&auto=format&n=xXA9pCc4fpKGw2E1&q=85&s=8d920b8324d61120579b7cccf79ab1ef" width="3016" height="1614" data-path="public/quickstart/tiktok-api-rapid-dashboard.png" />
  </Step>

  <Step title="Subscribe to Tiktok API">
    On the API page, click **Subscribe** and choose a plan that fits your needs. Once you confirm your subscription, you will gain access to all endpoints.

    <img width="200" src="https://mintcdn.com/tikfly/xXA9pCc4fpKGw2E1/public/quickstart/subcribe-to-test-button.png?fit=max&auto=format&n=xXA9pCc4fpKGw2E1&q=85&s=2de9193a7beb658d651b3c0535ab061c" data-path="public/quickstart/subcribe-to-test-button.png" />
  </Step>

  <Step title="Test Endpoints in the RapidAPI Playground">
    After subscribing, you can use RapidAPI’s built-in playground to test each endpoint. Enter parameters, send a request, and view the response directly in the page.

    <img src="https://mintcdn.com/tikfly/xXA9pCc4fpKGw2E1/public/quickstart/rapidapi-playground.png?fit=max&auto=format&n=xXA9pCc4fpKGw2E1&q=85&s=d56c41be870977498b442123b98ad63c" width="3006" height="1590" data-path="public/quickstart/rapidapi-playground.png" />
  </Step>

  <Step title="Find Your API Key">
    In the **Code Snippets** tab, RapidAPI will show your API key automatically included in the request headers. This key is required for all authenticated API requests.

    <img src="https://mintcdn.com/tikfly/xXA9pCc4fpKGw2E1/public/quickstart/rapid-api-key.png?fit=max&auto=format&n=xXA9pCc4fpKGw2E1&q=85&s=543a41dbc461d7c9de5dd4c3e4c7d523" width="2372" height="608" data-path="public/quickstart/rapid-api-key.png" />
  </Step>

  <Step title="Use the API Key in Your Code">
    Copy the API key from the snippet and use it in your code. Ensure you include it in your request headers so your API calls are authorized and function correctly.

    ```bash theme={null}
      curl --request GET 
      --url 'https://tiktok-api23.p.rapidapi.com/api/user/info?uniqueId=taylorswift' 
      --header 'x-rapidapi-host: tiktok-api23.p.rapidapi.com' 
      --header 'x-rapidapi-key: YOUR_API_KEY'
    ```
  </Step>
</Steps>

<Note>
  **Need help?** Check our <a href="/support">support page</a> or contact our team.
</Note>
