PageInfo is a JSON Structure definition published by AniList, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-structure/anilist-pageinfo-structure.json",
"name": "PageInfo",
"description": "PageInfo schema from AniList GraphQL API v2",
"type": "object",
"properties": {
"total": {
"type": "int32",
"description": "The total number of items. Note: This value is not guaranteed to be accurate, do not rely on this for logic"
},
"perPage": {
"type": "int32",
"description": "The count on a page"
},
"currentPage": {
"type": "int32",
"description": "The current page"
},
"lastPage": {
"type": "int32",
"description": "The last page"
},
"hasNextPage": {
"type": "boolean",
"description": "If there is another page"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.