the402 endpoint detail

← All endpoints

stockwaves.net portfolio optimize

https://stockwaves.net/api/portfolio/optimize

answers 402

Stateless portfolio optimizer — bring your own signals, get risk-constrained weights. POST {assets:[{symbol,target,confidence?,vol?,regime?}], config?} → optimized portfolio targets via inverse-vol weighting, confidence/conviction scaling, same-family correlation penalty, gross/net + per-symbol caps, regime haircut. Pure compute, no account data.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.05
Network
base
Pay to
0xDc9F94A8b93F070B58cfa580cbE740d763005FE6
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
601 ms
Payment options
2 usable of 2
Last checked
2026-08-15T14:38:46.408Z (4d ago)
Category
data

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fstockwaves.net%2Fapi%2Fportfolio%2Foptimize"