Palworld REST API Reference
How to use the Palworld REST API for server management, player info, and automation.
The REST API is the recommended way to manage your Palworld server programmatically. It replaces the deprecated RCON system.
Enabling the REST API
In Pal/Saved/Config/LinuxServer/PalWorldSettings.ini:
RESTAPIEnabled=True
RESTAPIPort=8212
AdminPassword="YourPassword123"Authentication
All requests use HTTP Basic Auth:
- Username:
admin - Password: Your
AdminPasswordvalue
Base URL
http://<server-ip>:8212/v1/apiEndpoints
Server Information
| Method | Path | Description |
|---|---|---|
| GET | /v1/api/info | Server info (version, name, world GUID) |
| GET | /v1/api/settings | Current server settings |
| GET | /v1/api/metrics | Server metrics (FPS, player count, uptime, base count) |
| GET | /v1/api/players | All connected players (name, ID, IP, ping, level, location) |
Player Management
| Method | Path | Body | Description |
|---|---|---|---|
| POST | /v1/api/kick | {"userid": "id", "message": "reason"} | Kick a player |
| POST | /v1/api/ban | {"userid": "id", "message": "reason"} | Ban a player |
| POST | /v1/api/unban | {"userid": "id"} | Unban a player |
Server Control
| Method | Path | Body | Description |
|---|---|---|---|
| POST | /v1/api/announce | {"message": "text"} | Broadcast to all players |
| POST | /v1/api/save | (none) | Force save world |
| POST | /v1/api/shutdown | {"waittime": 60, "message": "Restarting"} | Graceful shutdown |
| POST | /v1/api/stop | (none) | Force immediate stop |
Example: Get Player List
curl -u admin:YourPassword123 http://localhost:8212/v1/api/playersExample: Broadcast Message
curl -X POST -u admin:YourPassword123 \
-H "Content-Type: application/json" \
-d '{"message": "Server restarting in 5 minutes!"}' \
http://localhost:8212/v1/api/announceResponse Codes
| Code | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad request (missing/invalid parameters) |
| 401 | Unauthorized (wrong password) |
⚠️ Security: The REST API is not designed for direct internet exposure. Use within local networks or behind a reverse proxy.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Palworld server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server
Change Resource & Drop Rates on Your Palworld Server
How to adjust gathering yield, enemy loot, item weight, and equipment durability on your Palworld server.
Palworld Server Configuration Guide
Complete PalWorldSettings.ini reference for Palworld — every server setting explained with defaults and values.