複数プラットフォームからダウンロードリンクと動画情報を取得する A26N REST API。JSON を送信し JSON を受信 — SDK 不要。
A26N: Web https://thunguyenit.com、API https://api.thunguyenit.com。
無料・オープン: API キー不要、アカウント不要、制限なし — 下記エンドポイントを呼び出すだけです。
形式: すべてのリクエスト/レスポンスは JSON (Content-Type: application/json)。
CORS: 有効 — ブラウザまたはサーバーから直接呼び出せます。
API リファレンス
/extract動画/投稿 URL のダウンロード形式一覧を取得します。
Body パラメータ
| フィールド | 型 | 説明 |
|---|---|---|
url必須 | string | 抽出する動画/投稿の URL。 |
リクエスト例
curl -X POST https://api.thunguyenit.com/extract \
-H "Content-Type: application/json" \
-d '{"url":"https://youtube.com/watch?v=dQw4w9WgXcQ"}'レスポンス例
{
"title": "Never Gonna Give You Up",
"thumbnail": "https://i.ytimg.com/vi/.../hq.jpg",
"duration": 213,
"source": "youtube",
"author": "Rick Astley",
"views": 1600000000,
"likes": 16000000,
"formats": [
{ "label": "1080p", "type": "video", "ext": "mp4",
"filesize": 52428800, "url": "https://api.thunguyenit.com/stream?t=..&i=0" },
{ "label": "Audio", "type": "audio", "ext": "m4a",
"filesize": 3400000, "url": "https://api.thunguyenit.com/stream?t=..&i=6" }
]
}/stream/extract が返した形式 URL から直接ダウンロードまたはストリーミングします。
リクエスト例
https://api.thunguyenit.com/stream?t=1b0bc2ea13ee&i=0/channelチャンネル、プレイリスト、ユーザープロフィールから動画一覧を取得します。
Body パラメータ
| フィールド | 型 | 説明 |
|---|---|---|
url必須 | string | チャンネル / プレイリスト / ユーザー URL。 |
limit | number | 最大動画数、1–200(デフォルト 30)。 |
リクエスト例
curl -X POST https://api.thunguyenit.com/channel \
-H "Content-Type: application/json" \
-d '{"url":"https://tiktok.com/@tiktok","limit":50}'レスポンス例
{
"source": "...",
"count": 50,
"items": [
{
"url": "https://tiktok.com/@tiktok/video/123",
"title": "...",
"thumbnail": "https://..."
}
]
}/healthバックエンドの状態、キュー、プロキシプールを確認します。
リクエスト例
curl https://api.thunguyenit.com/healthレスポンス例
{
"ok": true,
"queue": { "running": 3, "waiting": 0 }
}