TikTok API Documentation
    
 https://kizhbotz.online/tiktok?url=${url}&apikey=kizh-api-key
                

CARA PENGGUNAAN:

  1. Install Axios
  2. copy function yang sudah di buatkan
  3. contoh penggunaan const tiktok = await tiktok(URL)
  4. kraksikan sendiri bisa di buat fitur bot wa/tele dan bisa buat website dll

RESULT APIs


{
  "status": 200,
  "creator": "kizh",
  "data": {
    "response": {
      "title": "Ngimbangi Sebeleh Katanya Si Paling Mafia Jepang🥴😝#samp #fypage #samproleplay ",
      "cover": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/og4ci7xt6AesAGjNAQLcfxkGVeasinYIFRE5eg~tplv-tiktokx-cropcenter:300:400.jpeg?dr=14579&nonce=73062&refresh_token=4ea54d1ad55e5aab0ce4c8404ba5cdba&x-expires=1733554800&x-signature=40iG%2BxlGDKVwmPefHLhZQ2%2FVEtk%3D&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474",
      "origin_cover": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/o8JPJQqQDWoYsBxWQEfnApAmxFcNKnBEF2ORve~tplv-tiktokx-360p.image?dr=14555&nonce=43513&refresh_token=3dd5b382a86e82bc041bfa91e79c2887&x-expires=1733554800&x-signature=MIDYF%2FgpIH2VtdeJiYH0zIWddQU%3D&ftpl=1&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474",
      "no_watermark": "https://v16m-default.akamaized.net/9169cd90a92168f041550647cefc0e0b/6752fe82/video/tos/useast2a/tos-useast2a-ve-0068c004/os2BWYnNNxRWEqcEFsA5nQIDeQmJPFxBOwftn2/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&ch=0&cr=0&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C0&br=530&bt=265&cs=0&ds=6&ft=XE5bCqT0majPD12Bn3oJ3wUOx5EcMeF~O5&mime_type=video_mp4&qs=0&rc=NzZnZTNpM2Q7aDY0ZjtmN0BpamVnNHU5cmRmdjMzNzczM0A1LWFhMzYtNTMxX2NfMWEzYSMwZWk0MmRrYHNgLS1kMTZzcw%3D%3D&vvpl=1&l=202412060739008DB21C9C0C8A9B026675&btag=e000b0000",
      "watermark": "https://v16m-default.akamaized.net/de83ae27d2dc745677d505bf2306dee8/6752fe82/video/tos/useast2a/tos-useast2a-ve-0068c003/oE3KIrrBUvHFGizQcErd7BHAZREE7lGwIiSYO/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&ch=0&cr=0&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C0&br=558&bt=279&cs=0&ds=3&ft=XE5bCqT0majPD12Bn3oJ3wUOx5EcMeF~O5&mime_type=video_mp4&qs=0&rc=NjczOzU2aTQ7ODs3Z2c1Z0BpamVnNHU5cmRmdjMzNzczM0A1MDQ2NjJjNjUxXjQuLWIzYSMwZWk0MmRrYHNgLS1kMTZzcw%3D%3D&vvpl=1&l=202412060739008DB21C9C0C8A9B026675&btag=e000b0000",
      "music": "https://sf16-ies-music-va.tiktokcdn.com/obj/musically-maliva-obj/7367507144839514885.mp3"
    }
  }
}
                

FUNCTION


const axios = require('axios')

 function fetchJson(url, options = {}) {
  return axios({
  method: 'GET',
  url: url,
  headers: {
   'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36',
  },
   ...options,
   })
    .then((res) => res.data)
    .catch((err) => err);
 }
                
    async function tiktok(url) {
      const get = await fetchJson(`https://kizhbotz.online/tiktok?url=${url}&apikey=kizh-api-key`)
      const video = get.data.response.no_watermark
      const music = get.data.response.music
      const title = get.data.response.title
     return { video, music, title}
    }
                
                
    // contoh penggunaan function di atas
    (async () => {
    const hasil = await tiktok('https://www.tiktok.com/@tepresak/video/7422989597677849862?is_from_webapp=1&sender_device=pc');
  console.log(hasil);
})();
                
AIchat API Documentation
  
 https://kizhbotz.online/AIchat?message=${pertanyaan}&sifat=${sifat}&session=${session}&apikey=kizh-api-key
            

CARA PENGGUNAAN:

  1. Install Axios
  2. copy function yang sudah di buatkan
  3. session adalah ID chat history pengguna
  4. contoh penggunaan function const ChatAI = await AIchat(pertanyaan, sifat, session)
  5. kraksikan sendiri bisa di buat fitur bot wa/tele dan bisa buat website dll

RESULT APIs


{
    "status": 200,
    "creator": "kizh",
    "data": {
    "response": "Nama saya Itachi! Ada yang bisa saya bantu hari ini?"
 }
}

FUNCTION


const axios = require('axios')

 function fetchJson(url, options = {}) {
  return axios({
  method: 'GET',
  url: url,
  headers: {
   'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36',
  },
   ...options,
   })
    .then((res) => res.data)
    .catch((err) => err);
 }
                
    async function AIchat(pertanyaan, sifat, session) {
      const get = await fetchJson(`https://kizhbotz.online/AIchat?message=${pertanyaan}&sifat=${sifat}&session=${session}&apikey=kizh-api-key`)
      const result = get.data.response
     return result
    }
                
                
    // contoh penggunaan function di atas
    (async () => {
    const hasil = await AIchat("Apa kabar?", "sopan", "12345");
  console.log(hasil);
})();