Operations 1
POST
/api/v1/tools/ask_cre_question
Ask a plain-English question about commercial real estate lending and get a…
#
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/relendi-com:relendi-com-knowledge-api"
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.
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: 3.2.0
info:
title: Relendi Public Knowledge API
version: 1.0.0
summary: Commercial real estate loan math and CRE knowledge lookup.
description: 'Relendi''s public API. No API key and no account are required.
**When to use it.** Reach for these operations when a commercial real
estate figure has to be exact rather than plausible. The calculators are
deterministic — the same inputs always return the same numbers.
**When not to use it.** Residential mortgages, consumer lending,
jurisdictions outside the United States, legal or tax advice, or live
rate quotes.
Agents that speak MCP should prefer https://relendi.com/api/mcp/public.'
contact:
name: Relendi support
email: support@relendi.com
url: https://relendi.com/contact
termsOfService: https://relendi.com/terms
servers:
- url: https://relendi.com
description: Production
tags:
- name: Knowledge
description: CRE finance knowledge lookup.
paths:
/api/v1/tools/ask_cre_question:
post:
operationId: askCreQuestion
summary: Ask a plain-English question about commercial real estate lending and get a…
description: Ask a plain-English question about commercial real estate lending and get a short answer grounded in Relendi's knowledge base, with citations. For loan math prefer size_loan or run_scenario, which are exact.
tags:
- Knowledge
x-deterministic: false
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
question:
type: string
minLength: 5
maxLength: 500
required:
- question
responses:
'200':
description: The computed result.
content:
application/json:
schema:
type: object
required:
- tool
- result
properties:
tool:
type: string
enum:
- ask_cre_question
deterministic:
type: boolean
result:
type: object
description: 'Result fields: answer, citations, grounded.'
additionalProperties: true
'400':
description: 'Error. Possible codes: invalid_input.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 'Error. Possible codes: unknown_tool, not_found.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'405':
description: 'Error. Possible codes: method_not_allowed.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 'Error. Possible codes: rate_limited, quota_exhausted.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: 'Error. Possible codes: tool_error.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: 'Error. Possible codes: flag_off.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- hint
- docs
properties:
code:
type: string
enum:
- invalid_input
- unknown_tool
- not_found
- method_not_allowed
- rate_limited
- quota_exhausted
- flag_off
- tool_error
description: Stable machine-readable failure code. Branch on this, not on the message.
message:
type: string
description: Human-readable explanation.
hint:
type: string
description: What to do differently on the next attempt.
docs:
type: string
format: uri
description: Documentation for this API.
details:
description: Field-level detail, present on validation failures.
x-mcp:
description: The same operations are available over MCP (Streamable HTTP).
endpoint: https://relendi.com/api/mcp/public
manifest: https://relendi.com/.well-known/mcp.json
x-rate-limit:
description: Anonymous calls are rate limited per IP and carry a daily quota. Exceeding either returns HTTP 429 with code rate_limited or quota_exhausted.