JustWatch API endpoint
Looks up one JustWatch season by its raw `id` (`tss` followed by digits, such as `tss297253`), in the `country` (default `US`) and `language` (default `en`) you choose. Returns the season title, number, year, description, path, URL and poster. A valid id with no match returns `404`.
/justwatch/season/by-idid required string. Raw JustWatch season id matching tss[0-9]+, for example tss297253.country optional string. Two-letter country code. Defaults to US.language optional string. Two-letter language code. Defaults to en.id, country, or language values return 400.node: null returns 404.503.| Field | In the sample | Value in the sample |
|---|---|---|
| country | Has a value | “US” |
| language | Has a value | “en” |
| season.id | Has a value | |
| season.object_id | Has a value | |
| season.object_type | Has a value | “SHOW_SEASON” |
| season.title | Has a value | “Season 1” |
| season.year | Has a value | 2,022 |
| season.season_number | Has a value | 1 |
| season.path | Has a value | “/us/tv-show/from/season-1” |
| season.url | Has a value | justwatch.com |
| season.poster_url | Has a value | images.justwatch.com |
| season.description | Has a value | 149 characters |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Raw JustWatch season id matching tss[0-9]+ | tss297253 | |
| country | string | No | Two-letter country code | US | |
| language | string | No | Two-letter language code | en | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/justwatch/season/by-id?id=tss297253&country=us&language=en" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"country": "US",
"language": "en",
"season": {
"id": "tss297253",
"object_type": "SHOW_SEASON",
"title": "Season 1",
"year": 2022,
"season_number": 1,
"path": "/us/tv-show/from/season-1"
}
}
}Request schema
No body schema
Response schema
#/definitions/justwatch.seasonByIDResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | justwatch.SeasonByIDResponse | No | ||||
| data.country | string | No | US | Two-letter ISO country code the results are for. | ||
| data.language | string | No | en | Two-letter language code used for titles and descriptions. | ||
| data.season | object | No | Season that matches the requested id. | |||
| data.season.description | string | No | Short synopsis of the season. | |||
| data.season.id | string | No | tss297253 | JustWatch season id, for example `tss297253`. | ||
| data.season.object_id | integer | No | 297253 | Numeric JustWatch id of the season. | ||
| data.season.object_type | string | No | SHOW_SEASON | JustWatch object type, `SHOW_SEASON` for seasons. | ||
| data.season.path | string | No | /us/tv-show/from/season-1 | JustWatch page path of the season. | ||
| data.season.poster_url | string | No | https://images.justwatch.com/poster/320190730/s718/season-1.jpg | URL of the poster image for the season. | ||
| data.season.season_number | integer | No | 1 | Number of the season within the show. | ||
| data.season.title | string | No | Season 1 | Season title, for example `Season 1`. | ||
| data.season.url | string | No | https://www.justwatch.com/us/tv-show/from/season-1 | Full JustWatch page URL of the season. | ||
| data.season.year | integer | No | 2022 | Release year of the season. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/justwatch/season/by-id?id=tss297253&country=us&language=en" \
-H "x-api-key: $CRAWLORA_API_KEY"