KnightBot API

REST · JSON · GET only · free key

Facebook Video Downloader API

Send a public Facebook reel or video link, including fb share links, and get an MP4 download link as JSON.

Try it in the playground Read the docs

Endpoints

Example request

curl "https://knightbotapi.stream/api/download/facebook?apikey=knight&url=https://www.facebook.com/share/r/19axMcades/"

Use it in a WhatsApp bot (Node.js + Baileys)

const axios = require('axios');

const { data } = await axios.get('https://knightbotapi.stream/api/download/facebook', {
  params: {
    "apikey": "knight",
    "url": "https://www.facebook.com/share/r/19axMcades/"
  },
});
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.