REST API Showcase

API premium dengan desain elegan, interaksi halus, dan dokumentasi yang ramah developer.

API key aktif:

Dokumentasi API — Islami
No Feature Name Request Method Description Query Parameter Action
Set Query
Contoh Kode — Islami

      const url = `https://api.teamhackbotsindo.my.id/api/doa`;
      fetch(url, {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log(data));
      
Contoh Kode — Shalat

      const selected = "isya"; // bisa diganti sesuai dropdown
      const url = `https://api.teamhackbotsindo.my.id/api/niat-shalat?shalat=${selected}`;

      fetch(url, {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log(data));
      
Contoh Kode — Jadwal Shalat

      // Jadwal Shalat Jakarta
      const apiKey = "YOUR_API_KEY";
      fetch("https://api2.teamhackbotsindo.my.id/api/jadwal-shalat?city=jakarta", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Jadwal Shalat:", data))
        .catch(err => console.error(err));
      
Dokumentasi API — Random Image
No Feature Name Request Method Description Query Parameter Action
Contoh Kode — Random Image

      fetch("https://api.teamhackbotsindo.my.id/api/anime-random", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Anime Random:", data));

      // dst untuk Donghua, Waifu, Anime 18+
      
Dokumentasi API — Downloader
No Feature Name Request Method Description Query Parameter Action
Contoh Kode — Youtube List

      // Youtube List
      const apiKey = "YOUR_API_KEY";
      fetch("https://api.teamhackbotsindo.my.id/api/youtube-list?query=peterpan", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Youtube List:", data))
        .catch(err => console.error(err));
      
Contoh Kode — Youtube Video

      // Youtube Video
      const apiKey = "YOUR_API_KEY";
      fetch("https://api2.teamhackbotsindo.my.id/api/youtube-video?link=https://youtu.be/igaeQ2fJRxE?si=lFgNyMiAgXVJHti3", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Youtube Video:", data))
        .catch(err => console.error(err));
      
Contoh Kode — Youtube Audio

      // Youtube Audio
      const apiKey = "YOUR_API_KEY";
      fetch("https://api2.teamhackbotsindo.my.id/api/youtube-audio?link=https://youtu.be/igaeQ2fJRxE?si=lFgNyMiAgXVJHti3", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Youtube Audio:", data))
        .catch(err => console.error(err));
      
Contoh Kode — Smule Profile

      // Smule Profile
      const apiKey = "YOUR_API_KEY";
      fetch("https://api2.teamhackbotsindo.my.id/api/smule-profile?handle=AgnesMo", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Smule Profile:", data))
        .catch(err => console.error(err));
      
Contoh Kode — Smule Audio / Video

      // Smule Audio / Video
      const apiKey = "YOUR_API_KEY";
      const link = "https://www.smule.com/sing-recording/2857539585_5092417239";

      fetch(`https://api2.teamhackbotsindo.my.id/api/smule-video?link=${link}`, {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => {
          console.log("Judul:", data.result.title);
          console.log("Video mp4:", data.result.downloadVideoUrl);
          console.log("Audio mp3:", data.result.downloadAudioUrl);
        })
        .catch(err => console.error(err));
      
Contoh Kode — Facebook Video

      // Facebook Video
      const apiKey = "YOUR_API_KEY";
      const link = "https://www.facebook.com/share/r/17px4C4PmR/";

      fetch(`https://api2.teamhackbotsindo.my.id/api/facebook-video?link=${encodeURIComponent(link)}`, {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Facebook Video:", data))
        .catch(err => console.error(err));
      
Contoh Kode — TikTok Video

      // TikTok Video
      const apiKey = "YOUR_API_KEY";
      const link = "https://www.tiktok.com/@username/video/1234567890";

      fetch(`https://api2.teamhackbotsindo.my.id/api/tiktok-video?link=${encodeURIComponent(link)}`, {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("TikTok Video:", data))
        .catch(err => console.error(err));
      
Dokumentasi API — Information
No Feature Name Request Method Description Query Parameter Action
Contoh Kode — Information

      // Translate
      fetch("https://api.teamhackbotsindo.my.id/api/translate?text=selamat%20pagi&to=en", {
        headers: { 
          "x-api-key": apiKey,
          "Origin": "https://teamhackbotsindo.my.id"
        }
      })
        .then(res => res.json())
        .then(data => console.log("Translate:", data));

      // Kodepos
      fetch("https://api.teamhackbotsindo.my.id/api/kodepos?daerah=ciomas", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Kodepos:", data));

      // Info Gempa
      fetch("https://api.teamhackbotsindo.my.id/api/gempa", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Info Gempa:", data));

      // Cord Lagu
      fetch("https://api.teamhackbotsindo.my.id/api/cord-lagu?judul=melukis%20senja", {
        headers: { "x-api-key": apiKey }
      })
        .then(res => res.json())
        .then(data => console.log("Cord Lagu:", data));
      
Disalin!
WhatsApp