Japan new NISA limits
logigrain.net/api/nisa
Japan new NISA limits: how much can still be bought this year and next year under the annual limits (つみたて 1.2M / 成長 2.4M yen) and the 18M-yen lifetime book-value limit (成長 up to 12M). Selling frees the book value (cost), not the sale price, from the next year. Returns the rule basis, assumptions, what would change the answer and a quotable sentence; asks for book values instead of guessing. Rules
GET
https://logigrain.net/api/nisaUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://logigrain.net/api/nisa?bought_growth=1000000&bought_tsumitate=600000&held_growth=5000000&held_tsumitate=3000000&sale_price=1500000&sold_growth=1000000");
console.log(await res.json());Example input
{
"bought_growth": "1000000",
"bought_tsumitate": "600000",
"held_growth": "5000000",
"held_tsumitate": "3000000",
"sale_price": "1500000",
"sold_growth": "1000000"
}