Creatures 请求路由

简介

This route fetches a list of all creatures that can be encountered in Elden Ring, and outputs that in JSON format. The user can define his own pagination and also use search queries to find the desired output.

响应

参数名称类型描述
idstringId of the creature
namestringName of the creature
imagestringImage URL of the creature
descriptionstringShort description of the creature
locationstringWhere this creature can be found
dropsstring[]What items and resources this creature drops

响应示例

{
success: true,
count: 2,
data: [{
id: "17f6a3ceea8l0i6yrr9i9li6sityc",
name: "Arcane Sphere Of Faces",
image: "https://eldenring-api.vercel.app/images/creatures/17f6a3ceea8l0i6yrr9i9li6sityc.png",
description: "Safeguard of the Witchbane Ruins' basement cellar. Mysteriously rare and highly unconventional.",
location: "Witchbane Ruins",
drops: [
"None"
]
},
{
id: "17f6a0bda2cl0i6yrtkvf0vjp9puf",
name: "Giant Bat",
image: "https://eldenring-api.vercel.app/images/creatures/17f6a0bda2cl0i6yrtkvf0vjp9puf.png",
description: "The Giant Bats of Limgrave are nocturnal creatures and often rest during the day, unless they are disturbed.",
location: "Near the cliffs on Western Limgrave.",
drops: [
"Gold Firefly"
]
}
]
}

请求路由

请求方法URL描述
GEThttps://eldenring-api.vercel.app/api/creaturesThis route retrieves a list of all the creatures of Elden Ring.
GEThttps://eldenring-api.vercel.app/api/creatures/:creature_idThis route retrieves one Elden Ring creature using its ID.

请求参数

This route supports the following 请求参数:

参数名称默认值示例URL描述
limit20https://eldenring-api.vercel.app/api/creatures?limit=100This parameter is used to set the maximum amount of items in the response
page0https://eldenring-api.vercel.app/api/creatures?limit=20&page=3This parameter is used no navigate between pages of results
namenonehttps://eldenring-api.vercel.app/api/creatures?name=Giant%20BatThis parameter is used to search for fields by their names