Ngrok Api: Automatic Server Address Updates for Minecraft

Simplify server access with Ngrok Api for Minecraft. Automatically fetch live ngrok server addresses using your API key and skip manual updates.

Ngrok Api

Anyone who has ever joined a server hosted through ngrok knows the routine: the host sends a new address, you copy it, you paste it, and a few hours later the whole cycle repeats. The Ngrok Api mod exists to end that loop. It hooks into ngrok's public API and pulls the current server address for you, so the only thing you need from the host is an API key. That is it.

What the Mod Actually Does

Ngrok Api is a client-side utility mod, not a server host and not a key generator. It stores a list of ngrok API keys, queries ngrok's API with each one, and surfaces the most recent tunnel address tied to that key. When the host restarts their tunnel and the address changes, the mod picks up the new one automatically. No chat spam, no Discord pins, no stale bookmarks.

The workflow is deliberately minimal:

  • Ask the server host for their ngrok API key.
  • Add the key to the mod's API key list in-game.
  • Let the mod fetch and refresh the address whenever it changes.

Multiple keys can be stored at once, which is handy if you play on several ngrok-hosted worlds or if a friend runs a private SMP alongside a public event server. Removing a key is just as quick, so you are never stuck with an outdated entry.

Supported Versions and Loaders

Fabric and NeoForge Support

Ngrok Api is built for modern Minecraft and ships as a Fabric mod, with NeoForge builds available for players on the newer modding stack. Version coverage spans recent 1.20.x and 1.21.x releases, so whether you are on a long-running survival world or a freshly updated creative server, there is likely a build that matches. Always check the file listing on Modrinth or CurseForge before you download Ngrok Api, since the mod tracks Minecraft updates closely and older snapshots may lag behind.

Client-Side Only

Because the mod only reads tunnel data, it does not need to be installed on the server. That makes Ngrok Api for Minecraft a safe addition to any modpack you already run, and it will not trigger server-side compatibility checks.

How to Install Ngrok Api

If you have installed a Fabric mod before, this takes under two minutes. Here is the short version of how to install it:

  • Install Fabric Loader (or NeoForge) for your Minecraft version.
  • Drop Fabric API and the matching Ngrok Api jar into your mods folder.
  • Launch the game, open the mod's config screen, and paste in the API key from your server host.
  • Join the server using the address the mod displays.

If you would rather skip the file juggling, the foxygame.net launcher bundles Ngrok Api directly in its add-on catalog, so a single click installs the correct build for your selected Minecraft version and keeps it updated between sessions.

Why It Beats Manual Address Tracking

Ngrok's free tier rotates tunnel URLs frequently, and even paid tunnels change when restarted. For server owners, that means constant re-sharing. For players, it means failed connection attempts and confused newcomers. Ngrok Api removes that friction entirely by treating the API key as the permanent identifier and the address as a disposable detail.

A few practical benefits stand out:

  • No more asking the host for a fresh link every time the tunnel restarts.
  • Works across multiple servers without switching configs.
  • Lightweight footprint with no impact on world performance.
  • Open development, with source available on GitHub for anyone who wants to audit it.

Things to Keep in Mind

The mod does not host anything and does not generate API keys. If the host has not created an ngrok account and shared a key, the mod has nothing to query. Treat API keys like passwords, since anyone holding one can see the tunnel details tied to it. Also remember that ngrok tunnels are only as stable as the host's connection, so a dropped tunnel still means a dropped session, even if the address lookup is instant.

Final Thoughts

Ngrok Api solves one narrow problem extremely well: keeping ngrok-hosted Minecraft servers reachable without manual address swaps. For small friend groups, testing setups, and temporary event servers, that convenience adds up fast. Grab the right build for your loader, add your key, and let the mod handle the rest.