Documentation

API Wiki

Complete reference for all Minecraft Item API endpoints.

Base URL

https://api.minecraftitems.xyz

Items

GET/api/item/:itemName

Render an item or block image

Parameters

itemNamepathItem ID (e.g., diamond_sword)
sizepathSize multiplier (e.g., size=4)
rotationpathRotation: left or right
bgpathBackground color (e.g., bg=white)
rpqueryResource pack ID
cmdqueryCustom model data
glintqueryEnchantment glint (true/false)
apiKeyqueryAPI key (for resource packs)

Example

/api/item/diamond_sword/size=4/left
Returns: PNG image
POST/api/share

Create a shareable item link

Request Body

apiKey*Your API key
itemName*Item ID
scaleSize multiplier (default: 1)
rotationRotation in degrees
backgroundColorHex color or 'transparent'
resourcePackIdResource pack ID
customModelDataCMD value
glintEnchantment glint
Returns: JSON with shareable URL

Rotating GIFs

POST/api/item/gif/direct

Generate a rotating item GIF (returns GIF directly)

Request Body

itemName*Item ID
framesNumber of frames (8-72, default: 36)
speedFrame delay in ms (20-200, default: 50)
scaleOutput size multiplier (1-8, default: 2)
itemScaleItem size (0.1-5.0, default: 1.0)
zoomCamera distance (5-100, default: 30)
tiltX-axis tilt (-90 to 90, default: -20)
renderScaleResolution (128-1024, default: 512)
backgroundColor'transparent' or hex color
glintEnchantment glint (default: false)
resourcePackIdResource pack ID
customModelDataCMD value
Returns: GIF image
POST/api/item/gif

Generate a rotating item GIF (returns shareable URL)

Request Body

apiKey*Your API key
itemName*Item ID
...Same options as /api/item/gif/direct
Returns: JSON with shareable URL

GUI Rendering

POST/api/gui

Render a chest/container GUI

Parameters

rowsqueryNumber of rows (1-6)
scalequeryScale multiplier (1-10)
rpqueryResource pack ID

Request Body

titleGUI title text
items*Object mapping slot index to item

Example

{ "title": "My Chest", "items": { "0": "diamond_sword", "1": "golden_apple" } }
Returns: PNG image
POST/api/gui/share

Create a shareable GUI link

Request Body

apiKey*Your API key
titleGUI title
items*Slot items object
rowsNumber of rows (default: 6)
scaleScale (default: 2)
Returns: JSON with shareable URL

Player Inventory

POST/api/gui/player

Render a player inventory screen

Parameters

scalequeryScale multiplier (1-10)
rpqueryResource pack ID

Request Body

playerNamePlayer name for skin
helmetHelmet item
chestplateChestplate item
leggingsLeggings item
bootsBoots item
offhandOffhand item
inventoryInventory slots object
hotbarHotbar slots object
Returns: PNG image
POST/api/gui/player/share

Create a shareable player inventory link

Request Body

apiKey*Your API key
...Same options as /api/gui/player
Returns: JSON with shareable URL

Player List

POST/api/playerlist

Render a server player list

Request Body

players*Array of player names or objects
maxMax players (default: 100)
ipServer IP to display
scaleScale (default: 2)

Example

{ "players": ["Steve", {"name": "Alex", "text": "§6Alex §7[VIP]", "ping": 50}], "ip": "play.server.com" }
Returns: PNG image
POST/api/playerlist/share

Create a shareable player list link

Request Body

apiKey*Your API key
...Same options as /api/playerlist
Returns: JSON with shareable URL

Tooltips

POST/api/tooltip

Render an item tooltip

Request Body

itemName*Item ID
displayNameCustom display name (supports color codes)
raritycommon, uncommon, rare, epic, legendary
loreArray of lore lines
enchantmentsArray of enchantments (e.g., 'Sharpness:5')
unbreakableUnbreakable flag
scaleScale (1-10, default: 2)

Example

{ "itemName": "diamond_sword", "displayName": "§6Legendary Blade", "lore": ["§7A powerful sword"], "enchantments": ["Sharpness:5"] }
Returns: PNG image
POST/api/tooltip/share

Create a shareable tooltip link

Request Body

apiKey*Your API key
...Same options as /api/tooltip
Returns: JSON with shareable URL

Item + Tooltip

POST/api/itemtooltip

Render item with tooltip side-by-side

Request Body

itemName*Item ID
displayNameCustom display name
rarityRarity level
loreArray of lore lines
enchantmentsArray of enchantments
scaleScale (default: 2)
glintOverrideForce glint on/off
resourcePackIdResource pack ID
customModelDataCMD value
Returns: PNG image
POST/api/itemtooltip/share

Create a shareable item+tooltip link

Request Body

apiKey*Your API key
...Same options as /api/itemtooltip
Returns: JSON with shareable URL

Setup & Resource Packs

POST/api/setup

Create a new API key

Request Body

username*Your username
Returns: JSON with API key (save immediately!)
POST/api/setup/resourcepack

Upload a resource pack

Parameters

apiKeyqueryYour API key (required)

Request Body

packName*Name for your pack
downloadUrl*URL to download the .zip file
Returns: JSON with pack ID
GET/api/resourcepack/:packId

Check resource pack processing status

Parameters

packIdpathThe pack ID from upload
apiKeyqueryYour API key (required)
Returns: JSON with status

Stats

GET/api/stats

Get API usage statistics

Returns: JSON with stats

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.

§0 Black§1 Dark Blue§2 Dark Green§3 Dark Aqua§4 Dark Red§5 Purple§6 Gold§7 Gray§8 Dark Gray§9 Blue§a Green§b Aqua§c Red§d Pink§e Yellow§f White
§l Bold§o Italic§n Underline§m Strike§r Reset

Try It Out

Test all these endpoints interactively in the Playground.