Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

keroherox20's avatar

Help To GET API Checker

Hello

img Check 1 : https://i.ibb.co/S6PY0Cb/1.png

Img Check 2 : https://i.ibb.co/fC34Bhf/2.png

i want to get this api on my website so how do that's ? Imei Checker -> Test : -> 356555088349694

Check Main : https://imeicheck.com/imei-check JS : https://imeicheck.com/front/js/imeiorder.js

HTML FORM

<form action="?" method="POST">
    <div id="imeiWrap">
        <div class="row no-gutters">
            <div class="col-md">
                <div class="inputGroupField">
                    <input type="text" placeholder="Enter IMEI Number (15 Digits) Or Serial Number" id="imeiFld" class="form-control imeiFld" maxlength="15">
                    <input type="hidden" id="serviceFld" value="1234">
                    <span class="eMsg">Please fill out this field.</span>
                </div>
            </div>
            <div class="col-md-auto">
                <button type="submit" class="g-recaptcha btn btnPrimary checkImeiBtn" data-sitekey="6LeqHuQUAAAAALm5VYxfkwZFk-XjQtcnQypv4kGX" data-callback='onSubmit'>Check IMEI</button>
            </div>
        </div>
    </div>
</form>
function onSubmit(response) {
    $('#preloader').delay(10).fadeIn('slow');
    if (response.length) {
        var imeiFld = $('#imeiFld');
        var serviceFld = $('#serviceFld');
        if (!imeiFld.val()) {
            $('#preloader').delay(200).fadeOut('slow');
            var alert_icon = "error";
            var alert_title = "Error!";
            var alert_message = "You clicked the <span class='clrRed'>error</span> IMEI number";
            Swal.fire(alert_title, alert_message, alert_icon)
        } else {
            $.ajax({
                type: 'POST',
                dataType: 'json',
                url: 'https://api.imeicheck.com/freecheck/imei-check.php',
                data: {
                    'serviceId': serviceFld.val(),
                    'imei': imeiFld.val(),
                    'recaptcha': response,
                    'cookieId': getCookie("imeiFreeOrderPlaceCookieId"),
                },
                success: function (data) {
                    $('#preloader').delay(200).fadeOut('slow');
                    if (data.status == "Success") {
                        $(".mobile-info").html(data.response);
                        $('#successMsgModal').modal('show');
                        $('#preloader').delay(200).fadeOut('slow');
                        var alert_icon = "success";
                        var alert_title = "Success";
                        var alert_message = data.response;
                        Swal.fire({
                            icon: alert_icon,
                            title: alert_title,
                            html: data.response,
                            footer: '<b>If you are a service, company or have bulk orders, <a href="https://imeicheck.com/auth/login">visit our paid platform</a>. We can beat any market price!</b>'
                        }).then(function () {
                            location.href = 'https://imeicheck.com'
                        });
                    } else {
                        if (data.isWait) {
                            var alert_icon = "warning";
                            var alert_title = "Warning!";
                        } else {
                            var alert_icon = "error";
                            var alert_title = "Error!";
                        }
                        Swal.fire(alert_title, data.response, alert_icon)
                    }
                },
                error: function (jqXHR, exception) {
                    $('#preloader').delay(200).fadeOut('slow');
                    var alert_icon = "error";
                    var alert_title = "Error!";
                    var alert_message = "Something went wrong!";
                    Swal.fire(alert_title, alert_message, alert_icon)
                },
            });
        }
    } else {
        $('#preloader').delay(200).fadeOut('slow');
        var alert_icon = "error";
        var alert_title = "Error!";
        var alert_message = "Something went wrong!";
        Swal.fire(alert_title, alert_message, alert_icon)
    }
    grecaptcha.reset();
}

function setCookie(cname, cvalue, exdays) {
    var d = new Date();
    d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
    var expires = "expires=" + d.toUTCString();
    document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}

function getCookie(cname) {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') {
            c = c.substring(1);
        }
        if (c.indexOf(name) == 0) {
            return c.substring(name.length, c.length);
        }
    }
    return "";
}
var user = getCookie("imeiFreeOrderPlaceCookieId");
if (user == "") {
    user = Math.floor(Math.random() * 26) + Date.now();
    setCookie("imeiFreeOrderPlaceCookieId", user, 1);
}
$(document).on('click', '.share-social', function () {
    window.open($(this).attr('data-rel'), 'name', 'height=300,width=600');
});

So how to take this and adding on project laravel ? can anyone help me ?

0 likes
5 replies
Sinnbeck's avatar

Where did you find the Javascript? Probably you can set up your html to fit with the code

c.cosmin2017's avatar

This is a FREE Check on imeicheck.com. And they use Google hidden reCAPTCHA to protect from bots. Contact them they provide other oficial api very cheap

Please or to participate in this conversation.