{"id":37973823,"url":"https://github.com/movieofthenight/ts-streaming-availability","last_synced_at":"2026-01-16T18:26:48.804Z","repository":{"id":189590365,"uuid":"673102173","full_name":"movieofthenight/ts-streaming-availability","owner":"movieofthenight","description":"Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across multiple countries!","archived":false,"fork":false,"pushed_at":"2024-05-06T21:46:20.000Z","size":7732,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-05-06T22:37:28.868Z","etag":null,"topics":["amazon-prime-video","api","api-client","api-client-js","api-client-ts","apple-tv","appletv","disney","disney-plus","disneyplus","hbo","hbo-max","hbomax","hulu","max","netflix","prime-video","streaming-availability","streaming-availability-api"],"latest_commit_sha":null,"homepage":"https://movieofthenight.github.io/ts-streaming-availability/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/movieofthenight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-31T21:59:54.000Z","updated_at":"2024-05-06T21:46:23.000Z","dependencies_parsed_at":"2023-08-20T22:28:29.049Z","dependency_job_id":"3384b177-77fd-4325-a09a-c0afc4e8683f","html_url":"https://github.com/movieofthenight/ts-streaming-availability","commit_stats":null,"previous_names":["movieofthenight/ts-streaming-availability"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/movieofthenight/ts-streaming-availability","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fts-streaming-availability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fts-streaming-availability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fts-streaming-availability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fts-streaming-availability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/movieofthenight","download_url":"https://codeload.github.com/movieofthenight/ts-streaming-availability/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fts-streaming-availability/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-prime-video","api","api-client","api-client-js","api-client-ts","apple-tv","appletv","disney","disney-plus","disneyplus","hbo","hbo-max","hbomax","hulu","max","netflix","prime-video","streaming-availability","streaming-availability-api"],"created_at":"2026-01-16T18:26:48.716Z","updated_at":"2026-01-16T18:26:48.795Z","avatar_url":"https://github.com/movieofthenight.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streaming Availability API TypeScript Client\n\n[![npm](https://img.shields.io/npm/v/streaming-availability?style=flat-square\u0026logo=npm\u0026color=blue)](https://www.npmjs.com/package/streaming-availability)\n[![tsdoc](https://img.shields.io/badge/tsdoc-reference-blue?style=flat-square)](https://movieofthenight.github.io/ts-streaming-availability/)\n\nThis client can be used in both JavaScript and TypeScript projects;\nand both in browser and Node environment.\n\nSince using this client in browser would expose your API key to the public,\nit is more secure to use it in server-side applications.\nUsing it in browser is only recommended for personal projects and\ndevelopment purposes.\n\n## Streaming Availability API\n\nStreaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 60 countries!\n\n### API Key\n\nTo get an instant free subscription to start using the API, you can visit\n[the RapidAPI page of the API](https://rapidapi.com/movie-of-the-night-movie-of-the-night-default/api/streaming-availability/pricing).\n\nWith a free subscription, you can send 100 requests per day.\nTo send more requests, you can upgrade to paid plans whenever you like.\n\n### Useful Links\n\n- [Official Webpage of the API](https://www.movieofthenight.com/about/api)\n\n- [Subscription Page on RapidAPI](https://rapidapi.com/movie-of-the-night-movie-of-the-night-default/api/streaming-availability/pricing)\n\n- [API Documentation](https://docs.movieofthenight.com/)\n\n- [Contact Form](https://www.movieofthenight.com/contact)\n\n- [Home Page of the API on RapidAPI](https://rapidapi.com/movie-of-the-night-movie-of-the-night-default/api/streaming-availability/)\n\n- [Main GitHub Repository of the API](https://github.com/movieofthenight/streaming-availability-api)\n\n### Features\n\n- Query streaming availability info of the movies and series via their TMDb or IMDd ids.\n- Search for movies and series via their titles, genres, keywords, release years on\nspecific streaming services (e.g.: Get all the zombie action movies available\non Netflix and Disney+)\n- Order the search results by titles, release year\nor popularity over different time periods\n(e.g.: get the all-time most popular movies on Netflix US,\nget the most popular series in the last 7 days\non Amazon Prime and Disney+ in the United Kingdom)\n- Get the list of upcoming \u0026 expiring titles\n- Get the daily Top 10 lists\n- Returned streaming availability info includes:\n  - Deep links into the streaming services for\nmovies, series, seasons and episodes,\n  - Available video qualities (eg. SD, HD, UHD),\n  - Available subtitles and audios,\n  - First detection time of the shows on the streaming services,\n  - Expiry date of the shows/seasons/episodes on the streaming services,\n  - All the available options to stream a show\n(e.g. via subscription, to buy/rent, for free, available via an addons),\n  - Price and currency information for buyable/rentable shows\n- Channel and addon support (e.g. Apple TV Channels, Hulu Addons, Prime Video Channels)\n- Posters, backdrops, cast \u0026 director information, genres, rating and many other details of the shows\n- Output also includes TMDB and IMDb ids for every show\n\n\n## Install\n\n### Via NPM\n\n```\nnpm i streaming-availability\n```\n\n\u003e Requires Node version `18.0.0` or higher.\n\n### Via Script Tag from CDN\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/movieofthenight/ts-streaming-availability@v4.4.0/bundle.min.js\"\u003e\u003c/script\u003e\n```\n\nThis script creates a global variable at `window.streamingAvailability`\nwhere you can access to the module.\n\n## Usage\n\n### Node\n\n```ts\nimport * as streamingAvailability from \"streaming-availability\";\n\nconst RAPID_API_KEY = \"\u003cYOUR_RAPID_API_KEY\u003e\";\n\nconst client = new streamingAvailability.Client(new streamingAvailability.Configuration({\n\tapiKey: RAPID_API_KEY\n}));\n\n// Start using the client\n```\n\n### Script Tag\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\t\u003cmeta charset=\"UTF-8\"\u003e\n\t\u003ctitle\u003eExample\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody style=\"white-space: pre-line\"\u003e\n\t\u003cscript src=\"https://cdn.jsdelivr.net/gh/movieofthenight/ts-streaming-availability@v4.4.0/bundle.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"module\"\u003e\n\t\tconst RAPID_API_KEY = \"\u003cYOUR_RAPID_API_KEY\u003e\";\n\n\t\tconst client = new streamingAvailability.Client(new streamingAvailability.Configuration({\n\t\t\tapiKey: RAPID_API_KEY\n\t\t}));\n\n\t\t// Start using the client\n\t\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Examples\n\nThese examples assume that you are running inside\na module, since it uses\n[top level await](https://github.com/tc39/proposal-top-level-await).\n\nIn\n[examples](https://github.com/movieofthenight/ts-streaming-availability/blob/main/examples)\nfolder, you can find sample package setups that\nyou can take as a reference.\n\n### Get The Godfather's Streaming Availability Info\n\n```ts\nimport * as streamingAvailability from \"streaming-availability\";\n\nconst RAPID_API_KEY = \"\u003cYOUR_RAPID_API_KEY\u003e\";\n\nconst client = new streamingAvailability.Client(new streamingAvailability.Configuration({\n\tapiKey: RAPID_API_KEY\n}));\n\nlet show = await client.showsApi.getShow(\n\t{id: \"tt0068646\", country: \"us\"}\n);\n\nconsole.log(show.title);\nconsole.log(show.overview);\nshow.streamingOptions[\"us\"].forEach((streamingOption) =\u003e {\n\tconsole.log(streamingOption.link);\n});\n```\n\n#### Via Script Tag\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\t\u003cmeta charset=\"UTF-8\"\u003e\n\t\u003ctitle\u003eThe Godfather\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody style=\"white-space: pre-line\"\u003e\n\t\u003cscript src=\"https://cdn.jsdelivr.net/gh/movieofthenight/ts-streaming-availability@v4.4.0/bundle.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript type=\"module\"\u003e\n\t\tconst RAPID_API_KEY = \"\u003cYOUR_RAPID_API_KEY\u003e\";\n\n\t\tconst client = new streamingAvailability.Client(new streamingAvailability.Configuration({\n\t\t\tapiKey: RAPID_API_KEY\n\t\t}));\n\n\t\tlet show = await client.showsApi.getShow(\n\t\t\t{id: \"tt0068646\", country: \"us\"}\n\t\t);\n\t\tdocument.body.textContent = show.title + \"\\r\\n\";\n\t\tdocument.body.textContent += show.overview + \"\\r\\n\";\n\t\tshow.streamingOptions[\"us\"].forEach((streamingOption) =\u003e {\n\t\t\tdocument.body.textContent +=  streamingOption.link + \"\\r\\n\";\n\t\t});\n\t\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n\u003e Checkout\n\u003e [examples](https://github.com/movieofthenight/ts-streaming-availability/blob/main/examples)\n\u003e folder for the rest of the examples.\n\n## Auto Pagination\n\nThis client supports auto-pagination for the paginated endpoints.\n\nIf you'd like to use auto-pagination,\nyou can call the corresponding auto pagination\nversions of the functions.\n\nAn example call without auto pagination:\n\n```ts\nconst searchResult = await client.showsApi.searchShowsByFilters(({\n\tcountry: \"us\",\n\tcatalogs: [\"netflix\"],\n\tgenres: [\"action\"],\n\tshowType: streamingAvailability.ShowType.Movie,\n\torderBy: \"popularity_1year\",\n}));\n```\n\nAn example call with auto pagination\nthat fetches at most 3 pages:\n\n```ts\nconst shows = client.showsApi.searchShowsByFiltersWithAutoPagination({\n\tcountry: \"us\",\n\tcatalogs: [\"netflix\"],\n\tgenres: [\"action\"],\n\tshowType: streamingAvailability.ShowType.Movie,\n\torderBy: \"popularity_1year\",\n}, 3)\n```\n\nThen you can iterate over the results in the following way:\n\n```ts\nfor await (const show of shows) {\n\t// Do something with the show\n}\n```\n\n## Terms \u0026 Conditions and Attribution\n\nWhile the client libraries have MIT licenses,\nthe Streaming Availability API itself has further\n[Terms \u0026 Conditions](https://github.com/movieofthenight/streaming-availability-api/blob/main/TERMS.md).\nMake sure to read it before using the API.\n\nNotably, the API requires an attribution to itself, if the data acquired through\nis made public. You can read further about the attribution requirement on the\n[Terms \u0026 Conditions](https://github.com/movieofthenight/streaming-availability-api/blob/main/TERMS.md)\npage.\n\n## Contact Us\n\nIf you have any questions or need further assistance, please don't hesitate to reach us via\n[our contact form](https://www.movieofthenight.com/contact).\n\n## FAQ\n\n- **How often the data is updated?**\n  - The data is updated daily.\n\n- **I run into an issue. How can I get help?**\n  - If the issue is related to the API itself, please create a post\n[here](https://rapidapi.com/movie-of-the-night-movie-of-the-night-default/api/streaming-availability/discussions),\nand we will help with the issue.\n  - If the issue is specific to a client library, then you can create a new issue\non the respective repository of the library.\n\n- **API returned me some wrong data. What can I do?**\n  - Send us a message with details of your findings.\nYou can reach ous via [our contact form](https://www.movieofthenight.com/contact).\nOnce we receive the message we will take a look into the problems and fix the data.\n\n- **I have a request to get a new streaming service supported by the API.**\n  - Send us a message via [our contact form](https://www.movieofthenight.com/contact),\n  and we will get back to you.\n\n- **I need a client library in another language.**\n  - Send us a message via [our contact form](https://www.movieofthenight.com/contact),\n  and we will get back to you.\n\n- **What is RapidAPI?**\n  - RapidAPI is the world's largest API marketplace. We use RapidAPI to handle the\nAPI subscriptions for us. You can instantly subscribe to Streaming Availability on\nRapidAPI and start using the Streaming Availability API through RapidAPI right away.\n\n## Client Libraries\n\n1. [Go](https://github.com/movieofthenight/go-streaming-availability)\n2. [TypeScript/JavaScript](https://github.com/movieofthenight/ts-streaming-availability)\n\n\n## Services Supported\n\n| Service Id | Service Name | Supported Countries |\n| ---------- | ------------ | ------------------- |\n| `netflix` | Netflix | 59 Countries |\n| `prime` | Prime Video | 56 Countries |\n| `disney` | Disney+ | 46 Countries |\n| `hbo` | Max | 28 Countries |\n| `hulu` | Hulu | United States |\n| `peacock` | Peacock | United States |\n| `paramount` | Paramount+ | 18 Countries |\n| `starz` | Starz | United States |\n| `apple` | Apple TV | 52 Countries |\n| `mubi` | Mubi | 53 Countries |\n| `stan` | Stan | Australia |\n| `now` | Now | United Kingdom, Ireland, Italy |\n| `crave` | Crave | Canada |\n| `all4` | Channel 4 | United Kingdom, Ireland |\n| `iplayer` | BBC iPlayer | United Kingdom |\n| `britbox` | BritBox | United States, Canada, Australia, South Africa |\n| `hotstar` | Hotstar | India, Canada, United Kingdom, Singapore |\n| `zee5` | Zee5 | 58 Countries |\n| `curiosity` | Curiosity Stream | 57 Countries |\n| `wow` | Wow | Germany |\n| `discovery` | Discovery+ | United States, Canada, Ireland, Italy, United Kingdom, Germany, Austria |\n| `sonyliv` | SonyLiv | India |\n| `itvx` | ITVX | United Kingdom |\n| `plutotv` | Pluto TV | 25 Countries |\n| `tubi` | Tubi | Australia, Canada, New Zealand, Ecuador, Mexico, Panama, United States |\n| `blutv` | BluTV | Turkey, Germany, Azerbaijan |\n\n\n## Countries Supported\n\n| Country Code | Country Name |\n| ------------ | ------------ |\n| `ae` | United Emirates |\n| `ar` | Argentina |\n| `at` | Austria |\n| `au` | Australia |\n| `az` | Azerbaijan |\n| `be` | Belgium |\n| `bg` | Bulgaria |\n| `br` | Brazil |\n| `ca` | Canada |\n| `ch` | Switzerland |\n| `cl` | Chile |\n| `co` | Colombia |\n| `cy` | Cyprus |\n| `cz` | Czech Republic |\n| `de` | Germany |\n| `dk` | Denmark |\n| `ec` | Ecuador |\n| `ee` | Estonia |\n| `es` | Spain |\n| `fi` | Finland |\n| `fr` | France |\n| `gb` | United Kingdom |\n| `gr` | Greece |\n| `hk` | Hong Kong |\n| `hr` | Croatia |\n| `hu` | Hungary |\n| `id` | Indonesia |\n| `ie` | Ireland |\n| `il` | Israel |\n| `in` | India |\n| `is` | Iceland |\n| `it` | Italy |\n| `jp` | Japan |\n| `kr` | South Korea |\n| `lt` | Lithuania |\n| `md` | Moldova |\n| `mk` | North Macedonia |\n| `mx` | Mexico |\n| `my` | Malaysia |\n| `nl` | Netherlands |\n| `no` | Norway |\n| `nz` | New Zealand |\n| `pa` | Panama |\n| `pe` | Peru |\n| `ph` | Philippines |\n| `pl` | Poland |\n| `pt` | Portugal |\n| `ro` | Romania |\n| `rs` | Serbia |\n| `ru` | Russia |\n| `se` | Sweden |\n| `sg` | Singapore |\n| `si` | Slovenia |\n| `sk` | Slovakia |\n| `th` | Thailand |\n| `tr` | Turkey |\n| `ua` | Ukraine |\n| `us` | United States |\n| `vn` | Vietnam |\n| `za` | South Africa |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovieofthenight%2Fts-streaming-availability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmovieofthenight%2Fts-streaming-availability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovieofthenight%2Fts-streaming-availability/lists"}