MovieBox API Endpoints Dedicated /api/moviebox/* endpoints for MovieBox content (movies + series). Use ?type=movies or ?type=series to scope results, or omit for both. Authentication Required All data endpoints require Authorization: Bearer . Get your key atapi-dashboard. GET /api/moviebox List MovieBox content — movies, series, or both Parameter Type Required Description type string optional movies | series (absent = both) page number optional Page number (default: 1) per_page number optional Results per page (max 100, default 20) language string optional ISO 639-1 language code (en, id, zh, ko, …) tag string optional Filter by tag name sort_by string optional updated_at | created_at | title | vote_average | release_year | play_count | chapter_count sort_order string optional desc | asc Example /api/moviebox?type=movies&per_page=20&sort_by=updated_at GET /api/moviebox/popular Popular MovieBox titles ranked by play_count Parameter Type Required Description type string optional movies | series (absent = both) language string optional ISO 639-1 language code Example /api/moviebox/popular?type=series GET /api/moviebox/trending Trending titles (updated last 60 days, sorted by play_count) Parameter Type Required Description type string optional movies | series (absent = both) language string optional ISO 639-1 language code Example /api/moviebox/trending?type=movies GET /api/moviebox/search Full-text search across MovieBox content Parameter Type Required Description q string required Search query type string optional movies | series (absent = both) language string optional ISO 639-1 language code Example /api/moviebox/search?q=stranger+things&type=series GET /api/moviebox/{id} Get movie/series detail with all episodes and signed video URLs Parameter Type Required Description id number required Drama ID (integer) expires_in number optional Signed URL TTL in seconds (max 14400, default 1800) Example /api/moviebox/42 GET /api/moviebox/{id}/episodes Paginated episodes for a movie/series Parameter Type Required Description id number required Drama ID (integer) page number optional Page number (default: 1) per_page number optional Results per page (max 100, default 20) expires_in number optional Signed URL TTL in seconds (max 14400, default 1800) Example /api/moviebox/42/episodes?page=1&per_page=50 Episode Response Shape Each episode object contains video_url (primary 720p, signed) and a qualities JSON object with all available resolutions. Episode object Copy { "id": 42, "drama_id": 7, "episode_index": 1001, // season×1000 + ep — Movie: 1, S1E1: 1001, S2E5: 2005 "episode_name":"Episode 1", "status":"published", // Primary video (720p) — HMAC-SHA256 signed, 5min TTL by default "video_url":"https://cdn.splay.id/moviebox-movies/.../video.mp4?sig=...&expires=...", // All available resolutions — same signed CDN URLs "qualities": { "360p":"https://cdn.splay.id/.../video_360p.mp4?sig=...&expires=...", "480p":"https://cdn.splay.id/.../video_480p.mp4?sig=...&expires=...", "720p":"https://cdn.splay.id/.../video.mp4?sig=...&expires=...", "1080p":"https://cdn.splay.id/.../video_1080p.mp4?sig=...&expires=..." }, // Subtitles — signed SRT URLs "subtitles": [ {"lang":"en","label":"English","url":"https://cdn.splay.id/.../subtitle_en.srt?sig=..."}, {"lang":"id","label":"Indonesian","url":"https://cdn.splay.id/.../subtitle_id.srt?sig=..."}, {"lang":"zh","label":"Chinese","url":"https://cdn.splay.id/.../subtitle_zh.srt?sig=..."} ], "released_at":"2024-01-15T00:00:00Z", "created_at":"2026-01-10T08:00:00Z" } Drama Response Shape Each drama object includes a raw_data field with full TMDB enrichment — ratings, cast, crew, genres, trailers, production info, and more. Drama object (raw_data.tmdb enrichment) Copy { "id": 123, "title":"Oppenheimer", "cover_url":"https://cdn.splay.id/moviebox-movies/.../cover.jpg", "provider_slug":"moviebox-movies", "chapter_count": 1, "introduction":"The story of J. Robert Oppenheimer...", "raw_data": { "release_year": 2023, "tmdb": { "id": 872585, "imdb_id":"tt15398776", "original_title":"Oppenheimer", "original_language":"en", "overview":"The story of J. Robert Oppenheimer...", "tagline":"The world forever changes.", "status":"Released", "release_date":"2023-07-19", "runtime": 180, "vote_average": 8.1, "vote_count": 18254, "certification":"R", "popularity": 85.4, "budget": 100000000, "revenue": 952000000, "genres": [{"id": 18,"name":"Drama"}, {"id": 36,"name":"History"}], "keywords": [{"id": 1,"name":"nuclear bomb"}, {"id": 2,"name":"manhattan project"}], "cast": [ {"id": 1185335,"name":"Cillian Murphy","character":"J. Robert Oppenheimer","order": 0 }, {"id": 3291,"name":"Emily Blunt","character":"Katherine Oppenheimer","order": 1 } ], "directors": [{"id": 525,"name":"Christopher Nolan","job":"Director"}], "writers": [{"id": 525,"name":"Christopher Nolan","job":"Screenplay"}], "producers": [{"id": 9813,"name":"Emma Thomas","job":"Producer"}], "production_companies": [{"id": 9996,"name":"Syncopy","origin_country":"GB"}], "production_countries": [{"iso":"US","name":"United States of America"}], "spoken_languages": [{"iso":"en","name":"English","english_name":"English"}], "collection": {"id": 0,"name":"Oppenheimer Collection"}, "poster_path":"/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg", "backdrop_path":"/fm6KqXpk3M2HVveHwCrBSSBaO0V.jpg", "backdrops": [{"file_path":"/...","width": 1280,"height": 720 }], "trailers": [{"key":"uYPbbksJxIY","site":"YouTube","type":"Trailer","official": true }] } } } TMDB images: https://image.tmdb.org/t/p/w500{poster_path} · Backdrop: w1280 · Trailer: https://youtube.com/watch?v={key} Episode Index Encoding MovieBox uses a compound episode_index: season × 1000 + episode Season/Episode episode_index Notes Movie (se=0, ep=1) 1 All movies use index 1 S1E1 1001 S1E10 1010 S2E5 2005 S3E12 3012