AniList · Schema

PageInfo

PageInfo schema from AniList GraphQL API v2

AnimeMangaEntertainmentMediaSocialDatabaseGraphQLOAuth2Public APIs

Properties

Name Type Description
total integer The total number of items. Note: This value is not guaranteed to be accurate, do not rely on this for logic
perPage integer The count on a page
currentPage integer The current page
lastPage integer The last page
hasNextPage boolean If there is another page
View JSON Schema on GitHub

JSON Schema

anilist-pageinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-schema/anilist-pageinfo-schema.json",
  "title": "PageInfo",
  "description": "PageInfo schema from AniList GraphQL API v2",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "The total number of items. Note: This value is not guaranteed to be accurate, do not rely on this for logic"
    },
    "perPage": {
      "type": "integer",
      "description": "The count on a page"
    },
    "currentPage": {
      "type": "integer",
      "description": "The current page"
    },
    "lastPage": {
      "type": "integer",
      "description": "The last page"
    },
    "hasNextPage": {
      "type": "boolean",
      "description": "If there is another page"
    }
  }
}