Ретритный центр «Остров» Quotes API

The Quotes API from Ретритный центр «Остров» — 1 operation(s) for quotes.

GitHub OpenAPI

Operations 1

POST /quotes Calculate without saving or contacting anyone. #

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/ostrov-center:ostrov-center-quotes-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

ostrov-center-quotes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ostrov public Quotes API
  version: 0.2.0
  description: Public retreat information and indicative quotes. A saved estimate or accepted application never implies confirmed availability. Guest sessions authorize only their own documents. Human links are confidential bearer capabilities.
servers:
- url: https://ostrov.center/api/public/v1
tags:
- name: Quotes
paths:
  /quotes:
    post:
      operationId: calculate_quote
      summary: Calculate without saving or contacting anyone.
      responses:
        '200':
          description: Successful operation. A quote/application does not itself confirm a booking.
          content:
            application/json:
              schema:
                type: object
                properties:
                  kind:
                    type: string
                    enum:
                    - group
                    - biggroup
                    - resident
                  quote:
                    $ref: '#/components/schemas/QuoteDetail'
                  currency:
                    const: RUB
                  complete:
                    type: boolean
                  calculatedAt:
                    type: string
                    maxLength: 100
                  availabilityStatus:
                    const: requires_confirmation
                required:
                - kind
                - quote
                - currency
                - complete
                - calculatedAt
                - availabilityStatus
                additionalProperties: false
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or expired session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Writes disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found or not owned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Version, idempotency or document conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; Retry-After header applies
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Unavailable or capacity reached; do not infer a zero price/free dates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequest'
      tags:
      - Quotes
components:
  schemas:
    ResidentQuoteDay:
      type: object
      properties:
        date:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        season:
          enum:
          - low
          - medium
          - high
        housing:
          type: number
        food:
          type: number
      required:
      - date
      - housing
      - food
      additionalProperties: false
    QuoteRequest:
      type: object
      properties:
        kind:
          type: string
          enum:
          - group
          - biggroup
          - resident
        plan:
          oneOf:
          - $ref: '#/components/schemas/GroupPlan'
          - $ref: '#/components/schemas/ResidentPlan'
        catalogVersion:
          type: integer
          minimum: 1
          maximum: 1000000000
      required:
      - kind
      - plan
      additionalProperties: false
    GroupPlan:
      type: object
      properties:
        arrival:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        departure:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        adults:
          type: integer
          minimum: 0
          maximum: 100
        youngChildrenAges:
          type: array
          maxItems: 30
          items:
            type: integer
            minimum: 0
            maximum: 5
          description: Information only; does not change any guest count, accommodation, food or price.
        policyVersion:
          type: integer
          const: 4
        teens:
          type: integer
          minimum: 0
          maximum: 100
          description: Children eligible for the child discount (currently 6–12). Despite the field name, full-rate children (currently 13+) belong in adults. Check the live catalogue.
        team:
          type: integer
          minimum: 0
          maximum: 100
          description: Adult organizers and team, separate from participants. Ordinary tariff charges the team fully; all-inclusive benefits are calculated by the server.
        youngChildren:
          type: integer
          const: 0
          description: Legacy counter kept at zero; use youngChildrenAges for information.
        organizer:
          type: string
          maxLength: 100
          description: Display name; required and nonempty when saving.
        title:
          type: string
          maxLength: 150
          description: Retreat name; required and nonempty when saving.
        housing:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              occupancy:
                type: integer
                minimum: 1
                maximum: 3
              quantity:
                type: integer
                minimum: 1
                maximum: 100
            required:
            - resource
            - occupancy
            - quantity
            additionalProperties: false
          maxItems: 100
        activities:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              day:
                type: integer
                minimum: 0
                maximum: 364
              slot:
                type: string
                maxLength: 100
              options:
                type: array
                items:
                  type: string
                  maxLength: 100
                maxItems: 20
            required:
            - resource
            - day
            - slot
            - options
            additionalProperties: false
          maxItems: 2000
        food:
          type: boolean
      required:
      - policyVersion
      - arrival
      - departure
      - adults
      - teens
      - team
      - housing
      - activities
      - food
      additionalProperties: false
    ResidentPlan:
      type: object
      properties:
        arrival:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        departure:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        adults:
          type: integer
          minimum: 1
          maximum: 20
        youngChildrenAges:
          type: array
          maxItems: 30
          items:
            type: integer
            minimum: 0
            maximum: 5
          description: Information only; does not change any guest count, accommodation, food or price.
        name:
          type: string
          maxLength: 100
          description: Required and nonempty when saving.
        children:
          type: array
          maxItems: 20
          items:
            type: integer
            minimum: 6
            maximum: 17
          description: Children counted in accommodation; current rules permit ages 6–17. Put younger ages in youngChildrenAges.
        housing:
          type: array
          minItems: 1
          maxItems: 30
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              occupancy:
                type: integer
                minimum: 1
                maximum: 3
            required:
            - resource
            - occupancy
            additionalProperties: false
        bathVisits:
          type: integer
          minimum: 0
          maximum: 100
      required:
      - arrival
      - departure
      - adults
      - children
      - housing
      - bathVisits
      additionalProperties: false
    QuoteDetail:
      type: object
      required:
      - kind
      - version
      - total
      - lines
      properties:
        kind:
          type: string
          enum:
          - group
          - biggroup
          - resident
        version:
          type: integer
          minimum: 1
          maximum: 1000000000
        total:
          type:
          - number
          - 'null'
          description: Authoritative server total in RUB after all applied discounts and extras. Never replace it with a sum of resident daily lines. Null means incomplete, never zero.
        lines:
          type: array
          description: 'group/biggroup: labeled signed amounts. resident: daily housing/food after child terms but before resident/duration discounts and paid baths; these are not the final total.'
          items:
            oneOf:
            - $ref: '#/components/schemas/GroupQuoteLine'
            - $ref: '#/components/schemas/ResidentQuoteDay'
        warnings:
          type: array
          items:
            type: string
            maxLength: 2000
        compositionComplete:
          type: boolean
        childSettings:
          $ref: '#/components/schemas/ChildRules'
        grossHousingTotal:
          type: number
          description: Housing before child and other discounts.
        grossFoodTotal:
          type: number
          description: Food before child and other discounts.
        childDiscountAmount:
          type: number
          description: Applied child discount. Already included in resident housingTotal, foodTotal and subtotal.
        housingTotal:
          type: number
          description: Resident housing after child terms, before resident/duration discounts.
        foodTotal:
          type: number
          description: Resident food after child terms, before resident/duration discounts.
        subtotal:
          type: number
          description: Resident housing plus food after child terms, before resident/duration discounts.
        residentDiscountAmount:
          type: number
          description: Applied resident discount; already included in total.
        durationDiscountAmount:
          type: number
          description: Applied duration discount; already included in total.
        bathTotal:
          type: number
          description: Resident paid bath charge; already included in total.
      additionalProperties: true
      description: Use kind to explain the breakdown and total as the server result. Public group quotes omit legacy teamSettings; childSettings contains only child-age/discount rules, never resident activities or duration policy.
    ChildRules:
      type: object
      properties:
        childFreeUnder:
          type: integer
          minimum: 0
          maximum: 18
        childDiscountUnder:
          type: integer
          minimum: 0
          maximum: 18
        childDiscount:
          type: integer
          minimum: 0
          maximum: 100
      required:
      - childFreeUnder
      - childDiscountUnder
      - childDiscount
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              maxLength: 100
            message:
              type: string
              maxLength: 2000
            retryAfter:
              type: integer
              minimum: 1
              maximum: 86400
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
    GroupQuoteLine:
      type: object
      required:
      - label
      - amount
      properties:
        label:
          type: string
          maxLength: 1000
        amount:
          type: number
          description: RUB; negative values are deductions already applied by the server.
        kind:
          type: string
          maxLength: 100
        rate:
          type: number
      additionalProperties: true
  securitySchemes:
    GuestSession:
      type: http
      scheme: bearer
      description: Token from POST sessions. Never send in a URL. Expires after 30 days; signup and private center keys are not required.