API Documentation
A complete solution for webmasters to embed anime videos on their website using our easy API.
AniForge API — Animo's API
Fetch anime metadata, episodes, and stream URLs programmatically. AniForge uses the same library and embed ID system as HiAnime, so old HiAnime episode IDs still work. Everything stays updated automatically.
Base URL
Recent Anime
Get the latest added anime with pagination support.
Anime Details
Full anime metadata — resolves by internal ID, MAL ID, or AniList ID automatically.
Episodes
Episode list with numbers, titles, filler flags, embed_id, ani & mal source fields.
Reliability & Future-Proofing
Our hosted content remains accessible even if the original source becomes unavailable or changes their access methods. This makes the AniForge API the perfect long-term solution for anyone building a serious anime streaming platform that needs consistent content availability.
How It Works
Our service provides a reliable and efficient way to embed anime videos on your website without worrying about content availability or playback issues.
Reliability & Future-Proofing
By using our service, you're ensuring consistent content availability regardless of what happens with original sources.
Usage
Embed any anime episode on your website using a single iframe.
URL Parameters (Anilist)
| Parameter | Description | Values | Required |
|---|---|---|---|
| {anilist_id} | Anilist ID | e.g. 169580 | Yes |
| {episode} | Episode number | e.g. 1 | Yes |
| {type} | Audio track | sub, dub | Yes |
URL Parameters (MAL)
| Parameter | Description | Values | Required |
|---|---|---|---|
| {mal_id} | MAL ID | e.g. 21 | Yes |
| {episode} | Episode number | e.g. 1 | Yes |
| {type} | Audio track | sub, dub | Yes |
URL Parameters (Animo)
| Parameter | Description | Values | Required |
|---|---|---|---|
| {animo_id} | Animo internal anime ID | e.g. 238 | Yes |
| {episode} | Episode number | e.g. 22 | Yes |
| {type} | Audio track | sub, dub | Yes |
URL Parameters (Animo Embed ID)
| Parameter | Description | Values | Required |
|---|---|---|---|
| server | Video server (query) | hd-1, hd-2 | Yes |
| id | Embed ID with type (query) | af:{embed_id}/{type} | Yes |
| k | Required key | 1 | Yes |
Query Parameters
| Parameter | Values | Description | Required |
|---|---|---|---|
| k | 1 | Required key to enable playback | Yes |
| autoPlay | 1 or 0 | Auto-start playback | No |
| skipIntro | 1 or 0 | Automatically skip intro | No |
| skipOutro | 1 or 0 | Automatically skip outro | No |
Embed Example
URL: /embed/hd-1/ani/169580/1/sub?k=1&autoPlay=1&skipIntro=1&skipOutro=1
Player Events
The player sends events to the parent page via postMessage. Listen from the page where the
iframe is embedded to handle auto-next, progress tracking, etc.
Basic listener
Events
| Event | Description |
|---|---|
| time | Sent during playback with current position and progress. |
| complete | Sent when playback reaches the end of the episode. |
| error | Sent when playback fails. |