Axie GraphQL Docs

GetParentsBrief

GetParentsBrief

Fetches details of two parent Axies.

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": "GetParentsBrief",
"variables": {
"matronId": "1316795",
"sireId": "1316802"
},
"query": "query GetParentsBrief($matronId: ID!, $sireId: ID!) {\n matron: axie(axieId: $matronId) {\n ...AxieBrief\n __typename\n }\n sire: axie(axieId: $sireId) {\n ...AxieBrief\n __typename\n }\n}\n\nfragment AxieBrief on Axie {\n id\n name\n stage\n class\n breedCount\n image\n title\n battleInfo {\n banned\n __typename\n }\n auction {\n currentPrice\n currentPriceUSD\n __typename\n }\n parts {\n id\n name\n class\n type\n specialGenes\n __typename\n }\n __typename\n}\n"
}
Full GraphQL Query Schema

 

query GetParentsBrief($matronId: ID!, $sireId: ID!) {
matron: axie(axieId: $matronId) {
...AxieBrief
__typename
}
sire: axie(axieId: $sireId) {
...AxieBrief
__typename
}
}
fragment AxieBrief on Axie {
id
name
stage
class
breedCount
image
title
battleInfo {
banned
__typename
}
auction {
currentPrice
currentPriceUSD
__typename
}
parts {
id
name
class
type
specialGenes
__typename
}
__typename
}

Variables

Brief overview of the variable fields for this operation

VariableRequiredData Type
matronIdYesString
sireIdYesString

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

MatronID

ID of the Matron Axie.

Any valid ID of an existing Axie in the game.

SireID

ID of the Sire Axie.

Any valid ID of an existing Axie in the game.

Edit this page on GitHub