---
title: "Internal Rate of Return (IRR)"
method: POST
path: "/v1/tools/compute_irr"
tags: ["TODO_TAGS_REVIEW"]
---

# Internal Rate of Return (IRR)

`POST /v1/tools/compute_irr`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/compute_irr`
- Auth: none declared

Internal rate of return for an equal-period cash flow series, solved by deterministic bisection over a declared rate bracket with declared tolerance and iteration cap. Never Newton/derivative-based, so no float-drift nondeterminism. Reports whether the bracket contained a sign change and whether the search converged.

**Tool URL:** https://ainumbers.co/chaingraph/art-325-tvm-irr.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `bracket_hi` number
  - `bracket_lo` number
  - `cash_flows` unknown[], required
    - unknown
  - `max_iterations` number
  - `tolerance` number, required

## Response `200`

Successful tool execution result

- object
  - `bracket_hi_pct` integer
  - `bracket_lo_pct` number
  - `converged` boolean
  - `irr_pct` number
  - `iterations` integer
  - `method` string
  - `note` string
  - `num_cash_flows` integer
  - `regulatory_basis` string
  - `tolerance` number

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
