Wyzie Subs

Directly Fetching Wyzie Subs#

I strongly recommend using the NPM package as it is easier and more reliable.

If you have decided against using the NPM package, then let's get started. I will only be going over API parameters and data returned by the API. How you request the API is entirely up to you.

An API key is required for all requests. Get your free key at sub.wyzie.io/redeem and include it as &key=YOUR_KEY in every request. See the API Keys page for details.

Example#

{
  "id": "1955024019",
  "url": "https://sub.wyzie.io/c/198e0c4d/id/1955024019?format=srt&encoding=UTF-8",
  "flagUrl": "https://flagsapi.com/US/flat/24.png",
  "format": "srt",
  "encoding": "UTF-8",
  "display": "English",
  "language": "en",
  "media": "The Martian",
  "isHearingImpaired": false,
  "source": "opensubtitles",
  "release": "The.Martian.2015.1080p.WEB-DL",
  "releases": ["The.Martian.2015.1080p.WEB-DL"],
  "fileName": "the.martian.2015.1080p.web-dl.srt",
  "origin": "WEB-DL",
  "matchedRelease": "The.Martian.2015.1080p.WEB-DL",
  "matchedFilter": "martian"
}

Parameters#

ParameterExampleDescription
id/search?id=tt3659388 or /search?id=286217TMDB or IMDB ID of the show or movie (required).
season & episode/search?id=tt0121955&season=1&episode=1Season and episode for TV searches. Both must be present together.
language/search?id=tt3659388&language=en,esLanguage filter (ISO 639-1 codes). Multiple values are comma-separated.
format/search?id=tt3659388&format=srt,assSubtitle formats to return. Multiple values allowed.
hi/search?id=tt3659388&hi=trueWhether to prefer hearing-impaired subtitles.
encoding/search?id=tt3659388&encoding=utf-8,latin-1Character encoding filter.
source/search?id=tt3659388&source=subdl,podnapisiSubtitle providers to query (all queries every enabled source; default opensubtitles).
release/search?id=tt3659388&release=martian,1080pRelease or scene name filters (comma-separated).
file/fileName/search?id=tt3659388&file=properFilename filters (aliases: file, filename, fileName).
origin/search?id=tt3659388&origin=WEB,BLURAYContent origin filter, comma-separated (e.g., WEB, BLURAY, DVD).
key/search?id=tt3659388&key=YOUR_KEYYour API key (required). Get one free at sub.wyzie.io/redeem.
refresh/search?id=tt3659388&refresh=trueBypass cache and fetch fresh results. Use when sources may have updated.

When using an IMDB ID, ensure that the first two characters ('tt') are included at the beginning of the ID.

Data Returned#

ObjectDescription
idThe ID of the subtitle file.
urlThe URL to the subtitle file.
flagUrlURL to the flag of the language's locale.
formatThe format of the subtitle file.
encodingThe character encoding of the subtitle file.
displayThe language of the subtitle, capitalized.
languageThe ISO 3166-2 code of the language.
mediaThe name of the media that the subtitles are for.
isHearingImpairedBoolean representing if the subtitle is hearing impaired accessible.
sourceWhich source the subtitle was scraped from.
releasePrimary release name.
releasesOther release names compatible with the subtitle.
fileNameOriginal filename when available.
downloadCountNumber of downloads on the source platform (if available).
originContent origin (e.g., WEB, BluRay, DVD).
matchedReleaseRelease value that matched your filter (if provided).
matchedFilterThe user-supplied filter that matched (if provided).