API Bridge
by DuyAnh662
API Bridge exposes an internal HTTP REST interface that lets external programs control a running Minecraft Java client through requests.
What it does
Scripts and outside applications send HTTP requests to the mod, which then carries out actions in the game. The interface can move the player, turn the view by pitch and yaw, swing the hands, change the time of day, toggle the weather, place or break blocks anywhere, drop items, select hotbar slots and manage the inventory. Because the control runs over plain HTTP, the requests can come from curl, Python, JavaScript or any other language that can make them.
A macro system accepts a list of commands and runs them in sequence, which makes multi-step automation possible, for example a building routine or an automated mining bot. The mod is open source under the MIT License and is published for Fabric only, across 16 release versions, 1.21 – 26.2. Either side can run it, and neither needs it.
Key features
Player control
Requests move the player, change the look direction and swing the hands, covering most of what a player does with the mouse and keyboard.
World control
Scripts can set the time of day, toggle the weather, and place or break blocks at chosen positions.
Inventory handling
Items can be dropped, hotbar slots selected and inventory contents managed through the same interface.
Command macros
A list of commands can be sent in one request and executed sequentially, enabling longer automated routines.
Language agnostic access
Any tool that can send HTTP requests can control the game, with no client library needed for a given language.
Gallery
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: The mod suits developers who want to script or automate a Minecraft client from Python, Node.js or a shell script, and players who build bots and external controllers.
How it compares
Peripheral is a Fabric mod for 1.21 – 26.1.2 that is client-side only and open source under the MIT License, so only the client needs it. APIBlock is also open source, under the GNU General Public License v3.0 only, and targets 1.21 – 1.21.11 with both client and server needing it. JsScripts is closed, under All rights reserved, and needs both sides for 1.21.8 – 26.1.1, so it fits servers where every player runs the mod.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| API Bridge | Fabric | 1.21 – 26.2 | Client or server, optional | 2026-06-30 |
| Peripheral | Fabric | 1.21 – 26.1.2 | Client-side only | 2026-04-27 |
| APIBlock | Fabric | 1.21 – 1.21.11 | Client and server | 2026-06-10 |
| JsScripts | Fabric | 1.21.8 – 26.1.1 | Client and server | 2026-04-01 |
Questions
Which loader does API Bridge use?
Does the server need API Bridge?
Which game version is the latest file for?
Is the source code available?
In the catalog
API Bridge is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
API Bridge is a powerful Fabric mod for Minecraft 1.21.11 that exposes an internal HTTP REST API. It allows you to programmatically control almost every aspect of the game—from client UI interactions to player movements, world settings, and block manipulation—directly from your terminal, Python scripts, or Node.js…
Official listing
- Modrinth page
- modrinth.com/mod/api-bridge
- Owner
- DuyAnh662
- Published
- 2026-06-25
- Updated on Modrinth
- 2026-06-30
- Facts verified
- 2026-10-15
