agent402.tools
Compute the internal rate of return (IRR) of a cashflow stream - the discount rate at which NPV = 0. Index 0 is treated as t=0 (typically the negative initial investment); indices 1..n are inflows in subsequent periods. Solved via Newton-Raphson with bisection fallback. Requires at least one positive and one negative cashflow (otherwise IRR is undefined). Multiple sign changes in the cashflows can produce multiple IRR roots - we return the first one found.
Resource URL
https://agent402.tools/api/irr
Payment options
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.002 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg
- Timeout
- 300s
$0.001 USDC
Max amount
- Pay to
- C7IIHG7SPLPZ5H7ZT6HW3UV2OQMQQE6Y2HBNGZXSLRJULE42BEE2OY2XIE
- Timeout
- 300s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://agent402.tools/api/irr Type: http Sources: payai, ultravioletadao, cdp, thirdweb