API
Get information and stream url from Hanime.tv.
/getVideo
To get video from the hanime website
/getVideo/(HANIME SLUG or VIDEO ID)
To get 1080p, You must have hanime premium and session token. (You can get it from /auth/login)
Headers
Token : (Your Account Token)
{ "stream": [{ ALL Stream List }] "downloadURL": "https://hanime.tv/downloads/<>", "url": "https://hanime.tv//videos/hentai/(HANIME SLUG VIDEO)"}
/getVideo/player
DEPRECATED
getInfo
To get hentai information from Hanime
/getInfo/(HANIME SLUG or VIDEO ID)
{ "description": "", "downloadURL": "https://hanime.tv/downloads/<>", "info": { "brand": "", "censored": true, "released_date": "", "uploaded_date": "", }, "views": "0,000,000" "tags": [ "swimsuit", "harem", "incest", "creampie", "hd", "plot", "school girl", "big boobs", "censored", "blow job" ], "poster": "https://git-covers.pages.dev/images/XX.png", "video": "https://hanime.tv/videos/hentai/XX"}
getLanding
Get information about landing in Hanime home page.
getLanding/recent
/getLanding/recent
{ page: 0, results: [ All Recent List ]}
getLanding/newest
/getLanding/newest
{ page: 0, results: [ All Newest List ]}
getLanding/trending
/getLanding/trending
{ page: 0, results: [ All Trending List ]}
The Default Results are Monthly but You can specify trending time from Daily to Yearly
/getLanding/trending?time=(day, week, month, 3_month, 6_month, year)&p=0
And The Result should be the same as the previous result.
getComment
Get Comment from Hanime Video...
Requesting It might fail because the slug wont work with this api. Please Use ID eg. 2930 Instead.
getComment
To get comments from hanime.tv/videos/hentai/XX
/getComment?id=(number)
{ "comments": [ { All of the comments } ], "total": { "comments": { "count": "X", "my_hthreads_flags_hash": {}, "my_hthreads_votes_hash": {}, "offset": 0, "order": [ { "upvotes": "desc" }, { "created_at": "desc" } ], "totals": { "num_comments": X, "num_threads": X } } }}
getComment/reply
To get reply comments from hanime.tv/videos/hentai/XX
/getComment/reply?id=(reply_id)
{ "comments": [ { All of the comments } ], "total": { "comments": { "count": "X", "my_hthreads_flags_hash": {}, "my_hthreads_votes_hash": {}, "offset": 0, "order": [ { "upvotes": "desc" }, { "created_at": "desc" } ], "totals": { "num_comments": X, "num_threads": X } } }}
getComment/reply/reply
To get reply from reply comments from hanime.tv/videos/hentai/XX
/getComment/reply/reply?id=(second reply id)
{ "comments": [ { All of the comments } ], "total": { "comments": { "count": "X", "my_hthreads_flags_hash": {}, "my_hthreads_votes_hash": {}, "offset": 0, "order": [ { "upvotes": "desc" }, { "created_at": "desc" } ], "totals": { "num_comments": X, "num_threads": X } } }}