Sinhala subtitles and movies, as JSON.
One API to search, read details and get direct download links from Sinhala subtitle and movie sites. Free account = 50 requests/day, CORS open.
BASE URL
GET onlyJSONCORS *50 free req/day
Quick start
Search a title, then pass the post URL to the download endpoint.
Playground
Pick an endpoint, fill the fields and send a real request.
GET
The response will appear here.
Endpoints
Every endpoint is a GET request. Tap Try it to load one into the playground.
Responses
Every reply uses the same envelope.
Success
Error
Status codes
200Request worked. Check result.400Missing or wrong parameter, or an unsupported URL.404Option or file not found on the page.422Download page builds its link with JavaScript, or the file found looked wrong.502Source site is down or blocked every method. Try again or edit the domains in config.js.Good to know
Each request has about 26 seconds. Search and details are cached for 5 minutes; resolved download links are never cached.
stream=1 sends files up to 4 MB (subtitles); movies are larger, so use redirect=1 or read direct.url.