OpenAny
Get API keyAPI Key
APIData

justwatch logo
JustWatch Leaving Soon API

Get JustWatch Leaving Soon data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, providers, and retrieve structured data including selected offer country, source title identity, reported leaving date, service code, and offer end date for entertainment catalogue, and discovery views.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

JustWatch Leaving Soon API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
Pricing
Connect your agent
On this page

Overview

Overview
JustWatch Leaving Soon API

JustWatch Leaving Soon API

country defaults to US. within supports today, tomorrow, 7-day or 30-day windows, with 30 days as default. providers uses comma-separated service codes and monetization source enums. titles retains the specific offer and available_until context; limit defaults to 20, maximum 40, and next_cursor continues.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Choose the lookup or search inputs described below. Optional: country, providers, within, language, type, monetization, genres, year_min, year_max, limit, cursor. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · JustWatch Leaving Soon API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Entertainment catalogue: Retain source identities and the requested market or date context in catalogue records.
  • Discovery views: Use the returned source links and metadata to connect related detail pages in a discovery interface.

Returned Data

Field Meaning
country Selected offer country
titles[].id Source title identity
titles[].leaving_date Reported leaving date
titles[].offer.provider_code Service code
titles[].offer.available_until Offer end date
next_cursor Next titles cursor

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/justwatch/v1/leaving \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode output=json \
  --data-urlencode providers=nfx

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published JustWatch Leaving Soon API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (16)
Two-letter country (default US): offers and titles of that country.
Only these services: comma-separated short codes, e.g. `nfx` (Netflix).
Leaving today, tomorrow, within 7 days or within 30 days (default).
Language of titles, descriptions and genre names (default en).
Only films or only series.
Comma-separated: FLATRATE, FREE, ADS, RENT, BUY, CINEMA, FLATRATE_AND_BUY, FAST.
Comma-separated genre codes, e.g. act, cmy, drm, hrr, scf.
Released in or after this year.
Released in or before this year.
Titles per page (default 20, max 40).
Pass `next_cursor` back; null on the last page.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
JustWatch Leaving Soon API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/justwatch/v1/leaving
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
countryURL query parametersquerystringNo

Two-letter country (default US): offers and titles of that country.

providersURL query parametersquerystringNo

Only these services: comma-separated short codes, e.g. `nfx` (Netflix).

withinURL query parametersquerystringNo

Leaving today, tomorrow, within 7 days or within 30 days (default).

enum: "today", "tomorrow", "7d", "30d"

languageURL query parametersquerystringNo

Language of titles, descriptions and genre names (default en).

typeURL query parametersquerystringNo

Only films or only series.

enum: "movie", "show"

monetizationURL query parametersquerystringNo

Comma-separated: FLATRATE, FREE, ADS, RENT, BUY, CINEMA, FLATRATE_AND_BUY, FAST.

genresURL query parametersquerystringNo

Comma-separated genre codes, e.g. act, cmy, drm, hrr, scf.

year_minURL query parametersqueryintegerNo

Released in or after this year.

year_maxURL query parametersqueryintegerNo

Released in or before this year.

limitURL query parametersqueryintegerNo

Titles per page (default 20, max 40).

cursorURL query parametersquerystringNo

Pass `next_cursor` back; null on the last page.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.

enum: "json"

recordsURL query parametersquerystringNo

Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • applied_filtersobject
    • packagesstring[]
  • cachedboolean
  • countinteger
  • countrystring
  • credits_usedinteger
  • next_cursorstring
  • titles(object | string)[]
    • age_certificationstring
    • certified_freshnull
    • descriptionstring
    • dislikesinteger
    • genre_codesstring[]
    • genresstring[]
    • idstring
    • imdb_idstring
    • imdb_scorenumber
    • imdb_votesinteger
    • justwatch_ratingnumber
    • leaving_datestring
    • likesinteger
    • object_idinteger
    • offerobject
      • addedstring
      • audio_languagesunknown[]
      • audio_technologyunknown[]
      • available_untilstring
      • currencystring
      • episodesnull
      • monetizationstring
      • previous_pricenull
      • pricenull
      • price_change_percentinteger
      • price_textnull
      • providerstring
      • provider_codestring
      • provider_iconstring
      • provider_idinteger
      • provider_slugstring
      • qualitystring
      • subtitle_languagesunknown[]
      • typestring
      • urlstring
      • video_technologyunknown[]
    • original_titlestring
    • posterstring
    • production_countriesstring[]
    • providerstring
    • release_datestring
    • releasedboolean
    • runtime_mininteger
    • titlestring
    • tmdb_idstring
    • tmdb_popularitynumber
    • tmdb_scorenumber
    • tomatometerinteger
    • typestring
    • upcoming_releasesunknown[]
    • urlstring
    • yearinteger
  • totalinteger
  • withinstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official documentation response · Supplier-tr

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 16

    Review these request fields before running. Keep the published provider and request method unchanged.

    country
    Two-letter country (default US): offers and titles of that country.
    providers
    Only these services: comma-separated short codes, e.g. `nfx` (Netflix).
    within
    Leaving today, tomorrow, within 7 days or within 30 days (default).
    language
    Language of titles, descriptions and genre names (default en).
    type
    Only films or only series.
    monetization
    Comma-separated: FLATRATE, FREE, ADS, RENT, BUY, CINEMA, FLATRATE_AND_BUY, FAST.
    genres
    Comma-separated genre codes, e.g. act, cmy, drm, hrr, scf.
    year_min
    Released in or after this year.
    year_max
    Released in or before this year.
    limit
    Titles per page (default 20, max 40).
    cursor
    Pass `next_cursor` back; null on the last page.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
    records
    Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/justwatch/v1/leaving?output=json&providers=nfx' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "applied_filters": {
        "packages": [
          "nfx"
        ]
      },
      "cached": false,
      "count": 20,
      "country": "US",
      "credits_used": 1,
      "next_cursor": "MjA=",
      "titles": [
        {
          "age_certification": "R",
          "certified_fresh": null,
          "description": "In Los Angeles, a gang of bank robbers who call themselves The Ex-Presidents commit their crimes while wearing masks of Reagan, Carter, Nixo…",
          "dislikes": 209,
          "genre_codes": [
            "act",
            "crm",
            "… 1 more"
          ],
          "genres": [
            "Action & Adventure",
            "Crime",
            "… 1 more"
          ],
          "id": "tm8927",
          "imdb_id": "tt0102685",
          "imdb_score": 7.3,
          "imdb_votes": 231305,
          "justwatch_rating": 0.941059688809,
          "leaving_date": "2026-11-30",
          "likes": 3835,
          "object_id": 8927,
          "offer": {
            "added": "2026-11-01",
            "audio_languages": [],
            "audio_technology": [],
            "available_until": "2026-11-30",
            "currency": "USD",
            "episodes": null,
            "monetization": "FLATRATE",
            "previous_price": null,
            "price": null,
            "price_change_percent": 0,
            "price_text": null,
            "provider": "Netflix",
            "provider_code": "nfx",
            "provider_icon": "https://images.justwatch.com/icon/207360008/s100/netflix.png",
            "provider_id": 8,
            "provider_slug": "netflix",
            "quality": "SD",
            "subtitle_languages": [],
            "type": "STANDARD",
            "url": "https://www.netflix.com/title/60020602",
            "video_technology": []
          },
          "original_title": "Point Break",
          "poster": "https://images.justwatch.com/poster/45089359/s718/point-break-1991.jpg",
          "production_countries": [
            "US"
          ],
          "provider": "Netflix",
          "release_date": "1991-07-12",
          "released": true,
          "runtime_min": 120,
          "title": "Point Break",
          "tmdb_id": "1089",
          "tmdb_popularity": 9.116,
          "tmdb_score": 7.151,
          "tomatometer": 69,
          "type": "MOVIE",
          "upcoming_releases": [],
          "url": "https://www.justwatch.com/us/movie/point-break-1991",
          "year": 1991
        },
        {
          "age_certification": "R",
          "certified_fresh": null,
          "description": "Single father and former cop Tom Cutler has an unusual occupation: he cleans up death scenes. But when he's called in to sterilize a wealthy…",
          "dislikes": 61,
          "genre_codes": [
            "act",
            "crm",
            "… 1 more"
          ],
          "genres": [
            "Action & Adventure",
            "Crime",
            "… 1 more"
          ],
          "id": "tm78671",
          "imdb_id": "tt0896798",
          "imdb_score": 6.1,
          "imdb_votes": 50614,
          "justwatch_rating": 0.784286852746,
          "leaving_date": "2026-11-19",
          "likes": 292,
          "object_id": 78671,
          "offer": {
            "added": "2026-10-21",
            "audio_languages": [],
            "audio_technology": [],
            "available_until": "2026-11-19",
            "currency": "USD",
            "episodes": null,
            "monetization": "FLATRATE",
            "previous_price": null,
            "price": null,
            "price_change_percent": 0,
            "price_text": null,
            "provider": "Netflix",
            "provider_code": "nfx",
            "provider_icon": "https://images.justwatch.com/icon/207360008/s100/netflix.png",
            "provider_id": 8,
            "provider_slug": "netflix",
            "quality": "SD",
            "subtitle_languages": [],
            "type": "STANDARD",
            "url": "https://www.netflix.com/title/70095926",
            "video_technology": []
          },
          "original_title": "Cleaner",
          "poster": "https://images.justwatch.com/poster/182912292/s718/cleaner.jpg",
          "production_countries": [
            "US"
          ],
          "provider": "Netflix",
          "release_date": "2007-09-11",
          "released": true,
          "runtime_min": 88,
          "title": "Cleaner",
          "tmdb_id": "13252",
          "tmdb_popularity": 7.7023,
          "tmdb_score": 6.088,
          "tomatometer": 17,
          "type": "MOVIE",
          "upcoming_releases": [],
          "url": "https://www.justwatch.com/us/movie/cleaner",
          "year": 2007
        },
        "… 18 more"
      ],
      "total": 81,
      "within": "30d"
    }

Common questions

What is the default leaving window?

Within 30 days; supported alternatives cover today, tomorrow or seven days.

Does one country’s leaving date apply globally?

No. Preserve country, provider and offer context.

How do I filter streaming services?

Use comma-separated provider codes from Providers.

How do I continue results?

Pass next_cursor unchanged; limit defaults to 20 and is capped at 40.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use JustWatch Leaving Soon API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.