{
  "openapi": "3.1.0",
  "info": {
    "title": "Anime API",
    "version": "1.0.0",
    "description": "24,000 anime titles with episodes, airing schedules, scores and genres, refreshed hourly.\n\nCatalogue of more than 24,000 anime titles with episodes, airing schedules, scores, genres and status, searchable by title and refreshed hourly. Look up a title by id or search the catalogue.",
    "contact": {
      "name": "Data and APIs",
      "url": "https://dataandapis.com/contact"
    },
    "termsOfService": "https://dataandapis.com/terms-of-service",
    "license": {
      "name": "Data and APIs Terms of Service",
      "url": "https://dataandapis.com/terms-of-service"
    },
    "x-logo": {
      "url": "https://dataandapis.com/images/anime.webp"
    }
  },
  "externalDocs": {
    "description": "Documentation, live tester and pricing",
    "url": "https://dataandapis.com/apis/anime"
  },
  "servers": [
    {
      "url": "https://anime.dataandapis.com"
    }
  ],
  "tags": [
    {
      "name": "Entertainment",
      "description": "Anime API belongs to the Entertainment category of the Data and APIs catalog."
    }
  ],
  "paths": {
    "/v1/anime": {
      "get": {
        "operationId": "anime",
        "summary": "Anime",
        "description": "Anime endpoint of the Anime API. Costs 2 tokens per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/anime/anime"
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "1"
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "10"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "items": [
                    {
                      "animeId": 1,
                      "name": "Shingeki no Kyojin: The Final Season - Kanketsu-hen",
                      "alternativeNames": {
                        "synonyms": [
                          "Shingeki no Kyojin"
                        ],
                        "japanese": "進撃の巨人 The Final Season完結編",
                        "english": "Attack on Titan"
                      },
                      "slug": "shingeki-no-kyojin-the-final-season-kanketsu-hen",
                      "description": "shingeki-no-kyojin-the-final-season-kanketsu-hen",
                      "background": null,
                      "image": "",
                      "status": "Not yet aired",
                      "locale": "en_US",
                      "episodes": "Unknown",
                      "aired": "Mar 4, 2023 to ?",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "None found, add some",
                      "studios": "MAPPA",
                      "demographic": "Shounen",
                      "duration": "Unknown",
                      "rating": "R - 17+ (violence & profanity)",
                      "related": {
                        "adaptation": [
                          "Shingeki no Kyojin"
                        ],
                        "prequel": [
                          "Shingeki no Kyojin"
                        ]
                      }
                    },
                    {
                      "animeId": 2,
                      "name": ".hack//G.U. Returner",
                      "alternativeNames": {
                        "japanese": ".HACK//G.U. RETURNER"
                      },
                      "slug": "hackgu-returner",
                      "description": "hackgu-returner",
                      "background": null,
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "1",
                      "aired": "Jan 18, 2007",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "None found, add some",
                      "studios": "Bee Train",
                      "demographic": "",
                      "duration": "24 min.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "alternative_version": [
                          ".hack//Sign"
                        ],
                        "parent_story": [
                          ".hack//Roots"
                        ],
                        "prequel": [
                          ".hack//G.U. Trilogy"
                        ]
                      }
                    },
                    {
                      "animeId": 3,
                      "name": ".hack//G.U. Trilogy",
                      "alternativeNames": {
                        "japanese": ".hack//G.U. Trilogy",
                        "english": ".hack//G.U. Trilogy",
                        "french": ".hack // G.U. Trilogy"
                      },
                      "slug": "hackgu-trilogy",
                      "description": "hackgu-trilogy",
                      "background": null,
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "1",
                      "aired": "Dec 22, 2007",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "Funimation, Bandai Entertainment",
                      "studios": "CyberConnect2",
                      "demographic": "",
                      "duration": "1 hr. 33 min.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "prequel": [
                          ".hack//Roots"
                        ],
                        "sequel": [
                          ".hack//G.U. Returner"
                        ],
                        "side_story": [
                          ".hack//G.U. Trilogy"
                        ],
                        "other": [
                          "Daitai 3-pun de Wakaru .hack History"
                        ]
                      }
                    },
                    {
                      "animeId": 4,
                      "name": ".hack//G.U. Trilogy: Parody Mode",
                      "alternativeNames": {
                        "japanese": ".hack//G.U. Trilogy",
                        "english": ".hack//G.U. Trilogy"
                      },
                      "slug": "hackgu-trilogy-parody-mode",
                      "description": "hackgu-trilogy-parody-mode",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "1",
                      "aired": "Mar 25, 2008",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "None found, add some",
                      "studios": "None found, add some",
                      "demographic": "",
                      "duration": "6 min.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "parent_story": [
                          ".hack//G.U. Trilogy"
                        ]
                      }
                    },
                    {
                      "animeId": 5,
                      "name": ".hack//Gift",
                      "alternativeNames": {
                        "japanese": ".hack//GIFT",
                        "english": ".hack//Gift"
                      },
                      "slug": "hackgift",
                      "description": "hackgift",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "1",
                      "aired": "Nov 16, 2003",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "Bandai Entertainment",
                      "studios": "Bee Train",
                      "demographic": "",
                      "duration": "26 min.",
                      "rating": "R+ - Mild Nudity",
                      "related": {
                        "parent_story": [
                          ".hack//Sign",
                          " .hack//Tasogare no Udewa Densetsu"
                        ]
                      }
                    },
                    {
                      "animeId": 6,
                      "name": ".hack//Intermezzo",
                      "alternativeNames": {
                        "synonyms": [
                          ".hack//Another Story",
                          ".hack//SIGN Episode 27"
                        ]
                      },
                      "slug": "hackintermezzo",
                      "description": "hackintermezzo",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "1",
                      "aired": "Mar 28, 2003",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "Bandai Entertainment",
                      "studios": "Bee Train",
                      "demographic": "",
                      "duration": "24 min.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "prequel": [
                          ".hack//Sign"
                        ]
                      }
                    },
                    {
                      "animeId": 7,
                      "name": ".hack//Liminality",
                      "alternativeNames": {
                        "synonyms": [
                          "Hack OVA"
                        ],
                        "japanese": ".hack//LIMINALITY",
                        "english": ".hack//Liminality"
                      },
                      "slug": "hackliminality",
                      "description": "hackliminality",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "4",
                      "aired": "Jun 20, 2002 to Apr 10, 2003",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "Bandai Entertainment",
                      "studios": "Bee Train",
                      "demographic": "",
                      "duration": "33 min. per ep.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "alternative_setting": [
                          ".hack//Sign"
                        ]
                      }
                    },
                    {
                      "animeId": 8,
                      "name": ".hack//Quantum",
                      "alternativeNames": {
                        "japanese": ".hack//Quantum"
                      },
                      "slug": "hackquantum",
                      "description": "hackquantum",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "3",
                      "aired": "Jan 28, 2011 to Apr 7, 2011",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "Funimation",
                      "studios": "Kinema Citrus",
                      "demographic": "",
                      "duration": "26 min. per ep.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "adaptation": [
                          ".hack//Quantum+"
                        ],
                        "other": [
                          ".hack//Sign",
                          " .hack//Tasogare no Udewa Densetsu",
                          " .hack//Roots"
                        ],
                        "side_story": [
                          ".hack//Quantum"
                        ]
                      }
                    },
                    {
                      "animeId": 9,
                      "name": ".hack//Quantum: Sore ike! Bokura no Chimuchimu-chan!!",
                      "alternativeNames": {
                        "synonyms": [
                          ".hack//Quantum Specials"
                        ],
                        "japanese": ".hack//Quantum 映像特典 それいけ！ぼくらのチムチムちゃん！！",
                        "english": ".hack//Quantum"
                      },
                      "slug": "hackquantum-sore-ike-bokura-no-chimuchimu-chan",
                      "description": "hackquantum-sore-ike-bokura-no-chimuchimu-chan",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "3",
                      "aired": "Jan 28, 2011 to Apr 7, 2011",
                      "premiered": "",
                      "broadcast": "",
                      "licensors": "None found, add some",
                      "studios": "Kinema Citrus",
                      "demographic": "",
                      "duration": "3 min. per ep.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "parent_story": [
                          ".hack//Quantum"
                        ]
                      }
                    },
                    {
                      "animeId": 10,
                      "name": ".hack//Roots",
                      "alternativeNames": {
                        "japanese": ".hack//Roots",
                        "english": ".hack//roots"
                      },
                      "slug": "hackroots",
                      "description": "hackroots",
                      "background": "",
                      "image": "",
                      "status": "Finished Airing",
                      "locale": "en_US",
                      "episodes": "26",
                      "aired": "Apr 6, 2006 to Sep 28, 2006",
                      "premiered": "Spring 2006",
                      "broadcast": "Thursdays at 01",
                      "licensors": "Funimation, Bandai Entertainment",
                      "studios": "Bee Train",
                      "demographic": "",
                      "duration": "24 min. per ep.",
                      "rating": "PG-13 - Teens 13 or older",
                      "related": {
                        "prequel": [
                          ".hack//Sign",
                          " .hack//Tasogare no Udewa Densetsu"
                        ],
                        "sequel": [
                          ".hack//G.U. Trilogy"
                        ],
                        "other": [
                          ".hack//Quantum"
                        ]
                      }
                    }
                  ],
                  "meta": {
                    "totalItems": 1006,
                    "itemCount": 10,
                    "itemsPerPage": 10,
                    "totalPages": 101,
                    "currentPage": 1
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1/anime/{id}": {
      "get": {
        "operationId": "getAnimeById",
        "summary": "Get Anime By Id",
        "description": "Get Anime By Id endpoint of the Anime API. Costs 2 tokens per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/anime/get-anime-by-id"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "19"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "animeId": 19,
                  "name": "0-sen Hayato",
                  "alternativeNames": {
                    "synonyms": [
                      "Zero-sen Hayato"
                    ]
                  },
                  "slug": "0-sen-hayato",
                  "description": "0-sen-hayato",
                  "background": "",
                  "image": "",
                  "status": "Finished Airing",
                  "locale": "en_US",
                  "episodes": "38",
                  "aired": "Jan 21, 1964 to Oct 27, 1964",
                  "premiered": "Winter 1964",
                  "broadcast": "Unknown",
                  "licensors": "None found, add some",
                  "studios": "None found, add some",
                  "demographic": "",
                  "duration": "15 min. per ep.",
                  "rating": "PG-13 - Teens 13 or older",
                  "related": {
                    "adaptation": [
                      "0-sen Hayato"
                    ],
                    "prequel": [
                      "0-sen Hayato Pilot"
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Key",
        "description": "Create a free key at https://dataandapis.com/sign-up. 500 tokens a month on the Free plan; this API costs 2 tokens per call."
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ]
}