Developer API Documentation

Integrate TextureHub directly into your mod loaders, launchers, or scripts. Explore our public REST and future GraphQL APIs.

Public & Rate-Limit FreeOur REST API is free to use for up to 60 requests per minute. No authentication token is required for read endpoints.
GET/api/packs
List Packs

Retrieve a list of texture packs. Supports optional query filters for keyword search, minecraft version, resolution grids, and categories.

Query Parameters
q (string)Keyword search term
version (string)Minecraft version (e.g. 1.21)
resolution (string)Resolution size (e.g. 16x, 64x)
category (string)Category style (e.g. pvp, realistic)
Sample Response Payload
[
  {
    "id": "f2b3c4...",
    "slug": "faithful-64x",
    "name": "Faithful 64x",
    "description": "Double-resolution default Minecraft textures.",
    "resolution": "64x",
    "downloads": 24530,
    "rating": 4.8
  }
]
GET/api/packs/[slug]
Get Details

Retrieves detailed metadata specifications for a single texture pack, including version downloads history and file hashes.

Sample Response Payload
{
  "name": "Specter PvP",
  "slug": "specter-pvp",
  "resolution": "32x",
  "downloads": 32150,
  "versions": [
    {
      "versionNumber": "v4.0.0",
      "minecraftVer": "1.21",
      "size": "24.5 MB",
      "sha256": "e75a98d3cb211823f9547d..."
    }
  ]
}