{"id":37120069,"url":"https://github.com/movieofthenight/go-streaming-availability","last_synced_at":"2026-01-14T13:59:40.292Z","repository":{"id":188348821,"uuid":"673089037","full_name":"movieofthenight/go-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-09-28T15:23:25.000Z","size":1129,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T09:29:18.659Z","etag":null,"topics":["amazon-prime-video","api","api-client-go","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://www.movieofthenight.com/about/api/","language":"Go","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:06:39.000Z","updated_at":"2025-01-18T13:10:48.000Z","dependencies_parsed_at":"2024-06-19T11:27:19.864Z","dependency_job_id":"d9d80292-4665-44b4-8eee-ff171b7e37fb","html_url":"https://github.com/movieofthenight/go-streaming-availability","commit_stats":null,"previous_names":["movieofthenight/go-streaming-availability"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/movieofthenight/go-streaming-availability","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fgo-streaming-availability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fgo-streaming-availability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fgo-streaming-availability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fgo-streaming-availability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/movieofthenight","download_url":"https://codeload.github.com/movieofthenight/go-streaming-availability/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movieofthenight%2Fgo-streaming-availability/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-go","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-14T13:59:39.630Z","updated_at":"2026-01-14T13:59:40.284Z","avatar_url":"https://github.com/movieofthenight.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streaming Availability API Go Client\n\n[![go-github release (latest SemVer)](https://img.shields.io/github/v/release/movieofthenight/go-streaming-availability?sort=semver\u0026color=darkgreen)](https://github.com/movieofthenight/go-streaming-availability/releases)\n[![GoDoc](https://img.shields.io/static/v1?label=godoc\u0026message=reference\u0026color=blue)](https://pkg.go.dev/github.com/movieofthenight/go-streaming-availability/v4)\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## Installation\n\nRun\n\n```shell\ngo get github.com/movieofthenight/go-streaming-availability/v4\n```\n\n## Usage\n\n```go\npackage main\n\nimport \"github.com/movieofthenight/go-streaming-availability/v4\"\n\nconst RapidApiKey = \"PUT_YOUR_RAPIDAPI_KEY_HERE\"\n\nfunc main() {\n\tclient := streaming.NewAPIClientFromRapidAPIKey(RapidApiKey, nil)\n\t// Start using the client\n}\n```\n\n## Examples\n\n### Get The Godfather's Streaming Availability Info\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"strings\"\n\n\t\"github.com/movieofthenight/go-streaming-availability/v4\"\n)\n\nfunc main() {\n\tconst RapidApiKey = \"PUT_YOUR_RAPIDAPI_KEY_HERE\"\n\n\tclient := streaming.NewAPIClientFromRapidAPIKey(RapidApiKey, nil)\n\tshow, _, err := client.ShowsAPI.GetShow(context.Background(), \"tt0068646\").Country(\"us\").Execute()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tif show == nil {\n\t\tlog.Fatal(\"Show not found\")\n\t}\n\tfmt.Printf(\"Title: %s\\n\", show.Title)\n\tfmt.Printf(\"Overview: %s\\n\", show.Overview)\n\tfor _, streamingOption := range show.StreamingOptions[\"us\"] {\n\t\tfmt.Printf(\"Available on %s\", streamingOption.Service.Name)\n\t\tswitch streamingOption.Type {\n\t\tcase streaming.ADDON:\n\t\t\tfmt.Printf(\" via addon %s\", streamingOption.Addon.Name)\n\t\tcase streaming.BUY:\n\t\t\tfmt.Print(\" to buy\")\n\t\tcase streaming.RENT:\n\t\t\tfmt.Print(\" to rent\")\n\t\tcase streaming.FREE:\n\t\t\tfmt.Print(\" for free\")\n\t\t}\n\t\tif streamingOption.HasPrice() {\n\t\t\tfmt.Printf(\" for %s\", streamingOption.Price.Formatted)\n\t\t}\n\t\tif streamingOption.HasQuality() {\n\t\t\tfmt.Printf(\" in %s quality\", strings.ToUpper(*streamingOption.Quality))\n\t\t}\n\t\tfmt.Printf(\" at %s\\n\", streamingOption.Link)\n\t}\n}\n```\n\n\u003e Checkout [example_test.go](https://github.com/movieofthenight/go-streaming-availability/blob/main/example_test.go)\nfile 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 `ExecuteWithAutoPagination` function\ninstead of the `Execute` function.\n\nAn example call without auto pagination:\n\n```go\nsearchResult, _, err := client.ShowsAPI.SearchShowsByFilters(context.Background()).\n\tGenres([]string{\"comedy\"}).\n\tOrderBy(\"popularity_1year\").\n\tCountry(\"us\").\n\tCatalogs([]string{\"netflix\"}).Execute()\n```\n\nAn example call with auto pagination\nthat fetches at most 3 pages:\n\n```go\nshows, err := client.ShowsAPI.SearchShowsByFilters(context.Background()).\n\tGenres([]string{\"comedy\"}).\n\tOrderBy(\"popularity_1year\").\n\tCountry(\"us\").\n\tCatalogs([]string{\"netflix\"}).ExecuteWithAutoPagination(3)\n```\n\nThen you can iterate over the results in the following way:\n\n```go\nfor shows.Next() {\n\tshow := shows.Get()\n\t// Do something with the show\n}\n// Check if there was an error during pagination\nif shows.Err() != nil {\n\tlog.Fatal(shows.Err())\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%2Fgo-streaming-availability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmovieofthenight%2Fgo-streaming-availability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovieofthenight%2Fgo-streaming-availability/lists"}