API

TikTok API

TikTokは短編動画、ライブストリーム、トレンド主導の発見を通じて月間10億人以上のユーザーにリーチし、文化的関連性、クリエイターキャンペーン、製品発見において重要な存在となっています。

APIリファレンス バージョン: 1.0.0 5 エンドポイント 認証
TikTok

ベース URL

https://api.pressmonitor.com

認証

すべてのリクエストはベアラートークン認証を使用します。すべての呼び出しにAuthorizationヘッダーを追加してください。

Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID
GET /post-comments

投稿コメント

パラメータ

名前 タイプ 場所 必須 説明
aweme_id string query はい Aweme ID
count integer query いいえ 返す結果数
cursor integer query いいえ カーソル
device_id string query いいえ デバイスID

コード例

curl -X GET "https://api.pressmonitor.com/post-comments?aweme_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

レスポンス

200 成功
GET /post-detail

投稿詳細

パラメータ

名前 タイプ 場所 必須 説明
aweme_id string query はい Aweme ID
device_id string query いいえ デバイスID
from string query いいえ 開始位置

コード例

curl -X GET "https://api.pressmonitor.com/post-detail?aweme_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

レスポンス

200 成功
GET /search-video

動画検索

パラメータ

名前 タイプ 場所 必須 説明
keyword string query はい キーワード
count integer query いいえ 返す結果数
cursor integer query いいえ カーソル
device_id string query いいえ デバイスID
search_id string query いいえ 検索ID

コード例

curl -X GET "https://api.pressmonitor.com/search-video?keyword=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

レスポンス

200 成功
GET /user-info

ユーザー情報

パラメータ

名前 タイプ 場所 必須 説明
sec_uid string query いいえ Sec Uid
unique_id string query いいえ ユニークID
with_commerce_info string query いいえ 商取引情報を含む

コード例

curl -X GET "https://api.pressmonitor.com/user-info" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

レスポンス

200 成功
GET /user-posts

ユーザー投稿

パラメータ

名前 タイプ 場所 必須 説明
sec_uid string query はい Sec Uid
count integer query いいえ 返す結果数
cursor integer query いいえ カーソル
device_id string query いいえ デバイスID
from string query いいえ 開始位置
with_play_token string query いいえ プレイトークンを含む

コード例

curl -X GET "https://api.pressmonitor.com/user-posts?sec_uid=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

レスポンス

200 成功