Developer APIs

Single Button API

GET
https://demo.apiyoutu.be/api/single/{FTYPE}?url={VIDEO_URL}

Parameters

FTYPE

mp3, mp4, webm

VIDEO_URL

any SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe src="https://demo.apiyoutu.be/api/single/mp3?url=https://www.tiktok.com/@taylorswift/video/7008907083752033541"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Generates this:

Button API

GET
https://demo.apiyoutu.be/api/button/{FTYPE}?url={VIDEO_URL}

Parameters

FTYPE

mp3, mp4, webm

VIDEO_URL

any SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe id="buttonApi" src="https://demo.apiyoutu.be/api/button/mp3?url=https://www.tiktok.com/@taylorswift/video/7008907083752033541"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically resizing:

<!-- Put the Library in your <head> tag -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js"></script>

                        
<!-- Put the resizer code after your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 360 }, '#buttonApi')</script>

Generates this:

Widget API

GET
https://demo.apiyoutu.be/api/widget?url={VIDEO_URL}

Parameters

VIDEO_URL

any SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe id="widgetApi" src="https://demo.apiyoutu.be/api/widget?url=https://www.tiktok.com/@taylorswift/video/7008907083752033541"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically resizing:

<!-- Put the Library in your <head> tag -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js"></script>

                        
<!-- Put the resizer code after your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 400 }, '#widgetApi')</script>

Generates this:

Widget v2 API

GET
https://demo.apiyoutu.be/api/widgetv2?url={VIDEO_URL}

Parameters

VIDEO_URL

any SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe id="widgetv2Api" src="https://demo.apiyoutu.be/api/widgetv2?url=https://www.tiktok.com/@taylorswift/video/7008907083752033541"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically resizing:

<!-- Put the Library in your <head> tag -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js"></script>

                        
<!-- Put the resizer code after your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 400 }, '#widgetv2Api')</script>

Generates this:

Json API

Step #1: Generate Download Hash

POST
https://demo.apiyoutu.be/api/json

Headers

Content-Type: application/json
Accept: application/json

Json Body

ftype

mp3, mp4, webm

url

any SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

Example request:

$client = new \GuzzleHttp\Client();
$response = $client->post(
 'https://demo.apiyoutu.be/api/json',
    [
      'headers' => [
         'Content-Type' => 'application/json',
         'Accept' => 'application/json',
      ],
      GuzzleHttp\RequestOptions::JSON => [
         'ftype' => 'mp4'
         'url' => 'https://www.tiktok.com/@taylorswift/video/7008907083752033541'
      ],
    ]
 );
$json = $response->getBody();
print_r(json_decode($json, true));

Generates this:

{
   "extractor": "TikTok",
   "videoId": "7008907083752033541",
   "title": "Burnin’ it down 🔥 #wildestdreamstaylorsversion #slowzoomeffect #swifttok",
   "lengthSeconds": "9",
   "tasks": [
      {
       "qualityLabel": "1080p60",
       "hash": "tJWDRdrncfgV8f9aHY3JzpTDOYvq1nmpzns6WaWB6oXHhKtRS1hRxJ3kBsIfT/RdVQNWbONtDySMdURxSmuLQmRjWHgQCQj2sg+8ySTWGpaD2I9caEoSH8G+OCcYfsq7qdjtyInlFOXNgYd/iq2dBIhP9lE/DWEPYBCQpo/JQ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j9POgRm1wSWg1QwdWthtWByIuwCIBK8EPBu3ew7tn0V71Zm9M1fAczPD4UFw18EcarDoHW/t/WJGjzaUgwjto1tfcp4o/HkUcuwWPy2Rm0Gruze7x6eYO3SQ117oOns2HPwPa9ekn1GLsnFRKSLmkjVPuz+2se8m6NpfOlgT675HvEZ3Gtnu+Nxvh4tDgFjdW5o2Zw8VtAudW+foXhSw5BIg2MukSp7h+wmFBsu6tU/kjQuzJcgUEmlBYXcxGHIDJP9DpEJ2S0FfF3vK1iuup4X9b2REr57ssnfVhsLx9f5RhQFi0eB9trVJ9Rzf6B9UmdrF27D7NOpTLRzKFujW7yUI+PJePMJg51NIphqirAOjXbRS2cw4Xh+9Guk4Ys5d/wAtiUlKcKnI3GikvVNVEsQ3/qOJ7ZEDwOQ/HWXVlvv4hzCJqZD4+vC3tsrSq76bKf9u/MHi1yuXrQZbvvXTSoZaDtx5vhBvz2ebMvJoRiMKVvjUmq7fk1Ew3Nog7sCQvk2lhQCMmH1Mwo8eEG4F15g1useOEnrXfpYkb719UG7KKr6Q5tUeJ7DtnXqDjwv6I36TaiJfuPXeu3PtqKWkrKtUm/HepLqxFFnG5iXlEvTovwEDwu2sQl21z3f21IH1hZh31ID0aWSiBBHqn2+lfDCC+fN2LSixVeW9arGvz26s5NydxHqyAAq3sENcqfIVxFAmQa+927OrOinjmamrT9J0wq3LD8Bir/zF9m9CANuh8BqbAMpZKIu+eBJg/Um"
      }
   ]
}

Step #2: Start Download Task

POST
https://demo.apiyoutu.be/api/json

Headers

Content-Type: application/json
Accept: application/json

Json Body

hash

Download Hash from Step #1

Example request:

$client = new \GuzzleHttp\Client();
$response = $client->post(
 'https://demo.apiyoutu.be/api/json',
    [
      'headers' => [
         'Content-Type' => 'application/json',
         'Accept' => 'application/json',
      ],
      GuzzleHttp\RequestOptions::JSON => [
         'hash' => 'tJWDRdrncfgV8f9aHY3JzpTDOYvq1nmpzns6WaWB6oXHhKtRS1hRxJ3kBsIfT/RdVQNWbONtDySMd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MN1VcNyxx353Hs+JmmMECDBbtFG3Gp8aLvxHYSQEiPHwwEuJOXLoP9fKqkIycHdf8r2VeTBsgz1SFtZncjLKPkesPWQoj1P+Rl3c1YXWk7rdTgnNStdSQlFxTEbSNxlAd0RdF0Jgi2YApIrQsjUVzj81HrOHQAJA4ZJIiSnv+3tDWNgHbnWwMghQBmHMgjEdUTGrUoHZBoOFL8eVYpptpu1vB2o7dGMXQGv/3pp2evO+/wwIrn/NgjJo/sFjXlAjyiAb9Aw+TN/xeC2865MkJaT8CT2UKEDZZCQGwQq5iB2bdErkh7K/u+XZp+MVy9LH2bQ2+qUTBZ2CtLPK8qXCvKfPoMHq3y8orn5tM7w5bUmjSrceHTX+gg9KWfQPItF+kbKGRg9wjlLZasManpJypxQ3isamyKzWZjeZoGZ+CJZMc2RlJ0VHHmJRdnbzMZSE4RcWgCYhhRcIrlNfbi1FgzXm+cy6OJcPu9DtwJDQZ5s5pHRykt9rsVAcddq/cdkn6b+NYuI6ixhkt6UPlQ'
      ],
    ]
 );
$json = $response->getBody();
print_r(json_decode($json, true));

Generates this:

{
  "taskId": 22
}

Step #3: Check Download Task Status

POST
https://demo.apiyoutu.be/api/json/task

Headers

Content-Type: application/json
Accept: application/json

Json Body

taskId

Generated Task ID from Step #2

Example request:

$client = new \GuzzleHttp\Client();
$response = $client->post(
 'https://demo.apiyoutu.be/api/json/task',
    [
      'headers' => [
         'Content-Type' => 'application/json',
         'Accept' => 'application/json',
      ],
      GuzzleHttp\RequestOptions::JSON => [
         'taskId' => 37deb733-bcd6-4c4c-a413-3a5192c3df96
      ],
    ]
 );
$json = $response->getBody();
print_r(json_decode($json, true));

Generates this:

{
  "taskId": 37deb733-bcd6-4c4c-a413-3a5192c3df96,
  "status": "in Queue, waiting for a free worker...",
  "download_progress": 0,
  "convert_progress": 0,
  "title": "Burnin’ it down 🔥 #wildestdreamstaylorsversion #slowzoomeffect #swifttok",
  "ext": "mp4"
}

JSON response after subsequent, identical request:

{
  "taskId": 37deb733-bcd6-4c4c-a413-3a5192c3df96,
  "status": "Downloading source file...",
  "download_progress": 56,
  "convert_progress": 0,
  "title": "Burnin’ it down 🔥 #wildestdreamstaylorsversion #slowzoomeffect #swifttok",
  "ext": "mp4"
}

JSON response after final, identical request:

{
  "taskId": 37deb733-bcd6-4c4c-a413-3a5192c3df96,
  "status": "finished",
  "download_progress": 100,
  "convert_progress": 100,
  "title": "Burnin’ it down 🔥 #wildestdreamstaylorsversion #slowzoomeffect #swifttok",
  "ext": "mp4",
  "videoId": "7008907083752033541",
  "download": "https://demo.apiyoutu.be/dl?hash=5caXl%2FQypcgVkNVVq%2F2qx2SO4Jr7Gp0HA3V6%2F9Ejz4sMeJmhho56KdsFlNWbXsA2%2B%2FUXHMauLc0F1xhRlydp7WaPz8Q33cCNXmlqZeK9QlPwHLEzT9BPz%2FQi9cQH7Rpo7XoO8f9tJsTV%2BoQGf1teMFVSQzb2evRaAQWqHEmNCWsDPi0IA2b9jxi46mEXZgxYGlh%2BcJDpP2UGPqu96CbbJhAe96bPHUiADXL22t5wLN0%3D"
}