Embed server status on your website

Show a live online/offline badge with player count on any website, forum post, or clan page. Free, no account required — one copy-paste.

Game

Theme

Preview

HTML snippet

<iframe src="https://coalhosting.com/tools/server-status/widget?host=play.example.com&port=25565&game=minecraft&theme=dark" width="320" height="80" frameborder="0" scrolling="no" title="play.example.com server status" style="border-radius:10px;overflow:hidden"></iframe>

Paste this anywhere you can add HTML — website, forum post, clan page, wiki.

How it works

  1. 1

    Enter your server address and port

    The widget polls /api/tools/server-status every 60 seconds. Visitors always see the latest status without refreshing.

  2. 2

    Copy the iframe snippet

    Paste it into your website HTML, WordPress page, Wix HTML block, or forum signature. The widget fits in a 320×80 px box — resize with the width/height attributes.

  3. 3

    Choose a theme

    Dark theme matches most gaming sites. Light theme works on white backgrounds. Both include the live dot indicator and player count.

Need the raw API?

The status endpoint is public and returns JSON — plug it into your Discord bot, website backend, or monitoring script directly.

POST https://coalhosting.com/api/tools/server-status
Content-Type: application/json

{ "host": "play.example.com", "port": 25565, "game": "minecraft" }

→ { "online": true, "players": { "online": 12, "max": 64 },
     "motd": "A Minecraft Server", "version": "Paper 1.21.1", "ping": 48 }

Running CoalHosting?

Your server status is automatically monitored 24/7. If it goes down, we restart it within minutes.

See hosting plans →