HyAssets

API Documentation

The HyAssets API is a free, public, read-only REST API serving metadata and CDN URLs for 4,293 Hytale item assets. No authentication, no rate limits, permissive CORS — built for tools, mods and bots.

Base URL

All endpoints are relative to this origin:

Base URL
https://hyassets.dev/api/v1

Endpoints

MethodEndpoint
GET/api/v1/items
GET/api/v1/items/{id}
GET/api/v1/categories
GET/api/v1/random?count=12
GET/api/v1/players/{username}
GET/api/v1/mobs
GET/api/v1/cosmetics
GET/api/v1/render
GET/api/v1/stats
GET/api/v1/health

Examples

Fetch the second page of weapons, 24 per page:

curl "https://hyassets.dev/api/v1/items?category=weapon&page=2&limit=24"

Search by name:

curl "https://hyassets.dev/api/v1/items?q=sword"

Get one item and read its CDN URL (JavaScript):

const res = await fetch("https://hyassets.dev/api/v1/items/arcade-machine");
const item = await res.json();
console.log(item.cdn_url);   // full-resolution PNG on the CDN
console.log(item.thumb_url); // WebP thumbnail

Filter by rarity and craftability, sort by item level:

curl "https://hyassets.dev/api/v1/items?quality=Legendary&craftable=true&sort=-level"

A single item includes its crafting recipe & rarity:

curl "https://hyassets.dev/api/v1/items/arcade-machine"
# → { display_name, quality, item_level, recipe: { inputs:[{name, quantity, id, thumb_url}], bench, time_seconds }, used_in: [...] }

Look up a player's skin by username:

curl "https://hyassets.dev/api/v1/players/Simon"
# → { uuid, renders: { avatar, bust, body }, skin: { haircut, cape, … } }

Using the CDN

Every item is served directly from the edge CDN with long-livedimmutablecaching and open CORS. Embed an item anywhere:

<img src="https://hyassets.dev/cdn/<category>/<id>.png" alt="Hytale item" />

Item icons are 64×64 pixel art — scale them up withimage-rendering: pixelatedto keep crisp edges.

Item response shape

{
  "id": "arcade-machine",
  "name": "Iron Sword",
  "category": "weapon",
  "format": "PNG",
  "width": 64,
  "height": 64,
  "aspect_ratio": 1.0,
  "size_bytes": 3840,
  "tags": ["weapon", "sword", "iron"],
  "cdn_url": "https://hyassets.dev/cdn/weapon/arcade-machine.png",
  "thumb_url": "https://hyassets.dev/thumbs/arcade-machine.webp",
  "api_url": "https://hyassets.dev/api/v1/items/arcade-machine"
}