Satu akun untuk hosting dan API.
Unduh YouTube, TikTok, Instagram, Spotify, dan Pinterest. Hapus background, HD-kan foto, buat QRIS dinamis. Panggil dari bot WhatsApp, website, atau n8n.
Base URL https://api.sairihost.com
$ curl "https://api.sairihost.com/api/download/play?q=dewa+19+kangen&apikey=KEY" { "status": true, "creator": "SairiHost", "result": { "title": "Dewa 19 - Kangen | Official Music Video", "duration": "4:44", "quality": "128kbps", "download": "https://cdn405.savetube.vip/media/…" } }
Request yang dilayani
semua pengguna · diperbarui tiap 30 detikHari ini
2.000
Kemarin
4.865
Minggu ini
2.000
Bulan ini
91.101
Sepanjang waktu
117.384
Paket
Bayar per request, bukan per hari: beli saldo request lalu pakai kapan saja selama masa aktif. Tiap request berhasil memotong 1; request gagal tidak dihitung.
Atur sendiri
Pilih 1.000–500.000 request dan 3–180 hari. Rp800 per 1.000 request + Rp50 per hari.
Beli lagi saat masih aktif = request & masa aktif ditambahkan. Saat masa aktif habis, sisa kuota hangus dan key kembali ke kuota gratis.
Panduan integrasi
A. Persiapan
- Daftar akun SairiHost lalu masuk. Daftar
- Salin API key di menu Dashboard → REST API. Key gratis dibuat otomatis.
- Panggil endpoint di bawah dengan base URL
https://api.sairihost.com.
B. Cara mengirim API key
Setiap endpoint butuh key, lewat parameter apikey di URL atau header X-Api-Key.
# lewat parameter URL https://api.sairihost.com/api/search/youtube?q=dewa+19&apikey=API_KEY_KAMU # atau lewat header (key tidak ikut tercatat di URL/log) curl -H "X-Api-Key: API_KEY_KAMU" "https://api.sairihost.com/api/search/youtube?q=dewa+19"
C. Format respons & kode status
// berhasil (HTTP 200) { "status": true, "creator": "SairiHost", "result": { … } }
// gagal (HTTP 4xx / 5xx) { "status": false, "creator": "SairiHost", "message": "API key tidak valid" }
| Kode | Arti |
|---|---|
| 200 | Berhasil. JSON, atau file gambar untuk tools gambar |
| 400 | Parameter kurang atau salah |
| 401 | API key kosong atau tidak valid |
| 403 | API key dinonaktifkan |
| 404 | Data tidak ditemukan (video dihapus, akun privat, dll.) |
| 413 | File terlalu besar (maks 25 MB) |
| 422 | Gambar terbaca tapi isinya tidak sesuai (mis. bukan QRIS) |
| 429 | Saldo request habis, atau terlalu banyak request per menit |
| 500 | Sumber data sedang error, coba lagi |
D. Batas & aturan
- Tiap key punya saldo request: setiap request berhasil memotong 1, request gagal dikembalikan. Kuota gratis terisi ulang otomatis tiap periode.
- Request yang gagal (input salah, sumber error) tidak memotong jatah.
- Maksimal 60 request per menit per IP. Upload maksimal 25 MB.
- Link unduhan (MP3/MP4 dll.) bersifat sementara: langsung unduh, jangan disimpan linknya.
E. Mengirim & menerima gambar
Tools gambar (removebg, hd, topixel, dll.) menerima foto lewat parameter url (GET) atau upload file di field multipart file (POST). Jawabannya berupa file gambar langsung, bukan JSON: cek header Content-Type.
// JavaScript (Node.js 20+) import fs from 'node:fs' const form = new FormData() form.append('file', await fs.openAsBlob('foto.jpg'), 'foto.jpg') const res = await fetch('https://api.sairihost.com/api/tools/removebg?apikey=API_KEY_KAMU', { method: 'POST', body: form }) if (!res.headers.get('content-type').startsWith('image/')) { throw new Error((await res.json()).message) // gagal: JSON } fs.writeFileSync('hasil.png', Buffer.from(await res.arrayBuffer()))
# Python (requests) import requests with open("foto.jpg", "rb") as f: res = requests.post( "https://api.sairihost.com/api/tools/removebg", params={"apikey": "API_KEY_KAMU"}, files={"file": f}, timeout=120, ) if not res.headers["Content-Type"].startswith("image/"): raise Exception(res.json()["message"]) # gagal: JSON with open("hasil.png", "wb") as out: out.write(res.content)
Daftar endpoint
Klik endpoint untuk melihat parameter, contoh kode (cURL, JavaScript, Python), contoh respons hasil uji, dan tombol Coba. Masuk supaya key akunmu dipakai otomatis untuk tombol "Coba".