Resource

Enemy Groups

Enemy groups inside a family, such as Samachurls or Abyss Mages. Each group lists its family and its enemies.

55items
2filters
2sort fields

Endpoints

GET/api/v1/enemy-groupsPaginated list
GET/api/v1/enemy-groups/randomRandom item
GET/api/v1/enemy-groups/{id or name}Single item

List

Returns a paginated list of enemy groups 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
familyEnemy family slug. Comma-separated values allowed.
GET /api/v1/enemy-groups?limit=2
{
  "count": 55,
  "next": "https://cdn.genshin-api.com/api/v1/enemy-groups?limit=2&offset=2",
  "previous": null,
  "results": [
    {
      "id": 1,
      "slug": "slimes",
      "name": "Slimes",
      "url": "https://cdn.genshin-api.com/api/v1/enemy-groups/slimes",
      "family": {
        "id": 1,
        "slug": "elemental-lifeforms",
        "name": "Elemental Lifeforms",
        "url": "https://cdn.genshin-api.com/api/v1/enemy-families/elemental-lifeforms"
      },
      "icon": null
    },
    {
      "id": 2,
      "slug": "samachurls",
      "name": "Samachurls",
      "url": "https://cdn.genshin-api.com/api/v1/enemy-groups/samachurls",
      "family": {
        "id": 2,
        "slug": "hilichurls",
        "name": "Hilichurls",
        "url": "https://cdn.genshin-api.com/api/v1/enemy-families/hilichurls"
      },
      "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
familyReference
imagesobject
enemiesReference[]
GET /api/v1/enemy-groups/samachurls
{
  "id": 2,
  "slug": "samachurls",
  "name": "Samachurls",
  "url": "https://cdn.genshin-api.com/api/v1/enemy-groups/samachurls",
  "family": {
    "id": 2,
    "slug": "hilichurls",
    "name": "Hilichurls",
    "url": "https://cdn.genshin-api.com/api/v1/enemy-families/hilichurls"
  },
  "images": {},
  "enemies": [
    {
      "id": 16,
      "slug": "anemo-samachurl",
      "name": "Anemo Samachurl",
      "url": "https://cdn.genshin-api.com/api/v1/enemies/anemo-samachurl"
    },
    {
      "id": 18,
      "slug": "dendro-samachurl",
      "name": "Dendro Samachurl",
      "url": "https://cdn.genshin-api.com/api/v1/enemies/dendro-samachurl"
    }
  ]
}

Random

Returns one random item with the same shape as the single item endpoint. Accepts name and every list filter.

Try it

GETcdn.genshin-api.com