Download the demo code:
After downloading, unzip it, open and edit the file backend.php by replacing YOUR_RAPID_API_KEY with your API key.
Upload the files to your server and open the frontend.html in your browser.
The basic setup is ready. Enter any valid YouTube URL in the input field and submit the form.
Based on the input, it will show the results.