Downloader API for WhatsApp Bots: YouTube, TikTok and More
KnightBot API gives your WhatsApp bot a ready-made downloader. Send a YouTube, TikTok, Instagram, Facebook, Twitter/X or Spotify link and get the video, audio or file back as JSON, with no download tools to host yourself. Hook it up to a .song, .video or .tiktok command in a few lines.
It's a plain REST API: GET requests only, JSON responses, 112 endpoints behind one key. Pass apikey as a query parameter or X-API-Key header, then read result.download from the response. Hosted files expire after 5 minutes, so send them to the chat right away.
The same key also covers AI chat, lyrics, text to speech, QR codes, welcome cards and fun endpoints, the things a group bot usually needs.
Endpoint catalog
Every route behind one key. Open any tile in the playground.
Universal
Any link · SoundCloud, Reddit, Twitch +1000 sites
GET /api/download02YouTube MP3
Search or URL to audio
GET /api/download/ytaudio03YouTube MP4
Video by query or URL
GET /api/download/ytmp404Spotify
Track link to MP3
GET /api/spotify05TikTok
No-watermark video
GET /api/download/tiktok06Reels, posts, stories
GET /api/download/instagram07Public reels & videos
GET /api/download/facebook08Twitter / X
Video & images
GET /api/download/twitter09Pin image or video
GET /api/download/pinterestTikTok Stalk
Profile, followers, likes
GET /api/stalk/tiktok11Instagram Stalk
Profile, followers, posts
GET /api/stalk/instagram12GitHub Stalk
Profile + recent repos
GET /api/stalk/githubAI Chat
chat · gpt · gemini · mistral
GET /api/ai/chat14AI Image
Text → image (FLUX, free)
GET /api/ai/image15Lyrics
Search by song name
GET /api/lyrics16Screenshot
Any public webpage
GET /api/ssweb17Text to Speech
10 languages, 200 chars
GET /api/tts18QR Code
Generated on-server
GET /api/qr19NSFW Check
Image → clean / nsfw
GET /api/tools/nsfw20Upload
Image / video → public URL
GET /api/tools/upload21Image FX
blur · pixelate · meme · removebg
GET /api/img/blurWelcome
Group join card PNG
GET /api/card/welcome23Goodbye
Group leave card PNG
GET /api/card/goodbye24Rank
XP progress card
GET /api/card/rank25Quote
Quote image, Hindi ok
GET /api/card/quote26Wanted
Wanted poster + reward
GET /api/card/wanted27Jail
Mugshot behind bars
GET /api/card/jail28YouTube Card
Now-playing from URL
GET /api/yt/cardFun
joke · meme · roast · flirt
GET /api/fun/joke30Anime Pics
8 SFW image types
GET /api/anime/neko31Anime Info
Random anime details
GET /api/anime/random32Anime Quotes
Random, by character or show
GET /api/anime/quotes33Reactions
29 anime GIFs
GET /api/gif34Fake Tweet
Tweet PNG
GET /api/fake/tweet35YT Comment
Comment PNG
GET /api/fake/ytcommentTranslate
Any language → any language
GET /api/tools/translate37Weather
Current weather by city
GET /api/tools/weather38Dictionary
English word meanings
GET /api/tools/define39Wikipedia
Page summary by search
GET /api/tools/wiki40Currency
Live ECB exchange rates
GET /api/tools/currency41Short URL
Shorten any link
GET /api/tools/shorturl42NPM Search
Top 5 packages
GET /api/tools/npm43Country
Capital, currency, flag
GET /api/tools/country44World Time
Time in any timezone
GET /api/tools/time45Calculator
Safe math, no eval
GET /api/tools/calcQuran
Ayah + translation, or random
GET /api/religion/quran47Bible
Verse by reference, or random
GET /api/religion/bibleTrivia
Multiple-choice quiz
GET /api/game/trivia49Truth or Dare
truth · dare
GET /api/game/truth50Riddle
Riddle + answer
GET /api/game/riddleHow a request travels
From your bot to the platform and back.
200 · JSON · result.download
Integrate in a minute
Same pattern for every endpoint.
- Pass
apikeyas a query param orX-API-Keyheader. - Read
result.downloadfrom the JSON response. - Hosted files expire after 5 minutes.