Live

Uhhh track the amount of users on your app!

Fetching...

Base URL: https://live.alimad.xyz

Track users in real-time using hashed IPs. No login or config needed

Get Started

Try it out with your own App ID:

HTML Code

Copy this code to show live user counts on your website:

How It Works

  1. Your app calls /ping with your unique App ID
  2. The API registers this user as "online"
  3. The API returns the current number of online users
  4. Users are automatically removed after 2 minutes of inactivity

I guess thats all

API Endpoints

GET /ping?app=[AppId]

Registers this user as "online" and returns the current user count (including this user).

Parameters

app (required): Your unique App ID

App ID Naming Rules
  1. 4-64 characters long
  2. Must be a string
  3. Only alphabets, numbers, slashes, %, _, -, and . are allowed
  4. Plz dont do XSS payloads

Response

Plain text with the current user count

Example request:

GET /ping?app=client_of_making

Example response:

1
GET /get?app=[AppId]

Checks the current user count without registering this user as online.

Response format is the same as /ping.

GET /leave?app=[AppId]

Manually removes your user from the online count.

Response: Done

GET /embed

One line embed into any page.

<iframe src="https://live.alimad.xyz/embed" style="border:0;width:85px;height:26px;"></iframe>
GET /stats?app=[AppId]

Returns statistics about your app's usage in JSON format.

Example request:

GET /stats?app=live

Example response:

{
  "lastPing": 1751256515136,
  "maxConcurrent": {
    "2025-06-30T09:00:00.000Z": 1,
    "overall": 1
  },
  "pings": {
    "2025-06-30T09:00:00.000Z": 26
  },
  "totalPings": 26,
  "uniqueIds": 1
}

Demo

Loading stats...
GET /stats/view?app=[AppId]

View your stats in a pretty HTML page (great for quick checks).

Status Codes

200 OK

Everything worked as expected.

400 Bad Request

Missing or invalid App ID.

403 Forbidden

Your App ID contains forbidden characters.

I TOLD YOU NOT TO TRY XSS PAYLOADS

429 Too Many Requests

Chill bro, it's 50 requests per minute. Please do at most one request per 3 seconds