The Subtitles Search API allows users to search for movie or TV show subtitles based on various criteria such as film name, file name, specific IDs (IMDB, TMDB, SubDL), season and episode numbers, type (movie or TV), release year, and languages.
Send these one of these variables as GET URL
A successful response will return a JSON object with the following fields:
An error response is returned as a JSON object with the following fields:
add subtitle link to dl.subdl.com endpoint like this example
https://dl.subdl.com/subtitle/3197651-3213944.zip
download raw srt file will coming soon...
{ "query": { "api_key": "abcdefghisubdl", "film_name": "Inception", "type": "movie", "languages": "EN,FR" } }
{ "status": true, "results": [ { "imdb_id": "tt1375666", "tmdb_id": 27205, "type": "movie", "name": "Inception", "sd_id": 123456, "first_air_date": null, "year": 2010 } ], "subtitles": [ { // Subtitle details } ] }
- API rate limiting is applied; ensure to manage the number of requests as per your API key's allowance.
- The search is optimized to first look for exact matches in the database and then proceed with broader criteria if necessary.
- The language codes should follow the specific format provided in the API documentation to ensure accurate filtering of subtitles.
This API provides a powerful tool for developers to integrate subtitle search functionality into their applications, offering extensive filtering options to cater to a wide range of user preferences.
curl -X GET "https://api.subdl.com/api/v1/subtitles?api_key=example-api-key&film_name=Inception&type=movie&languages=EN" -H "Accept: application/json"
fetch("https://api.subdl.com/api/v1/subtitles?api_key=example-api-key&film_name=Inception&type=movie&languages=ar", { method: "GET", headers: { "Accept": "application/json" } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error));