FiveM server widget, status badge and player count API
Show a FiveM server’s live player count anywhere: a card for websites and stream overlays, an image for forums and READMEs, and a JSON endpoint for your own code. Free, no key, no sign-up, for every server in the public list.
Counts come from the same live data as the FiveM server list and refresh about every 30 seconds.
Find your server
Every server page has an Embed this server section at the bottom with a customizer for colours, size and what the card shows. Search for your server, open its page and copy the snippet from there.
Live server card
An iframe that keeps itself up to date: name, icon, country, players and slots, with a connect button. The same URL works as a browser source in OBS and Streamlabs.
<iframe
src="https://fivesearch.net/embed/67lzxd?width=380&height=172"
width="380" height="172"
style="border:0;color-scheme:normal"
title="SHARK COMMUNITY — live players on FiveSearch"
loading="lazy"></iframe>
<p style="margin:4px 0 0;font:12px system-ui,sans-serif">
<a href="https://fivesearch.net/servers/67lzxd" target="_blank" rel="noopener">SHARK COMMUNITY on FiveSearch</a>
</p>The credit link under the card is optional. Keep it if you want visitors to reach the full stats page.
Status badge image
A 480 × 120 PNG with the live player count, for places that do not allow iframes. It is re-rendered every two minutes.
<a href="https://fivesearch.net/servers/67lzxd" target="_blank" rel="noopener">
<img src="https://fivesearch.net/embed/67lzxd/image" width="480" height="120"
alt="SHARK COMMUNITY — live players on FiveSearch">
</a>[](https://fivesearch.net/servers/67lzxd)FiveM player count API
GET https://fivesearch.net/api/v1/servers/{cfx-code} returns one server’s live status. The code is the part after cfx.re/join/. Responses are cached for 30 seconds, so polling faster gains nothing; an unknown code answers 404 with {"error":"not_found"}.
Need whole lists, every server running a resource, 14-day averages or player history? That is the FiveSearch API.
// Live player count for any element with id="players"
async function updatePlayers() {
const res = await fetch("https://fivesearch.net/api/v1/servers/67lzxd");
const { players, maxPlayers } = await res.json();
document.getElementById("players").textContent = `${players} / ${maxPlayers}`;
}
updatePlayers();
setInterval(updatePlayers, 60000);{
"id": "67lzxd",
"name": "SHARK COMMUNITY",
"online": true,
"players": 1925,
"maxPlayers": 2048,
"country": "TH",
"url": "https://fivesearch.net/servers/67lzxd",
"joinUrl": "https://cfx.re/join/67lzxd",
"updatedAt": "2026-11-28T14:39:23.811Z"
}Fair use: cache on your side, keep it to one request per server every 30 seconds, and link back to the server page where you show the numbers.