Resource

Domain Types

Domain types such as Domains of Blessing, Forgery or Mastery, Trounce Domains, One-Time Domains and Quest Domains. Each type lists its domains.

6items
1filters
2sort fields

Endpoints

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

List

Returns a paginated list of domain 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/domain-types?limit=2
{
  "count": 6,
  "next": "https://cdn.genshin-api.com/api/v1/domain-types?limit=2&offset=2",
  "previous": null,
  "results": [
    {
      "id": 1,
      "slug": "domains-of-blessing",
      "name": "Domains of Blessing",
      "url": "https://cdn.genshin-api.com/api/v1/domain-types/domains-of-blessing",
      "category": "Permanent Domains",
      "icon": null
    },
    {
      "id": 2,
      "slug": "domains-of-forgery",
      "name": "Domains of Forgery",
      "url": "https://cdn.genshin-api.com/api/v1/domain-types/domains-of-forgery",
      "category": "Permanent Domains",
      "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
categorystring
descriptionstring
imagesobject
domainsReference[]
GET /api/v1/domain-types/domains-of-forgery
{
  "id": 2,
  "slug": "domains-of-forgery",
  "name": "Domains of Forgery",
  "url": "https://cdn.genshin-api.com/api/v1/domain-types/domains-of-forgery",
  "category": "Permanent Domains",
  "description": "Domains of Forgery award Weapon Ascension Materials. These materials can be used to ascend weapons to increase their stats and max level. Players must reach Adventure Rank 16 or complete For a Tomorrow Without Tears to unlock the entrances to these domains.",
  "images": {},
  "domains": [
    {
      "id": 6,
      "slug": "cecilia-garden",
      "name": "Cecilia Garden",
      "url": "https://cdn.genshin-api.com/api/v1/domains/cecilia-garden"
    },
    {
      "id": 7,
      "slug": "hidden-palace-of-lianshan-formula",
      "name": "Hidden Palace of Lianshan Formula",
      "url": "https://cdn.genshin-api.com/api/v1/domains/hidden-palace-of-lianshan-formula"
    }
  ]
}

Random

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

Try it

GETcdn.genshin-api.com