Portfolio
Analyze credit card portfolio
Portfolio analysis with card-by-card value breakdowns and decisions. Use ?mode=fast for deterministic-only (<100ms) or ?mode=verbose for AI narrative (3-5s).
post/api/v1/portfolio/analyze
Request
- Base URL: https://kokofinance.net (the document declares no server; this is the origin it was published from)
- URL: https://kokofinance.net/api/v1/portfolio/analyze
- Auth: API key in header X-API-Key
Query parameters
mode'fast' | 'verbose'
Response mode for intelligence endpoints.
fast=deterministic <100ms, verbose=AI narrative 3-5s
Headers
authorizationstring nullable
Request body
Example request
{
"cards": [
{
"annual_fee": 95,
"card_name": "Chase Sapphire Preferred"
},
{
"annual_fee": 250,
"card_name": "American Express Gold Card"
}
],
"params": {
"primary_goal": "travel",
"spending": {
"dining": 500,
"gas": 100,
"groceries": 400,
"other": 150,
"shopping": 200,
"streaming": 30,
"travel": 300
}
}
}Response
Portfolio analysis with card-by-card breakdown
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.