Axie GraphQL Docs

GetAxieDetail

GetAxieDetail

Fetches Axie details based on the provided ID.

Endpoint (Updated)

https://graphql-gateway.axieinfinity.com/graphql

Body

You can modify the query string to include fields that you want to be included or not. Refer to the GraphQL Schema below for a full overview.

{
"operationName": "GetAxieDetail",
"variables": {
"axieId": "1621247"
},
"query": "query GetAxieDetail($axieId: ID!) {\n axie(axieId: $axieId) {\n ...AxieDetail\n __typename\n }\n}\n\nfragment AxieDetail on Axie {\n id\n image\n class\n chain\n name\n genes\n owner\n birthDate\n bodyShape\n class\n sireId\n sireClass\n matronId\n matronClass\n stage\n title\n breedCount\n level\n figure {\n atlas\n model\n image\n __typename\n }\n parts {\n ...AxiePart\n __typename\n }\n stats {\n ...AxieStats\n __typename\n }\n auction {\n ...AxieAuction\n __typename\n }\n ownerProfile {\n name\n __typename\n }\n battleInfo {\n ...AxieBattleInfo\n __typename\n }\n children {\n id\n name\n class\n image\n title\n stage\n __typename\n }\n __typename\n}\n\nfragment AxieBattleInfo on AxieBattleInfo {\n banned\n banUntil\n level\n __typename\n}\n\nfragment AxiePart on AxiePart {\n id\n name\n class\n type\n specialGenes\n stage\n abilities {\n ...AxieCardAbility\n __typename\n }\n __typename\n}\n\nfragment AxieCardAbility on AxieCardAbility {\n id\n name\n attack\n defense\n energy\n description\n backgroundUrl\n effectIconUrl\n __typename\n}\n\nfragment AxieStats on AxieStats {\n hp\n speed\n skill\n morale\n __typename\n}\n\nfragment AxieAuction on Auction {\n startingPrice\n endingPrice\n startingTimestamp\n endingTimestamp\n duration\n timeLeft\n currentPrice\n currentPriceUSD\n suggestedPrice\n seller\n listingIndex\n state\n __typename\n}\n"
}
Full GraphQL Query Schema

 

query GetAxieDetail($axieId: ID!) {
axie(axieId: $axieId) {
...AxieDetail
__typename
}
}
fragment AxieDetail on Axie {
id
image
class
chain
name
genes
owner
birthDate
bodyShape
class
sireId
sireClass
matronId
matronClass
stage
title
breedCount
level
figure {
atlas
model
image
__typename
}
parts {
...AxiePart
__typename
}
stats {
...AxieStats
__typename
}
auction {
...AxieAuction
__typename
}
ownerProfile {
name
__typename
}
battleInfo {
...AxieBattleInfo
__typename
}
children {
id
name
class
image
title
stage
__typename
}
__typename
}
fragment AxieBattleInfo on AxieBattleInfo {
banned
banUntil
level
__typename
}
fragment AxiePart on AxiePart {
id
name
class
type
specialGenes
stage
abilities {
...AxieCardAbility
__typename
}
__typename
}
fragment AxieCardAbility on AxieCardAbility {
id
name
attack
defense
energy
description
backgroundUrl
effectIconUrl
__typename
}
fragment AxieStats on AxieStats {
hp
speed
skill
morale
__typename
}
fragment AxieAuction on Auction {
startingPrice
endingPrice
startingTimestamp
endingTimestamp
duration
timeLeft
currentPrice
currentPriceUSD
suggestedPrice
seller
listingIndex
state
__typename
}

Variables

Brief overview of the variable fields for this operation

VariableRequiredData Type
axieIdYesString

Refer to the succeeding sections for more details about the variables and their valid values

AxieID

ID number of the given Axie.

Any valid ID of an existing Axie in the game.

Edit this page on GitHub