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 listGET
/api/v1/domain-types/randomRandom itemGET
/api/v1/domain-types/{id or name}Single itemList
Returns a paginated list of domain types in summary form.
Query parameters
| Parameter | Description |
|---|---|
limit | Items per page (1-100, default 20) |
offset | Items to skip (default 0) |
sort | One of id, name. Prefix with - for descending. |
name | Partial match on the name |
{
"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
| Field | Type |
|---|---|
id | number |
slug | string |
name | string |
url | string |
category | string |
description | string |
images | object |
domains | Reference[] |
{
"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.