Edit in JSFiddle

$(document).ready(function () {
    $.ajax({
        type: "GET",
        url: "https://mysafeinfo.com/api/data?list=presidents&format=checkbox&rows=5&sort=id desc&id=presidents&valuefield=id&textfield=nm",
        dataType: "html",
        success: function (result) {
            $("#checkbox").html(result);
        },
        error: function (msg) {
            alert("fetch failed");
        }
    });
});
<div id="checkbox"></div>