KnightBot API

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

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

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.