A26N REST API to fetch download links and video info from multiple platforms. Send JSON, receive JSON — no SDK required.
A26N: web at https://thunguyenit.com, API at https://api.thunguyenit.com.
Free & open: no API key, no account, no limits — just call the endpoints below.
Format: all requests and responses are JSON (Content-Type: application/json).
CORS: enabled — call it directly from the browser or your server.
API Reference
/extractGet download format list for a video/post URL.
Body parameters
| Field | Type | Description |
|---|---|---|
urlrequired | string | URL of the video/post to extract. |
Example request
curl -X POST https://api.thunguyenit.com/extract \
-H "Content-Type: application/json" \
-d '{"url":"https://youtube.com/watch?v=dQw4w9WgXcQ"}'Example response
{
"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" }
]
}/streamDownload or stream directly from a format URL returned by /extract.
Example request
https://api.thunguyenit.com/stream?t=1b0bc2ea13ee&i=0/channelGet video list from channel, playlist, or user profile.
Body parameters
| Field | Type | Description |
|---|---|---|
urlrequired | string | Channel / playlist / user URL. |
limit | number | Max number of videos, 1–200 (default 30). |
Example request
curl -X POST https://api.thunguyenit.com/channel \
-H "Content-Type: application/json" \
-d '{"url":"https://tiktok.com/@tiktok","limit":50}'Example response
{
"source": "...",
"count": 50,
"items": [
{
"url": "https://tiktok.com/@tiktok/video/123",
"title": "...",
"thumbnail": "https://..."
}
]
}/healthCheck backend status, queue, and proxy pool.
Example request
curl https://api.thunguyenit.com/healthExample response
{
"ok": true,
"queue": { "running": 3, "waiting": 0 }
}