IPSS API Documentation

IPSS API provides visitor IP, location, browser, device, timezone, language and other available information in JSON format.

Free API: No API key required. Free requests are limited to 100 requests per minute.

API Endpoint

https://brcheck.top/api/

No API key is required for the free API.

JavaScript - Full Example

Copy the complete example below and place it on your website. The request is made directly from the visitor's browser, allowing IPSS to detect the visitor's real IP and available information.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>IPSS API Test</title>
</head>
<body>

<h2>Visitor Information</h2>

<div id="ipss-result">Loading...</div>

<script>

fetch('https://brcheck.top/api/')
    .then(response => {

        if (!response.ok) {
            throw new Error('API request failed: ' + response.status);
        }

        return response.json();

    })
    .then(data => {

        console.log(data);

        document.getElementById('ipss-result').innerHTML =
            '<pre>' +
            JSON.stringify(data, null, 2) +
            '</pre>';

    })
    .catch(error => {

        document.getElementById('ipss-result').textContent =
            'API Error: ' + error;

    });

</script>

</body>
</html>

PHP - Full Example

If your website uses PHP, use the complete PHP page below. The API request is still made by JavaScript in the visitor's browser, so it returns the same visitor information.

<?php
// Your normal PHP code can be here.
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>IPSS API Test</title>
</head>
<body>

<h2>Visitor Information</h2>

<div id="ipss-result">Loading...</div>

<script>

fetch('https://brcheck.top/api/')
    .then(response => {

        if (!response.ok) {
            throw new Error('API request failed: ' + response.status);
        }

        return response.json();

    })
    .then(data => {

        console.log(data);

        document.getElementById('ipss-result').innerHTML =
            '<pre>' +
            JSON.stringify(data, null, 2) +
            '</pre>';

    })
    .catch(error => {

        document.getElementById('ipss-result').textContent =
            'API Error: ' + error;

    });

</script>

</body>
</html>

Example Response

{
    "ip": "77.95.223.118",
    "version": 4,
    "country": "PS",
    "city": "Jenin",
    "region": "West Bank",
    "region_code": "WE",
    "continent": "AS",
    "postal_code": null,
    "latitude": "32.45943",
    "longitude": "35.30086",
    "timezone": "Asia/Hebron",
    "local_time": "2026-08-09 07:50:44",
    "browser": "Chrome",
    "browser_version": "109.0.0.0",
    "os": "Windows 10/11",
    "architecture": "64-bit",
    "device_type": "desktop",
    "language": "ar-JO,ar;q=0.9",
    "primary_language": "ar",
    "user_agent": "Mozilla/5.0 ...",
    "origin": "https://example.com",
    "referer": "https://example.com/",
    "https": true,
    "cf_ray": "a2842443fc1b9b09-TLV",
    "server_time": "2026-08-09 04:50:44 UTC",
    "timestamp": 1786251044
}

Response Fields

ip — Visitor IP address.

version — IP version, such as IPv4 or IPv6.

country — Country code.

city — Visitor city when available.

region — State or region when available.

region_code — Region code.

continent — Continent code.

postal_code — Postal code when available.

latitude / longitude — Approximate geographic coordinates.

timezone — Visitor timezone.

local_time — Local time for the detected timezone.

browser — Browser name.

browser_version — Browser version.

os — Detected operating system.

architecture — Detected client architecture when available.

device_type — Desktop, mobile or other detected device type.

language — Browser language header.

primary_language — Primary browser language.

user_agent — Full browser User-Agent.

origin — Origin of the browser request when available.

referer — Referring page when available.

https — Whether the request uses HTTPS.

cf_ray — Cloudflare request identifier.

server_time — IPSS server time in UTC.

timestamp — Unix timestamp.

How It Works

The JavaScript request is made directly from the visitor's browser to IPSS. This allows IPSS to detect the visitor's connection and return the available visitor information.

You can use the returned JSON data in your website, application, analytics system or other code.

cURL Example

curl "https://brcheck.top/api/"

cURL requests detect the IP address of the machine making the request. For website visitor detection, use the JavaScript or PHP page examples above.

Rate Limit

Free API: 100 requests per minute

No API key is required.

Users who have an API subscription can use their API key to access the request limit included with their plan.