Classes Route

Introduction

This route fetches a list of the initial classes that can be selected in Elden Ring's character creation, and outputs that in JSON format. The user can define his own pagination and also use search queries to find the desired output.

Schema

ATTRIBUTETYPEDESCRIPTION
idstringId of the class
namestringName of the class
imagestringImage URL of the class character using the initial equipment provided
descriptionstringShort description of the class
stats{ level: string, vigor: string, mind: string, endurance: string, strength: string, dexterity: string, intelligence: string, faith: string, arcane: string}Initial stats of the class

Sample Result

{
success: true,
count: 2,
data: [{
id: "17f69d71826l0i32gkm3ndn3kywxqj",
name: "Hero",
image: "https://eldenring.fanapis.com/images/classes/17f69d71826l0i32gkm3ndn3kywxqj.png",
description: "A stalwart Hero, at home with a battleaxe, descended from a badlands chieftain",
stats: {
level: "7",
vigor: "14",
mind: "9",
endurance: "12",
strength: "16",
dexterity: "9",
inteligence: "7",
faith: "8",
arcane: "11"
}
},
{
id: "17f69b2dd76l0i32gljr3f62pkzhjo",
name: "Warrior",
image: "https://eldenring.fanapis.com/images/classes/17f69b2dd76l0i32gljr3f62pkzhjo.png",
description: "A twinblade wielding warrior from a nomadic tribe. An origin of exceptional technique",
stats: {
level: "8",
vigor: "11",
mind: "12",
endurance: "11",
strength: "10",
dexterity: "16",
inteligence: "10",
faith: "8",
arcane: "9"
}
}
]
}

Route

METHODURLDESCRIPTION
GEThttps://eldenring.fanapis.com/api/classesThis route retrieves a list of all the classes in Elden Ring.
GEThttps://eldenring.fanapis.com/api/classes/:class_idThis route retrieves one Elden Ring class using its ID.

Parameters

This route supports the following parameters:

Parameterdefault valueExample URLDESCRIPTION
limit20https://eldenring.fanapis.com/api/classes?limit=100This parameter is used to set the maximum amount of items in the response
page0https://eldenring.fanapis.com/api/classes?limit=20&page=3This parameter is used no navigate between pages of results
namenonehttps://eldenring.fanapis.com/api/classes?name=HeroThis parameter is used to search for fields by their names