Overview
Fetches a paginated list of the Searched anime. It filters based on anime’s titleUsage
index.ts
Response
response
Response fields
- page: number — current page index returned by the API.
- totalPage: number — total number of pages available.
- hasNextPage: boolean — indicates whether another page is available.
- results: array of items containing:
- id: string — anime identifier or path.
- image: string — poster/thumbnail URL.
- title: string — anime title.
- type: string — e.g., “TV”, “Movie” (values depend on site data).
- language.sub / language.dub: string — episode availability counts as reported by the site.
- dataId: string — site-specific numeric identifier.
Parameters
- page: number — page to fetch. Defaults to 1. Must be a positive integer.
Use
page
together withhasNextPage
andtotalPage
to implement pagination in your app.
Notes & limitations
- Ordering and availability are determined by HiAnime and may change over time.
- Pagination limits (max pages) can vary; always check
hasNextPage
. - This is an unofficial scraper-based method; site changes can break behavior without notice. Use responsibly and respect the website’s Terms of Service.