Documentation
API Wiki
Complete reference for all Minecraft Item API endpoints.
Base URL
https://api.minecraftitems.xyzItems
/api/item/:itemNameRender an item or block image
Parameters
itemNamepath— Item ID (e.g., diamond_sword)sizepath— Size multiplier (e.g., size=4)rotationpath— Rotation: left or rightbgpath— Background color (e.g., bg=white)rpquery— Resource pack IDcmdquery— Custom model dataglintquery— Enchantment glint (true/false)apiKeyquery— API key (for resource packs)Example
/api/item/diamond_sword/size=4/left/api/shareCreate a shareable item link
Request Body
apiKey*— Your API keyitemName*— Item IDscale— Size multiplier (default: 1)rotation— Rotation in degreesbackgroundColor— Hex color or 'transparent'resourcePackId— Resource pack IDcustomModelData— CMD valueglint— Enchantment glintRotating GIFs
/api/item/gif/directGenerate a rotating item GIF (returns GIF directly)
Request Body
itemName*— Item IDframes— Number of frames (8-72, default: 36)speed— Frame delay in ms (20-200, default: 50)scale— Output size multiplier (1-8, default: 2)itemScale— Item size (0.1-5.0, default: 1.0)zoom— Camera distance (5-100, default: 30)tilt— X-axis tilt (-90 to 90, default: -20)renderScale— Resolution (128-1024, default: 512)backgroundColor— 'transparent' or hex colorglint— Enchantment glint (default: false)resourcePackId— Resource pack IDcustomModelData— CMD value/api/item/gifGenerate a rotating item GIF (returns shareable URL)
Request Body
apiKey*— Your API keyitemName*— Item ID...— Same options as /api/item/gif/directGUI Rendering
/api/guiRender a chest/container GUI
Parameters
rowsquery— Number of rows (1-6)scalequery— Scale multiplier (1-10)rpquery— Resource pack IDRequest Body
title— GUI title textitems*— Object mapping slot index to itemExample
{ "title": "My Chest", "items": { "0": "diamond_sword", "1": "golden_apple" } }/api/gui/shareCreate a shareable GUI link
Request Body
apiKey*— Your API keytitle— GUI titleitems*— Slot items objectrows— Number of rows (default: 6)scale— Scale (default: 2)Player Inventory
/api/gui/playerRender a player inventory screen
Parameters
scalequery— Scale multiplier (1-10)rpquery— Resource pack IDRequest Body
playerName— Player name for skinhelmet— Helmet itemchestplate— Chestplate itemleggings— Leggings itemboots— Boots itemoffhand— Offhand iteminventory— Inventory slots objecthotbar— Hotbar slots object/api/gui/player/shareCreate a shareable player inventory link
Request Body
apiKey*— Your API key...— Same options as /api/gui/playerPlayer List
/api/playerlistRender a server player list
Request Body
players*— Array of player names or objectsmax— Max players (default: 100)ip— Server IP to displayscale— Scale (default: 2)Example
{ "players": ["Steve", {"name": "Alex", "text": "§6Alex §7[VIP]", "ping": 50}], "ip": "play.server.com" }/api/playerlist/shareCreate a shareable player list link
Request Body
apiKey*— Your API key...— Same options as /api/playerlistTooltips
/api/tooltipRender an item tooltip
Request Body
itemName*— Item IDdisplayName— Custom display name (supports color codes)rarity— common, uncommon, rare, epic, legendarylore— Array of lore linesenchantments— Array of enchantments (e.g., 'Sharpness:5')unbreakable— Unbreakable flagscale— Scale (1-10, default: 2)Example
{ "itemName": "diamond_sword", "displayName": "§6Legendary Blade", "lore": ["§7A powerful sword"], "enchantments": ["Sharpness:5"] }/api/tooltip/shareCreate a shareable tooltip link
Request Body
apiKey*— Your API key...— Same options as /api/tooltipItem + Tooltip
/api/itemtooltipRender item with tooltip side-by-side
Request Body
itemName*— Item IDdisplayName— Custom display namerarity— Rarity levellore— Array of lore linesenchantments— Array of enchantmentsscale— Scale (default: 2)glintOverride— Force glint on/offresourcePackId— Resource pack IDcustomModelData— CMD value/api/itemtooltip/shareCreate a shareable item+tooltip link
Request Body
apiKey*— Your API key...— Same options as /api/itemtooltipSetup & Resource Packs
/api/setupCreate a new API key
Request Body
username*— Your username/api/setup/resourcepackUpload a resource pack
Parameters
apiKeyquery— Your API key (required)Request Body
packName*— Name for your packdownloadUrl*— URL to download the .zip file/api/resourcepack/:packIdCheck resource pack processing status
Parameters
packIdpath— The pack ID from uploadapiKeyquery— Your API key (required)Stats
/api/statsGet API usage statistics
Item Format Reference
Items in GUIs and inventories can be specified as a simple string or a detailed object.
Simple Item (string)
"0": "diamond_sword"
Complex Item (object)
"0": {
"item": "paper",
"cmd": 123,
"enchantments": [
{"name": "sharpness", "level": 5}
],
"glint": true
}item — Item ID (required)
cmd — Custom model data
enchantments — Array of enchantment objects
glint — Force enchantment glint on/off
GUI Items Format
Full example of a chest GUI request body.
{
"title": "§6Chest Title",
"items": {
"0": "diamond_sword",
"1": "emerald",
"10": {
"item": "paper",
"cmd": 123,
"enchantments": [
{"name": "sharpness", "level": 5}
],
"glint": true
}
}
}title — Optional, supports color codes (§)
items — Object mapping slot index to item
Slot 0 = top-left. For 6 rows: slots 0-53. For 3 rows: slots 0-26.
Player Inventory Format
Full example of a player inventory request body.
{
"playerName": "Notch",
"helmet": "diamond_helmet",
"chestplate": "diamond_chestplate",
"leggings": "diamond_leggings",
"boots": "diamond_boots",
"offhand": "shield",
"inventory": {
"0": "diamond",
"1": { "item": "paper", "cmd": 123 }
},
"hotbar": {
"0": "diamond_sword",
"4": "golden_apple"
}
}playerName — Player name for skin/head display
helmet/chestplate/leggings/boots — Armor slots
offhand — Offhand/shield slot
inventory — Main inventory slots 0-26 (3 rows of 9)
hotbar — Hotbar slots 0-8
Color Codes Reference
Use these codes in display names, lore, titles, and player list text.
Try It Out
Test all these endpoints interactively in the Playground.