Resource

Enemy Types

Enemy classifications: common enemies, elites, normal bosses and weekly bosses. Each type lists its enemies.

4items
1filters
2sort fields

Endpoints

GET/api/v1/enemy-typesPaginated list
GET/api/v1/enemy-types/randomRandom item
GET/api/v1/enemy-types/{id or name}Single item

List

Returns a paginated list of enemy types in summary form.

Query parameters

ParameterDescription
limitItems per page (1-100, default 20)
offsetItems to skip (default 0)
sortOne of id, name. Prefix with - for descending.
namePartial match on the name
GET /api/v1/enemy-types?limit=2
{
  "count": 4,
  "next": "https://cdn.genshin-api.com/api/v1/enemy-types?limit=2&offset=2",
  "previous": null,
  "results": [
    {
      "id": 1,
      "slug": "common-enemies",
      "name": "Common Enemies",
      "url": "https://cdn.genshin-api.com/api/v1/enemy-types/common-enemies",
      "icon": null
    },
    {
      "id": 2,
      "slug": "elite-enemies",
      "name": "Elite Enemies",
      "url": "https://cdn.genshin-api.com/api/v1/enemy-types/elite-enemies",
      "icon": null
    }
  ]
}

Single item

Returns the full details of one item, by numeric id or by name. Arrays in the example below are shortened.

Fields

FieldType
idnumber
slugstring
namestring
urlstring
imagesobject
enemiesReference[]
GET /api/v1/enemy-types/weekly-bosses
{
  "id": 4,
  "slug": "weekly-bosses",
  "name": "Weekly Bosses",
  "url": "https://cdn.genshin-api.com/api/v1/enemy-types/weekly-bosses",
  "images": {},
  "enemies": [
    {
      "id": 70,
      "slug": "andrius",
      "name": "Andrius",
      "url": "https://cdn.genshin-api.com/api/v1/enemies/andrius"
    },
    {
      "id": 71,
      "slug": "stormterror-dvalin",
      "name": "Stormterror Dvalin",
      "url": "https://cdn.genshin-api.com/api/v1/enemies/stormterror-dvalin"
    }
  ]
}

Random

Returns one random item with the same shape as the single item endpoint. Accepts name.

Try it

GETcdn.genshin-api.com