REST · JSON · GET only · free key
Instagram Downloader API for Reels, Posts and Stories
Send a public Instagram reel, post or story link and get the media back as JSON. Carousel posts return every item, so your bot can send them one by one.
Try it in the playground Read the docs
Endpoints
GET /api/download/instagram· Instagram: Reels, posts, stories. Params:apikey, urlGET /api/download/instagramdl· Instagram (alias)
Example request
curl "https://knightbotapi.stream/api/download/instagram?apikey=knight&url=https://www.instagram.com/reel/DdviNYUpmsw/"
Use it in a WhatsApp bot (Node.js + Baileys)
const axios = require('axios');
const { data } = await axios.get('https://knightbotapi.stream/api/download/instagram', {
params: {
"apikey": "knight",
"url": "https://www.instagram.com/reel/DdviNYUpmsw/"
},
});
if (data.success) {
// Baileys: send the file straight to the chat
await sock.sendMessage(jid, { video: { url: data.result.download }, caption: data.result.title });
}Response
Check for HTTP 200 and success: true, then read result.download.
{
"status": 200,
"success": true,
"creator": "KnightBot",
"result": {
"title": "…",
"thumbnail": "https://…",
"download": "https://knightbotapi.stream/files/<id>.mp4"
}
}Limits
- Public content only; private accounts are not supported.
- Hosted files under /files/ expire after 5 minutes, so send them to the chat right away.
Authentication
Pass your key as ?apikey= or the X-API-Key header. The public demo key knight works for testing; per-key minute, hour and day limits apply, and a blocked request returns 429. See the docs for status codes.