This endpoint finds a relevant YouTube video for your article or page.
curl -X POST \ <BASE_URL>/find-youtube-video \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{ "title": "Introduction to Machine Learning" }'
{ "youtube_embed": "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/VIDEO_ID\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe>" }
This is the title or topic of your article or page for which you want to find a relevant YouTube video.
This is the HTML embed code for the relevant YouTube video.