Demon Slayer API

DOCUMENTATION

Here you can find all the documentation related to the API and find out the resources you can get with the different queries.The base URL is https://demonslayerapi.com/api/v1 and contains information about the available API's resources. All requests are GET requests and go over https. All responses will return data in json.Below you can find all the information with the routes and parameters you can use. Also, you can check each endpoint with Swagger.

Get characters List

Endpoint: https://www.demonslayer-api.com/api/v1/characters
This Endpoint will return a paged list with the 45 Demon Slayer characters from the API. The limit is 5 by default.
Query parameters:
page Return 5 characters from the corresponding specified page. Example: https://www.demonslayer-api.com/api/v1/characters?page=6
limit Return that specific quantity of characters. Example: https://www.demonslayer-api.com/api/v1/characters?limit=3
page&limit Return the character list with the limit and page specified. Example: https://www.demonslayer-api.com/api/v1/characters?limit=3&page=6

Get character

Endpoint: https://www.demonslayer-api.com/api/v1/characters?id={id} or name={name}
This Endpoint will return a single character from the API.
Query parameters:
id Return the character with the unique id value. Example: https://www.demonslayer-api.com/api/v1/characters?id=30
name Return the character with similar name to the value. Example: https://www.demonslayer-api.com/api/v1/characters?name=rengoku

Get Combat Styles List

Endpoint: https://www.demonslayer-api.com/api/v1/combat-styles
This Endpoint will return a paged list with the 39 combat styles from the API. The limit is 5 by default.
Query parameters:
page Return 5 Combat Styles from the corresponding specified page. Example: https://www.demonslayer-api.com/api/v1/combat-styles?page=3
limit Return that specific quantity of Combat Styles. Example: https://www.demonslayer-api.com/api/v1/combat-styles?limit=3
page&limit Return the Combat Style list with the limit and page specified. Example: https://www.demonslayer-api.com/api/v1/combat-styles?limit=3&page=6

Get Combat Style

Endpoint: https://www.demonslayer-api.com/api/v1/combat-styles?id={id} or name={name}
This Endpoint will return the combat styles that matches with the name or id.
Query parameters:
id Return the Combat Style with the unique id value. Example: https://www.demonslayer-api.com/api/v1/combat-styles?id=20
name Return the Combat Styles with similar name to the value. Example: https://www.demonslayer-api.com/api/v1/combat-styles?name=flame
Characters: 45 Combat Styles: 39
Server Status: 🟢
+
< > by Alvaro Rodriguez 2024