Movie Planner Site API

The site API from Movie Planner — 4 operation(s) for site.

GitHub OpenAPI

Operations 6

GET /api/site/plans Список всех планов пользователя #
POST /api/site/film/{film_id}/rating Поставить оценку 1-10 фильму #
DELETE /api/site/film/{film_id}/rating Снять оценку #
POST /api/site/film/{film_id}/watched Переключить «просмотрен» #
POST /api/site/premieres/{kp_id}/notify Включить уведомление о премьере #
DELETE /api/site/premieres/{kp_id}/notify Отключить уведомление #

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-site-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-site-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Movie Planner Unified Site 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: Site
paths:
  /api/site/plans:
    get:
      tags:
      - Site
      summary: Список всех планов пользователя
      security:
      - SiteSession: []
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Plan'
      operationId: getApiSitePlans
      x-operation-id-source: derived
  /api/site/film/{film_id}/rating:
    post:
      tags:
      - Site
      summary: Поставить оценку 1-10 фильму
      parameters:
      - in: path
        name: film_id
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                rating:
                  type: integer
                  minimum: 1
                  maximum: 10
      responses:
        '200':
          description: ok
      operationId: postApiSiteFilmByFilmIdRating
      x-operation-id-source: derived
    delete:
      tags:
      - Site
      summary: Снять оценку
      parameters:
      - in: path
        name: film_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: ok
      operationId: deleteApiSiteFilmByFilmIdRating
      x-operation-id-source: derived
  /api/site/film/{film_id}/watched:
    post:
      tags:
      - Site
      summary: Переключить «просмотрен»
      parameters:
      - in: path
        name: film_id
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                watched:
                  type: boolean
      responses:
        '200':
          description: ok
      operationId: postApiSiteFilmByFilmIdWatched
      x-operation-id-source: derived
  /api/site/premieres/{kp_id}/notify:
    post:
      tags:
      - Site
      summary: Включить уведомление о премьере
      parameters:
      - in: path
        name: kp_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: ok
      operationId: postApiSitePremieresByKpIdNotify
      x-operation-id-source: derived
    delete:
      tags:
      - Site
      summary: Отключить уведомление
      parameters:
      - in: path
        name: kp_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: ok
      operationId: deleteApiSitePremieresByKpIdNotify
      x-operation-id-source: derived
components:
  schemas:
    Plan:
      type: object
      required:
      - id
      - plan_type
      - plan_datetime
      - title
      properties:
        id:
          type: integer
        plan_id:
          type: integer
          description: Идентификатор плана, равен id; используется для удаления, не film_id и не kp_id.
        year:
          type:
          - integer
          - 'null'
        created_by_user_id:
          type:
          - integer
          - 'null'
          description: Автор плана; поле добавлено к существующему ответу.
        plan_type:
          type: string
          enum:
          - home
          - cinema
        plan_datetime:
          type: string
          format: date-time
        title:
          type: string
        film_id:
          type:
          - integer
          - 'null'
        kp_id:
          type:
          - integer
          - 'null'
        cinema_name:
          type:
          - string
          - 'null'
        cinema_address:
          type:
          - string
          - 'null'
        online_link:
          type:
          - string
          - 'null'
        is_series:
          type: boolean
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    SiteSession:
      type: apiKey
      in: header
      name: Authorization
      description: Bearer <site_session_token>