DueBuddy Plans API

The plans API from DueBuddy — 4 operation(s) for plans.

Operations 4

GET /api/v1/plans List Plans #
GET /api/v1/plans/current Current Plan #
GET /api/v1/plans/upgrade-price Upgrade Price #
POST /api/v1/plans/select Select Plan #

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/duebuddy-work:duebuddy-work-plans-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

duebuddy-work-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DueBuddy Plans API
  version: 0.3.0
tags:
- name: Plans
paths:
  /api/v1/plans:
    get:
      tags:
      - Plans
      summary: List Plans
      description: 'Публичный список тарифов: актуальные планы, цены по рынкам, лимиты страниц.'
      operationId: list_plans_api_v1_plans_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PlanOut'
                type: array
                title: Response List Plans Api V1 Plans Get
  /api/v1/plans/current:
    get:
      tags:
      - Plans
      summary: Current Plan
      operationId: current_plan_api_v1_plans_current_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentPlanOut'
  /api/v1/plans/upgrade-price:
    get:
      tags:
      - Plans
      summary: Upgrade Price
      operationId: upgrade_price_api_v1_plans_upgrade_price_get
      parameters:
      - name: to
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 4
          title: To
      - name: period
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - m
            - y
            type: string
          - type: 'null'
          title: Period
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/plans/select:
    post:
      tags:
      - Plans
      summary: Select Plan
      operationId: select_plan_api_v1_plans_select_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelectIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SelectOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UpgradeOut:
      properties:
        from_plan:
          anyOf:
          - type: string
          - type: 'null'
          title: From Plan
        to_plan:
          type: string
          title: To Plan
        upgrade:
          type: boolean
          title: Upgrade
        amount_rub:
          type: integer
          title: Amount Rub
        full_price_rub:
          type: integer
          title: Full Price Rub
        reason:
          type: string
          title: Reason
      type: object
      required:
      - to_plan
      - upgrade
      - amount_rub
      - full_price_rub
      - reason
      title: UpgradeOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PlanOut:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        price_month_rub:
          type: integer
          title: Price Month Rub
        price_year_rub:
          type: integer
          title: Price Year Rub
        price_month_eur:
          type: number
          title: Price Month Eur
          default: 0
        price_year_eur:
          type: number
          title: Price Year Eur
          default: 0
        price_month_usd:
          type: number
          title: Price Month Usd
          default: 0
        price_year_usd:
          type: number
          title: Price Year Usd
          default: 0
        features:
          items:
            type: string
          type: array
          title: Features
        scan_pages:
          type: integer
          title: Scan Pages
          default: 0
      type: object
      required:
      - code
      - name
      - price_month_rub
      - price_year_rub
      - features
      title: PlanOut
    SelectOut:
      properties:
        ok:
          type: boolean
          title: Ok
          default: true
        plan_code:
          type: string
          title: Plan Code
        period:
          type: string
          title: Period
        amount_rub:
          type: integer
          title: Amount Rub
        payment_required:
          type: boolean
          title: Payment Required
          default: true
      type: object
      required:
      - plan_code
      - period
      - amount_rub
      title: SelectOut
    CurrentPlanOut:
      properties:
        plan_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Plan Code
        period:
          anyOf:
          - type: string
          - type: 'null'
          title: Period
        paid_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Paid At
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
        plan_paid:
          type: boolean
          title: Plan Paid
          default: false
        days_left:
          anyOf:
          - type: integer
          - type: 'null'
          title: Days Left
      type: object
      title: CurrentPlanOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SelectIn:
      properties:
        plan_code:
          type: string
          title: Plan Code
        period:
          type: string
          enum:
          - m
          - y
          title: Period
          default: m
      type: object
      required:
      - plan_code
      title: SelectIn