Evidence IDs
Every supported claim cites evidence supplied to the API. Unknown IDs are filtered, and absent inputs produce an explicit insufficient-data result.
Kurage Stock Brain is a stateless intelligence API for Japanese equities. It turns licensed or user-supplied market evidence into structured technical, fundamental, disclosure, news, debate and risk judgments—each tied back to evidence IDs and an explicit as-of time.
The stock-market sibling of Kurage Crypto Brain and Kurage FX Brain.
TradingAgents-JP is the reference application. ksbrain is the independent machine-to-machine product that other agents can reuse.
Every supported claim cites evidence supplied to the API. Unknown IDs are filtered, and absent inputs produce an explicit insufficient-data result.
Signals, confidence, counter-evidence, risks, missing data, data quality and timestamps use stable schemas instead of free-form chat.
The brain cannot touch a brokerage account. Orchestrators keep policy, sizing, human approval and execution outside the intelligence service.
The API keeps collection, reasoning, orchestration and execution as separate responsibilities.
Manual evidence or data obtained under the caller's J-Quants contract.
Normalize, timestamp, hash and assign immutable evidence IDs.
Gemma 4 evaluates only the supplied evidence and reports gaps.
TradingAgents-JP or another agent applies debate and policy gates.
Private API-key access works now. Official x402 V2 middleware is testnet-ready and remains disabled until a receiving wallet and facilitator are deliberately configured.
| Route | Purpose |
|---|---|
| POST /v1/evidence | Register traceable evidence |
| POST /v1/analyze/technical | Price and indicator judgment |
| POST /v1/analyze/fundamentals | Financial-statement judgment |
| POST /v1/analyze/disclosure | Disclosure and filing judgment |
| POST /v1/debate/bull-bear | Bull/bear synthesis |
| POST /v1/assess/risk | Risk assessment |
| POST /v1/analyze/full | Full evidence analysis |
| POST /v1/screen/opportunities | Rank up to ten symbols |
curl -X POST http://127.0.0.1:18338/v1/analyze/technical \
-H "Authorization: Bearer $KSBRAIN_KEY" \
-H "Content-Type: application/json" \
-d '{"symbol":"7203","evidence_ids":["ev_..."]}'