AX
ApexHost API apexhost.web.id
APEXHOST REST API • DISCORD & WHATSAPP BOT

API key cepat untuk bot Discord & WhatsApp, siap pakai untuk SFL bypass.

Kelola API key pribadi Anda, pantau kuota harian secara real-time, dan hubungkan langsung ke bot Discord maupun WhatsApp melalui https://api.apexhost.web.id.

99.9%
Uptime Gateway
SFL v1
Fast Link Resolver

Masuk ke Akun

Gunakan username dan password untuk mengakses dashboard

AKSES CEPAT

Login dengan Discord

Hubungkan akun Discord Anda dalam satu klik. Akun dan API key langsung aktif tanpa perlu mengisi formulir pendaftaran.

Endpoint Bypass SFL

Gunakan API key dari dashboard untuk menguji bypass URL SFL secara langsung.

GET /api/bypass/sfl
{
  "status": "Menunggu pengujian..."
}

Contoh Bot Discord (Node.js)

fetch()
const API_KEY = 'APEX-YOUR_API_KEY';
const BASE_URL = 'https://api.apexhost.web.id';

async function handleBypassCommand(message, targetUrl) {
  const endpoint = `${BASE_URL}/api/bypass/sfl?apikey=${encodeURIComponent(API_KEY)}&url=${encodeURIComponent(targetUrl)}`;
  const res = await fetch(endpoint);
  const data = await res.json();

  if (!data.ok) {
    return message.reply(`Gagal bypass: ${data.error}`);
  }
  return message.reply(`Hasil Bypass (${data.elapsed_sec}s):\n${data.destination}`);
}

Contoh Bot WhatsApp (Node.js)

x-api-key
const API_KEY = 'APEX-YOUR_API_KEY';
const BASE_URL = 'https://api.apexhost.web.id';

async function bypassForWhatsApp(sock, remoteJid, targetUrl) {
  const url = `${BASE_URL}/api/bypass/sfl?url=${encodeURIComponent(targetUrl)}`;
  const res = await fetch(url, { headers: { 'x-api-key': API_KEY } });
  const data = await res.json();

  const text = data.ok
    ? `Bypass SFL Berhasil (${data.elapsed_sec}s)\nLink: ${data.destination}`
    : `Gagal bypass: ${data.error}`;

  await sock.sendMessage(remoteJid, { text });
}