{"name":"🎬 Movie Streaming API","version":"3.0.0","security":{"tokenEncryption":"AES-256-GCM + HMAC-SHA256","note":"Media tokens are fully encrypted — payload is never readable from the token string."},"docs":{"authentication":{"header":"x-api-key","types":["standard (default expiry)","premium (custom expiry)"]},"endpoints":{"GET /api/watch":{"description":"Main endpoint — search by name, auto-detect type, get secure stream + download URLs","params":{"name":"(required) Movie or series title","type":"(optional) \"auto\" | \"movie\" | \"series\" — default: \"auto\"","se":"(optional) Season number","ep":"(optional) Episode number","lang":"(optional) Target language, e.g. \"hindi\", \"hi\", \"en\" — auto-selects dub/sub","expire":"(premium only) Expiry in days (1, 30, 200) or \"never\""},"examples":["/api/watch?name=avengers","/api/watch?name=demon+slayer&type=series&se=2&ep=5&lang=hindi","/api/watch?name=jujutsu+kaisen&type=auto&lang=hi","/api/watch?name=avengers&expire=30  (premium key only)"]},"GET /api/title":{"description":"Fetch detail path + subject ID metadata and streams (with proxy URLs)","params":{"detailPath":"(required) Path key of the movie/series","subjectId":"(required) Subject ID of the movie/series","se":"(optional) Season number (default: 1 for series)","ep":"(optional) Episode number (default: 1 for series)","expire":"(premium only) Expiry in days (1, 30, 200) or \"never\""},"examples":["/api/title?detailPath=jujutsu-kaisen-0-hindi-kwPuMLteKd&subjectId=186076763544505360","/api/title?detailPath=demon-slayer-kimetsu-no-yaiba-hindi-kwZDpEpgtZ3&subjectId=3350050042852901216&se=1&ep=3"]},"GET /api/search":{"description":"Enriched search — returns 5-8 results with full metadata fetched in parallel","params":{"q":"(required) Search keyword","type":"\"all\" (default, mixed) | \"series\" | \"movie\"","limit":"Number of results 1-8 (default: 6)","lang":"(optional) Language filter — adds langAvailable + langMatch fields per result"},"examples":["/api/search?q=demon+slayer&limit=6","/api/search?q=avengers&type=movie&limit=5&lang=hindi","/api/search?q=jujutsu+kaisen&type=all"]},"GET /api/detail":{"params":{"path":"detailPath"}},"GET /api/stream":{"params":{"subjectId":"id","detailPath":"path","se":"1","ep":"1"}},"GET /media/:token":{"description":"Secure media proxy — stream or download","security":"AES-256-GCM encrypted payload + HMAC-SHA256 signature (fully opaque token)","features":["AES-256-GCM encrypted + HMAC-SHA256 signed tokens (production grade)","Time-limited access with configurable TTL","Range header support (seek / skip / forward / backward)","Referer bypass for CDN access","Append ?download=true for file download"]},"GET /health":{"description":"Health check"}}}}