Movie Planner Tv API

The Tv API from Movie Planner — 1 operation(s) for tv.

GitHub OpenAPI

Operations 1

POST /v1/tv/launch Команда ТВ-агенту open_film и cast_url (как /api/site/tv/launch) #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/movie-planner-ru:movie-planner-ru-tv-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

movie-planner-ru-tv-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Movie Planner Unified Tv API
  version: 1.2.2
  description: 'Единый API для Mini App, сайта movie-planner.ru, Chrome-расширения и

    нативных мобильных приложений (React Native).


    Билеты (`POST /v1/plans/{id}/tickets`) поддерживаются только для планов с `plan_type: cinema`.

    Для кино в `POST /v1/plans` передавайте реальное название и/или адрес кинотеатра; **не передавайте заглушки**

    вроде одного слова «Кинотеатр» без адреса — геокодер интерпретирует это как запрос и может выбрать случайную точку в городе.

    Если адрес пользователя ещё неизвестен, **опустите** `cinema_name` и `cinema_address`.

    При осмысленной строке и отсутствии координат сервер при `YANDEX_GEOCODER_API_KEY` нормализует адрес и подставит `cinema_lat` / `cinema_lon`.

    События в Google Calendar и .ics получают человекочитаемое описание (ссылка на Кинопоиск, кинотеатр, Яндекс.Карты).


    MCP Streamable HTTP: `/mcp` — те же Bearer-токены, что для `/v1` (инструменты для Cursor / Claude Desktop).


    Три группы авторизации:

    • `/api/miniapp/*` — Telegram Mini App (initData) ИЛИ Bearer JWT (RN).

    • `/api/site/*` — Bearer token из site_sessions.

    • `/v1/*` — версия API для агентов; Bearer = JWT, site session или OAuth token.

    Для OAuth: если при authorize указан непустой `scope`, на /v1 проверяются права

    (profile.read, movies.read/write, plans.read/write, calendar.read). Пустой scope у OAuth = полный доступ.

    • `/oauth/*` — OAuth2 code + PKCE: authorize (нужен уже залогиненный Bearer) и token.

    • `/api/extension/*` — chat_id query param (legacy).

    • `/api/auth/*` — регистрация / refresh / me, выдаёт JWT пары.

    • `/api/push/register` — FCM-токен устройств RN.

    • `/api/maps/*` — общие maps-подсказки (без авторизации).


    Стабильные поля в ответах всех плановых/фильмовых эндпоинтов совместимы,

    что даёт возможность генерировать единый клиент (openapi-typescript).'
servers:
- url: https://web-production-3921c.up.railway.app
  description: Production
security:
- BearerAuth: []
- SiteSession: []
tags:
- name: TV
paths:
  /v1/tv/launch:
    post:
      tags:
      - TV
      summary: Команда ТВ-агенту open_film и cast_url (как /api/site/tv/launch)
      security:
      - BearerAuth: []
      - SiteSession: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - kp_id
              properties:
                kp_id:
                  type: integer
                title:
                  type: string
      responses:
        '200':
          description: ok
        '400':
          description: bad request
        '401':
          description: unauthorized
        '403':
          description: insufficient_scope
      operationId: postV1TvLaunch
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    SiteSession:
      type: apiKey
      in: header
      name: Authorization
      description: Bearer <site_session_token>