Introduction

About

This page holds all the information about the Gennai API, an API about the Digimon franchise that uses GraphQL.

For each data type, it describes its schema, examples of how to query it and more specific details regarding each one.

New to GraphQL? More information can be found here.

All of the data gathered here was found on Wikimon and the Digimon Reference Book.

Endpoint

The endpoint used to fetch data from Gennai API is as follows:

https://gennai.herokuapp.com/graphql

Playground

Gennai API has its own playground. There you can test any queries about whatever you want. It can be found here.

Gennai Node

If you are using the Node.js enviroment, I recommend checking the Gennai Node.

It is an official, modular and light library made exclusively for fetching data from Gennai API. More information about Gennai Node can be found here.

Attribute

Schema

propertydescriptiontype
idIdentifier of the attributeInteger
nameName of the attributeString
symbolSymbol of the attributeString
descriptionDescription of the attributeString
strongList of attributes that this attribute is stronger againstList of Attribute
weakList of attributes that this attribute is weaker againstList of Attribute
digimonList of digimon that belongs to the rankList of Digimon

Get all attributes

query GetAllAttributes {
  getAttributes {
    id
    name
    symbol
    description
  }
}

Get specific attribute

# Using the attribute identifier 
query GetOneAttributeById {
  getAttributeById(id: 1) {
    id
    name
    symbol
    description
  }
}

# Using the attribute name 
query GetOneAttributeById {
  getAttributeByName(name: "teste") {
    id
    name
    symbol
    description
  }
}

Character

Schema

propertydescriptiontype
idIdentifier of the characterInteger
nameName of the characterString
isDigiDestinedTrue if the character is a digiDestined, false if notBoolean
moviesList of movies that the character appearsList of Movie
seriesList of series that the character appearsList of Series
episodesList of episodes that the character appearsList of Episode
crestsList of crests that the character hasList of Crest
spiritsList of spirits that belongs to the characterList of Spirit
digivicesList of digivices that belongs to the characterList of Digivice
digimentalsList of digimentals that belongs to the characterList of Digimental
partnersList of digimon partners that belongs to the characterList of Digimon
universesList of universes that the character appearsList of Universe
otherNamesList of different names that the character haveList of CharacterName

Get all characters

query GetAllCharacters {
  getCharacters {
    id
    name
    isDigiDestined
  }
}

Get specific character

# Using the character identifier 
query GetOneCharacterById {
  getCharacterById(id: 1) {
    id
    name
    isDigiDestined
  }
}

# Using the character name 
query GetOneCharacterById {
  getCharacterByName(name: "teste") {
    id
    name
    isDigiDestined
  }
}

Crest

Schema

propertydescriptiontype
idIdentifier of the crestInteger
nameName of the crestString
descriptionDescription of the crestString
digiDestinedsList of characters that owns the crestList of Character
digimentalDigimental whom belongsDigimental
digimentalIdIdentifier of the digimental whom belongsInteger

Get all crests

query GetAllCrests {
  getCrests {
    id
    name
    description
  }
}

Get specific crest

# Using the crest identifier 
query GetOneCrestById {
  getCrestById(id: 1) {
    id
    name
    description
  }
}

# Using the crest name 
query GetOneCrestById {
  getCrestByName(name: "teste") {
    id
    name
    description
  }
}

Digimental

Schema

propertydescriptiontype
idIdentifier of the digimentalInteger
nameName of the digimentalString
descriptionDescription of the digimentalString
attributeAttribute of the digimentalString
digiDestinedCharacter whom belongsCharacter
digiDestinedIdIdentifier of the character whom belongsInteger
digimonList of digimon that holds this digimentalList of Digimon
crestCrest created from this digimentalCrest

Get all digimentals

query GetAllDigimentals {
  getDigimentals {
    id
    name
    description
    attribute
  }
}

Get specific digimental

# Using the digimental identifier 
query GetOneDigimentalById {
  getDigimentalById(id: 1) {
    id
    name
    description
    attribute
  }
}

# Using the digimental name 
query GetOneDigimentalById {
  getDigimentalByName(name: "teste") {
    id
    name
    description
    attribute
  }
}

Digimon

Schema

propertydescriptiontype
idId of the digimonInteger
slugSlug of the digimonString
nameName of the digimonString
isJogressTrue if the digimon is a Jogress, false if notBoolean
hasXAntibodyTrue if the digimon has a X Antibody, false if notBoolean
rankRank of the digimonRank
rankIdId of the rank of the digimonInteger
attributeAttribute of the digimonAttribute
attributeIdId of the attribute of the digimonInteger
typeType of the digimonType
typeIdId of the type of the digimonInteger
digimentalDigimental of the digimonDigimental
digimentalIdId of the digimental of the digimonInteger
moviesList of movies that the digimon appearsList of Movie
seriesList of series that the digimon appearsList of Series
episodesList of episodes that the digimon appearsList of Episode
fieldsList of fields that the digimon belongsList of Field
spiritsList of spirits that the digimon containsList of Spirit
partnersList of partners that the digimon already hadList of Character
previousList of digimon that can envolve into the digimonList of Digimon
nextList of digimon that the digimon can envolve intoList of Digimon
groupsList of groups that the digimon belongs toList of DigimonGroup
otherNamesList of different names that the digimon haveList of DigimonName

Get all digimon

query GetAllDigimon {
  getDigimon {
    id
    slug
    name
    isJogress
    hasXAntibody
  }
}

Get specific digimon

# Using the digimon identifier 
query GetOneDigimonById {
  getDigimonById(id: 1) {
    id
    slug
    name
    isJogress
    hasXAntibody
  }
}

# Using the digimon name 
query GetOneDigimonById {
  getDigimonByName(name: "teste") {
    id
    slug
    name
    isJogress
    hasXAntibody
  }
}

Digimon Group

Schema

propertydescriptiontype
idIdentifier of the digimon groupInteger
nameName of the digimon groupString
descriptionDescription of the digimon groupString
digimonList of digimon that belongs to the groupList of Digimon

Get all digimon groups

query GetAllDigimonGroups {
  getDigimonGroups {
    id
    name
    description
  }
}

Get specific digimon Group

# Using the digimonGroup identifier 
query GetOneDigimonGroupById {
  getDigimonGroupById(id: 1) {
    id
    name
    description
  }
}

 Using the digimonGroup name 
query GetOneDigimonGroupById {
  getDigimonGroupByName(name: "teste") {
    id
    name
    description
  }
}

Digivice

Schema

propertydescriptiontype
idIdentifier of the digiviceInteger
digiDestinedCharacter whom belongsCharacter
digiDestinedIdIdentifier of the character whom belongsInteger
colorsList of colors of the digiviceList of String
typeType of the digiviceDigiviceType

Get all digivices

query GetAllDigivices {
  getDigivices {
    id
    colors
    type
  }
}

Get specific digivice

# Using the digivice identifier 
query GetOneDigiviceById {
  getDigiviceById(id: 1) {
    id
    colors
    type
  }
}

# Using the digivice identifier 
query GetOneDigiviceById {
  getDigiviceByName(name: "teste") {
    id
    colors
    type
  }
}

DigiviceType

CLASSICD_3D_ARK
D_SCANNERICBURST
DARKBIO_HYBRID
# Get all digivices by type 
query GetAllDigivicesByType {
  getDigivicesByType(type: CLASSIC) {
    id
    colors
    type
  }
}

# Get all digivice types 
query GetAllDigiviceTypes {
  getDigiviceTypes
}

Episode

Schema

propertydescriptiontype
idIdentifier of the episodeInteger
titleTitle of the episodeString
synopsisSynopsis of the episodeString
originalAirDateOriginal air date of the episodeDate
digimonList of digimon that appears in the episodeList of Digimon
charactersList of characters that appears in the episodeList of Character
seriesSeries whom belongsSeries
seriesIdIdentifier of the series whom belongsInteger

Get all episodes

query GetAllEpisodes {
  getEpisodes {
    id
    title
    synopsis
    originalAirDate
  }
}

Get specific episode

# Using the episode identifier 
query GetOneEpisodeById {
  getEpisodeById(id: 1) {
    id
    title
    synopsis
    originalAirDate
  }
}

# Using the episode title 
query GetOneEpisodeById {
  getEpisodeByTitle(title: "teste") {
    id
    title
    synopsis
    originalAirDate
  }
}

Field

Schema

propertydescriptiontype
idIdentifier of the fieldInteger
nameName of the fieldString
symbolSymbol of the fieldString
descriptionDescription of the fieldString
digimonList of digimon that belongs to the fieldList of Digimon

Get all fields

query GetAllFields {
  getFields {
    id
    name
    symbol
    description
  }
}

Get specific field

# Using the field identifier 
query GetOneFieldById {
  getFieldById(id: 1) {
    id
    name
    symbol
    description
  }
}

# Using the field name 
query GetOneFieldById {
  getFieldByName(name: "teste") {
    id
    name
    symbol
    description
  }
}

Movie

Schema

propertydescriptiontype
idIdentifier of the movieInteger
titleTitle of the movieString
synopsisSynopsis of the movieString
originalAirDateOriginal air date of the movieDate
digimonList of digimon that appears in the movieList of Digimon
charactersList of characters that appears in the movieList of Character
universeUniverse whom belongsUniverse
universeIdIdentifier of the universe whom belongsInteger

Get all movies

query GetAllMovies {
  getMovies {
    id
    title
    synopsis
    originalAirDate
  }
}

Get specific movie

# Using the movie identifier 
query GetOneMovieById {
  getMovieById(id: 1) {
    id
    title
    synopsis
    originalAirDate
  }
}

# Using the movie title 
query GetOneMovieById {
  getMovieByTitle(title: "teste") {
    id
    title
    synopsis
    originalAirDate
  }
}

Rank

Schema

propertydescriptiontype
idIdentifier of the rankInteger
nameName of the rankString
descriptionDescription of the rankString
digimonList of digimon that belongs to the rankList of Digimon

Get all ranks

query GetAllRanks {
  getRanks {
    id
    name
    description
  }
}

Get specific rank

# Using the rank identifier 
query GetOneRankById {
  getRankById(id: 1) {
    id
    name
    description
  }
}

# Using the rank name 
query GetOneRankById {
  getRankByName(name: "teste") {
    id
    name
    description
  }
}

Series

Schema

propertydescriptiontype
idIdentifier of the seriesInteger
titleTitle of the seriesString
synopsisSynopsis of the seriesString
originalAirDateOriginal air date of the seriesDate
episodesList of episodes that belongs to the seriesList of Episode
digimonList of digimon that appears in the seriesList of Digimon
charactersList of characters that appears in the seriesList of Character
universeUniverse whom belongsUniverse
universeIdIdentifier of the universe whom belongsInteger

Get all seriess

query GetAllSeries {
  getSeries {
    id
    title
    synopsis
    originalAirDate
  }
}

Get specific series

# Using the series identifier 
query GetOneSeriesById {
  getSeriesById(id: 1) {
    id
    title
    synopsis
    originalAirDate
  }
}

# Using the series title 
query GetOneSeriesById {
  getSeriesByTitle(title: "teste") {
    id
    title
    synopsis
    originalAirDate
  }
}

Spirit

Schema

propertydescriptiontype
idIdentifier of the spiritInteger
elementElement of the spiritSpiritElement
isHumanTrue if the spirit is human, false if the spirit is beastBoolean
digiDestinedCharacter whom belongsCharacter
digiDestinedIdIdentifier of the character whom belongsInteger
digimonDigimon whom belongsDigimon
digimonIdIdentifier of the digimon whom belongsInteger

Get all spirits

query GetAllSpirits {
  getSpirits {
    id
    element
    isHuman
  }
}

Get specific spirit

# Using the spirit identifier 
query GetOneSpiritById {
  getSpiritById(id: 1) {
    id
    element
    isHuman
  }
}

# Using the spirit identifier 
query GetOneSpiritById {
  getSpiritById(id: 1) {
    id
    element
    isHuman
  }
}

SpiritElement

FLAMELIGHTICE
WINDTHUNDEREARTH
WOODWATERSTEEL
DARKNESS
# Get all spirits by element 
query GetAllSpiritsByElement {
  getSpiritsByElement(element: FLAME) {
    id
    element
    isHuman
  }
}

# Get all spirit elements 
query GetAllSpiritElements {
  getSpiritElements
}

Type

Schema

propertydescriptiontype
idIdentifier of the typeInteger
nameName of the typeString
digimonList of digimon that belongs to the typeList of Digimon

Get all types

query GetAllTypes {
  getTypes {
    id
    name
  }
}

Get specific type

# Using the type identifier 
query GetOneTypeById {
  getTypeById(id: 1) {
    id
    name
  }
}

# Using the type name 
query GetOneTypeById {
  getTypeByName(name: "teste") {
    id
    name
  }
}

Universe

Schema

propertydescriptiontype
idIdentifier of the universeInteger
nameName of the universeString
seriesList of series that belongs to the universeList of Series
moviesList of movies that belongs to the universeList of Movie
charactersList of characters that appears in the universeList of Character

Get all universes

query GetAllUniverses {
  getUniverses {
    id
    name
  }
}

Get specific universe

# Using the universe identifier 
query GetOneUniverseById {
  getUniverseById(id: 1) {
    id
    name
  }
}

# Using the universe name 
query GetOneUniverseById {
  getUniverseByName(name: "teste") {
    id
    name
  }
}