evelode/tiktok-api-php

TikTok REST API wrapper for PHP

1.0.2 2024-02-12 23:49 UTC

This package is auto-updated.

Last update: 2024-04-28 23:42:44 UTC


README

Packagist PHP Version Support GitHub last commit GitHub

Easy to use TikTok REST API. Get TikTok public user data, feed, trends, hashtags, music, and non watermarked TikTok videos.

Using our detailed multipurpose API Documentation and following TikTok REST API wrapper for PHP you can explore and reach all TikTok REST API endpoints with ease.

Try our Trial license plan and test all API endpoints before buying a license.

Navigation

Installation

If you want to install library to exsiting project using Composer:

cd /path-to-app/
composer require evelode/tiktok-api-php
  • /path-to-app/ project folder with existing composer.json file

If you want to install library to new project using Composer:

  • If Composer not installed on your server/local machine, please follow this installation guide

  • Create blank file named as composer.json in project folder

  • Add following content to this file:

{
    "require": {
        "evelode/tiktok-api-php": "^1.0.0"
    }
}
  • After that install library using the following command:
cd /path-to-app/
composer update
  • /path-to-app/ project folder with existing composer.json file

Authentication

Authentication occurs by passing the license key value through a query string named license_key, which can be purchased here.

API Server Url: https://tiktok.evelode.com/tiktok-api

Rate Limits

The developer license_key gives the right to use all methods within the TikTok REST API within the limit of requests for a specific period. Requests limit based on your license length and will be flushed when you renew or upgrade your license. Empty or invalid responses doesn't affect requests counter.

Every license plan also have a requests per minute rate limit. More info about license plans you can check here.

License

You can buy a valid license_key for TikTok REST API here. This license based on period of usage and requests count.

Demo Access: We offer a Trial access with limited requests count, if you want to test REST API you can get license key here. Trial license can't be renewed, but can be upgraded to another licenses types.

Support

This is a developer's portal for TikTok REST API wrapper for PHP and should not be used for support. Please contact us via website chat if you need to submit a support request or have any question about API functionality.

Endpoints

Using our detailed Postman collection you can explore and test all TikTok REST API endpoints in real time. Try our Trial license plan and test all API endpoints before buying a license.

Examples

Video

Search

User

Hashtag

Music