Documentation Index Fetch the complete documentation index at: https://mintlify.com/pterodactyl/panel/llms.txt
Use this file to discover all available pages before exploring further.
The Nests API allows you to retrieve information about service nests. Nests are high-level groupings for different types of game servers (e.g., Minecraft, Source Engine, Voice Servers).
Nests are read-only via the API. They cannot be created, updated, or deleted through the API.
List Nests
curl "https://panel.example.com/api/application/nests" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Retrieves a paginated list of all nests on the Panel.
Query Parameters
Number of results per page
Include related resources. Available: eggs, servers
Response
Array of nest objects Unique identifier for the nest
Email address of the nest author
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
{
"object" : "list" ,
"data" : [
{
"object" : "nest" ,
"attributes" : {
"id" : 1 ,
"uuid" : "1a7f8c5e-2b3a-4c9d-8e1f-9a3b4c5d6e7f" ,
"author" : "support@pterodactyl.io" ,
"name" : "Minecraft" ,
"description" : "Minecraft - the classic game from Mojang. With support for Vanilla MC, Spigot, and many others!" ,
"created_at" : "2024-01-01T00:00:00+00:00" ,
"updated_at" : "2024-01-01T00:00:00+00:00"
}
},
{
"object" : "nest" ,
"attributes" : {
"id" : 2 ,
"uuid" : "2b8e9d6f-3c4b-5d0e-9f2g-0b4c5d6e7f8g" ,
"author" : "support@pterodactyl.io" ,
"name" : "Source Engine" ,
"description" : "Includes support for most Source Dedicated Server games." ,
"created_at" : "2024-01-01T00:00:00+00:00" ,
"updated_at" : "2024-01-01T00:00:00+00:00"
}
}
],
"meta" : {
"pagination" : {
"total" : 2 ,
"count" : 2 ,
"per_page" : 50 ,
"current_page" : 1 ,
"total_pages" : 1
}
}
}
Get Nest Details
curl "https://panel.example.com/api/application/nests/{nest_id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Retrieves details for a specific nest.
Path Parameters
The internal ID of the nest
Query Parameters
Include related resources. Available: eggs, servers
Response
{
"object" : "nest" ,
"attributes" : {
"id" : 1 ,
"uuid" : "1a7f8c5e-2b3a-4c9d-8e1f-9a3b4c5d6e7f" ,
"author" : "support@pterodactyl.io" ,
"name" : "Minecraft" ,
"description" : "Minecraft - the classic game from Mojang. With support for Vanilla MC, Spigot, and many others!" ,
"created_at" : "2024-01-01T00:00:00+00:00" ,
"updated_at" : "2024-01-01T00:00:00+00:00"
}
}
List Nest Eggs
curl "https://panel.example.com/api/application/nests/{nest_id}/eggs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Retrieves all eggs that belong to a specific nest.
Path Parameters
The internal ID of the nest
Query Parameters
Include related resources. Available: nest, servers, config, script, variables
Response
Returns an array of egg objects. See Eggs for the egg object structure.
{
"object" : "list" ,
"data" : [
{
"object" : "egg" ,
"attributes" : {
"id" : 1 ,
"uuid" : "3c8e9d6f-4d5c-6e0f-af3h-1c5d6e7f8g9h" ,
"name" : "Vanilla Minecraft" ,
"nest" : 1 ,
"author" : "support@pterodactyl.io" ,
"description" : "Minecraft is a game about placing blocks and going on adventures." ,
"docker_image" : "ghcr.io/pterodactyl/yolks:java_17" ,
"docker_images" : {
"Java 17" : "ghcr.io/pterodactyl/yolks:java_17" ,
"Java 11" : "ghcr.io/pterodactyl/yolks:java_11" ,
"Java 8" : "ghcr.io/pterodactyl/yolks:java_8"
},
"config" : {
"files" : {},
"startup" : {
"done" : ")! For help, type "
},
"stop" : "stop" ,
"logs" : {},
"file_denylist" : [],
"extends" : null
},
"startup" : "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}" ,
"script" : {
"privileged" : true ,
"install" : "#!/bin/bash \n # Vanilla MC Installation Script" ,
"entry" : "bash" ,
"container" : "ghcr.io/pterodactyl/installers:alpine" ,
"extends" : null
},
"created_at" : "2024-01-01T00:00:00+00:00" ,
"updated_at" : "2024-01-01T00:00:00+00:00"
}
}
]
}
Get Specific Egg from Nest
curl "https://panel.example.com/api/application/nests/{nest_id}/eggs/{egg_id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Retrieves a specific egg from a nest.
Path Parameters
The internal ID of the nest
The internal ID of the egg
Query Parameters
Include related resources. Available: nest, servers, config, script, variables
Response
Returns a single egg object. See Eggs for the full egg object structure.
Usage Examples
List All Nests with Their Eggs
curl "https://panel.example.com/api/application/nests?include=eggs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Get Minecraft Nest with All Servers
curl "https://panel.example.com/api/application/nests/1?include=servers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Find Available Eggs for Server Creation
# First, list all nests
curl "https://panel.example.com/api/application/nests" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
# Then, get eggs for a specific nest (e.g., Minecraft with nest_id=1)
curl "https://panel.example.com/api/application/nests/1/eggs?include=variables" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"