LLPRO Straight Line Lease API

The straight-line-lease API from LLPRO — 1 operation(s) for straight-line-lease.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/straight_line_lease Straight-Line Lease Expense #
GET /api/v1/tools/straight_line_lease Straight-Line Lease Expense (query string) #

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/llpro-ai:llpro-ai-straight-line-lease-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

llpro-ai-straight-line-lease-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO Straight Line Lease API
  version: '1'
  description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
  contact:
    email: support@llpro.ai
    url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: straight-line-lease
paths:
  /api/v1/tools/straight_line_lease:
    post:
      operationId: straight_line_lease
      summary: Straight-Line Lease Expense
      description: 'Work out the level monthly lease expense of an operating lease whose rent changes over the term (escalations, free-rent months), and the difference between that expense and the cash paid, year by year, with the running balance of accrued (or prepaid) rent. Send either steps (a list of rent periods in order, each with months and monthly_rent) or base_monthly_rent + term_months (+ annual_escalation_percent, + free_rent_months). Get back the total rent over the term, the level monthly expense, and for each lease year the cash paid, the expense, the difference and the cumulative difference. Straight-line convention: total fixed rent over the term divided evenly by the months (ASC 842-20-25-6 operating lease cost; ASC 840-20-25-1). Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/straight-line-lease). Not legal, tax or financial advice.'
      tags:
      - straight-line-lease
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required: []
              properties:
                steps:
                  description: Rent periods in order from lease start, e.g. [{months:12, monthly_rent:1000}, {months:12, monthly_rent:1100}]. Total months must be 360 or fewer.
                  type: array
                  minItems: 1
                  maxItems: 60
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - months
                    - monthly_rent
                    properties:
                      months:
                        description: How many months this rent applies.
                        type: integer
                        minimum: 1
                        maximum: 360
                      monthly_rent:
                        description: Fixed rent per month in this period (0 for free rent).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 1000000000
                base_monthly_rent:
                  description: Monthly rent in the first rent-paying year (with term_months).
                  type:
                  - number
                  - string
                  minimum: 0.01
                  maximum: 1000000000
                term_months:
                  description: Lease term in months (with base_monthly_rent).
                  type: integer
                  minimum: 2
                  maximum: 360
                annual_escalation_percent:
                  description: Rent goes up by this percent each lease anniversary (every 12 months), compounding. Default 0.
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 25
                free_rent_months:
                  description: Months of free rent at the start (inside the term). Default 0.
                  type: integer
                  minimum: 0
                  maximum: 359
      responses:
        '200':
          description: 'Tool result: {ok, tool, result, meta}'
        '402':
          description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
        '429':
          description: Rate limited
      x-mcp-annotations:
        title: Straight-Line Lease Expense
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: straight_line_lease_get
      summary: Straight-Line Lease Expense (query string)
      tags:
      - straight-line-lease
      parameters:
      - name: steps
        in: query
        required: false
        schema:
          description: Rent periods in order from lease start, e.g. [{months:12, monthly_rent:1000}, {months:12, monthly_rent:1100}]. Total months must be 360 or fewer.
          type: array
      - name: base_monthly_rent
        in: query
        required: false
        schema:
          description: Monthly rent in the first rent-paying year (with term_months).
          type:
          - number
          - string
          minimum: 0.01
          maximum: 1000000000
      - name: term_months
        in: query
        required: false
        schema:
          description: Lease term in months (with base_monthly_rent).
          type: integer
          minimum: 2
          maximum: 360
      - name: annual_escalation_percent
        in: query
        required: false
        schema:
          description: Rent goes up by this percent each lease anniversary (every 12 months), compounding. Default 0.
          type:
          - number
          - string
          minimum: 0
          maximum: 25
      - name: free_rent_months
        in: query
        required: false
        schema:
          description: Months of free rent at the start (inside the term). Default 0.
          type: integer
          minimum: 0
          maximum: 359
      responses:
        '200':
          description: Tool result
components:
  securitySchemes:
    agentId:
      type: apiKey
      in: header
      name: X-Agent-Id
      description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'