Documentation and Basic Info.
Base URL for API
https://anime-facts-public-api.herokuapp.com/api/v1Get All Anime FactsGET
https://anime-facts-public-api.herokuapp.com/api/v1/factsThe above end point fetches all the anime facts. It will return 10 facts per page. Number of facts returned can be customized by passing size and page as query.
Headers
apiKey- API Key (required)
Query Parameters
anime- (String) name of animetopic- (String) name of character, location, name etc.size- (Integer) number of facts per page.page- (Integer) to access a particular page.Get Random Anime FactsGET
https://anime-facts-public-api.herokuapp.com/api/v1/facts/randomThe above end point fetches anime facts and return a random anime fact.
Headers
apiKey- API Key (required)
Get Anime Fact By IdGET
https://anime-facts-public-api.herokuapp.com/api/v1/facts/:idThe above end point fetche the anime fact with the mentioned id which needs to be passed as a parameter.
Headers
apiKey- API Key (required)
Parameter
id- Id of the anime fact (required)
Responses