PHP
$response = file_get_contents("https://api.kodeotpku.my.id/?action=getBalance", false, stream_context_create(["http" => ["header" => "X-API-Key: YOUR_API_KEY"]]));Node.js
const r = await fetch("https://api.kodeotpku.my.id/?action=getBalance", { headers: { "X-API-Key": process.env.API_KEY } });Python
requests.get("https://api.kodeotpku.my.id/?action=getBalance", headers={"X-API-Key": os.environ["API_KEY"]})