{"version":1,"resources":["http://stablemedia.dev/api/shows/search-title","http://stablemedia.dev/api/shows/search-filters","http://stablemedia.dev/api/shows/get","http://stablemedia.dev/api/shows/top","http://stablemedia.dev/api/countries/list","http://stablemedia.dev/api/countries/get","http://stablemedia.dev/api/genres/list"],"description":"Pay-per-request access to the Streaming Availability API. Search shows, browse countries, and list genres across 60+ countries and 200+ streaming services.","instructions":"# StableMedia API Reference\n\nPay-per-request access to the Streaming Availability API (Movie of the Night).\nCoverage: 60+ countries, 200+ streaming services. Scope: shows, countries,\ngenres.\n\n## Authentication\n\nAll endpoints require micropayment per the HTTP 402 specification. Payments\nsettle on Base mainnet (eip155:8453) or Solana.\n\n## Base URL\n\nhttps://stablemedia.dev\n\n## Agent Workflow\n\n1. Discover endpoints with `mcp__agentcash__discover_api_endpoints(\"https://stablemedia.dev\")`.\n2. Call `mcp__agentcash__check_endpoint_schema` before first fetch.\n3. Execute with `mcp__agentcash__fetch`.\n\n## Response size knobs\n\nResponses default to a lean shape. Heavy fields are opt-in via boolean flags:\n\n- `include_images` (shows, countries — default false) — adds poster/backdrop and service-logo imageSet URLs. Roughly +70% payload.\n- `include_audio_subtitles` (shows — default false) — adds per-option `audios[]` and `subtitles[]` arrays.\n- `include_addons` (countries — default false) — adds `services[].addons[]` (Apple-TV Channels etc). Roughly +80% payload on `countries/list`.\n\nOmit the flags (or pass `false`) for the smallest response that still answers \"where can I stream X?\". Turn them on only when you need the specific fields for a UI or for locale matching.\n\n---\n\n# Shows\n\n## POST /api/shows/search-title\nSearch for movies or series by title in a specific country.\nPrice: $0.01 per request\n\nExample:\n```json\n{\n  \"country\": \"us\",\n  \"title\": \"stranger things\",\n  \"show_type\": \"series\"\n}\n```\n\nParameters:\n- `country` (string, required) — ISO 3166-1 alpha-2 code (e.g. \"us\", \"gb\")\n- `title` (string, required) — Title to search for\n- `show_type` (string, optional) — \"movie\" or \"series\"\n- `series_granularity` (string, optional) — \"show\", \"season\", or \"episode\"\n- `output_language` (string, optional) — ISO 639-1 language code\n\n---\n\n## POST /api/shows/search-filters\nAdvanced catalog search with filters (catalogs, genres, year, rating, etc.).\nPrice: $0.01 per request\n\nExample:\n```json\n{\n  \"country\": \"us\",\n  \"catalogs\": \"netflix\",\n  \"show_type\": \"movie\",\n  \"genres\": \"drama\",\n  \"order_by\": \"popularity_1year\"\n}\n```\n\nParameters:\n- `country` (string, required) — ISO 3166-1 alpha-2 code\n- `catalogs` (string, optional) — comma-separated service IDs, e.g. \"netflix,prime\"\n- `show_type` (string, optional) — \"movie\" or \"series\"\n- `genres` (string, optional) — comma-separated genre IDs\n- `genres_relation` (string, optional) — \"and\" or \"or\" (default \"and\")\n- `show_original_language` (string, optional) — ISO 639-1 code\n- `year_min`, `year_max` (integer, optional)\n- `rating_min`, `rating_max` (integer 0-100, optional)\n- `keyword` (string, optional)\n- `series_granularity` (string, optional)\n- `order_by` (string, optional) — e.g. \"original_title\", \"popularity_1year\", \"rating\", \"release_date\"\n- `order_direction` (string, optional) — \"asc\" or \"desc\"\n- `cursor` (string, optional) — pagination token from a previous response\n- `output_language` (string, optional)\n\n---\n\n## POST /api/shows/get\nGet details for a single show by internal ID, IMDb ID (tt-format), or TMDB ID\n(movie/tv format).\nPrice: $0.01 per request\n\nExample:\n```json\n{\n  \"id\": \"6\",\n  \"country\": \"us\"\n}\n```\n\nParameters:\n- `id` (string, required)\n- `country` (string, optional) — include streaming availability for this country\n- `series_granularity` (string, optional)\n- `output_language` (string, optional)\n\n---\n\n## POST /api/shows/top\nTop shows for a specific service in a country. Supported services: netflix,\nprime, disney, apple, hbo.\nPrice: $0.01 per request\n\nExample:\n```json\n{\n  \"country\": \"us\",\n  \"service\": \"netflix\",\n  \"show_type\": \"series\"\n}\n```\n\nParameters:\n- `country` (string, required)\n- `service` (string, required) — service ID\n- `show_type` (string, optional) — \"movie\" or \"series\"\n- `output_language` (string, optional)\n\n---\n\n# Countries\n\n## POST /api/countries/list\nList every supported country with its streaming services.\nPrice: $0.01 per request\n\nExample:\n```json\n{}\n```\n\n---\n\n## POST /api/countries/get\nGet a single country's details and available services.\nPrice: $0.01 per request\n\nExample:\n```json\n{\n  \"country_code\": \"us\"\n}\n```\n\n---\n\n# Genres\n\n## POST /api/genres/list\nList all supported genres.\nPrice: $0.01 per request\n\nExample:\n```json\n{}\n```\n\n---\n\n# Pricing Summary\n\n| Endpoint | Price |\n|----------|-------|\n| POST /api/shows/search-title   | $0.01 |\n| POST /api/shows/search-filters | $0.01 |\n| POST /api/shows/get            | $0.01 |\n| POST /api/shows/top            | $0.01 |\n| POST /api/countries/list       | $0.01 |\n| POST /api/countries/get        | $0.01 |\n| POST /api/genres/list          | $0.01 |\n"}