API Reference
API Reference
Base URL: https://gateway.ayohost.site — Pass your key via X-API-Key header.
🎌 Anime
GET/anime/api/search
Search anime — ?q=naruto
GET/anime/api/airing
Currently airing anime
GET/anime/api/anime/{slug}/episodes
Episode list for an anime
GET/anime/api/streamPRO
Resolve HLS stream URL
POST/anime/api/downloadPRO
Start MP4 download job
GET/anime/api/download/{id}/statusPRO
Poll download progress
🎬 Movies
GET/movie/api/home
Trending & homepage sections
GET/movie/api/search/{query}
Search movies and series
GET/movie/api/info/{id}
Full movie/series details
GET/movie/api/seasons/{id}
Season & episode breakdown
GET/movie/api/sources/{id}PRO
Stream & download sources
GET/movie/api/captions/{id}PRO
Subtitle files

Code Examples
Replace ayomedia_your_key with your actual key from the dashboard.
cURL
Python
# Search anime
curl -H "X-API-Key: ayomedia_your_key" \
     "https://gateway.ayohost.site/anime/api/search?q=naruto"

# Get movie info
curl -H "X-API-Key: ayomedia_your_key" \
     "https://gateway.ayohost.site/movie/api/search/avengers"