Download OpenAPI specification:
insighta cloud public API for portfolio management and trading.
Service: https://insighta.cloud
All endpoints require a Bearer API key in the Authorization header:
Authorization: Bearer <your_api_key>
API keys can be issued at https://insighta.cloud/settings
Without query params: returns the caller's portfolios. With search params: searches public portfolios.
| search | string Search term for portfolio name |
| country | string Filter by country code |
| sort_by | string Sort field |
| last_item | string Pagination cursor (portfolio ID) |
{- "data": [
- {
- "id": "string",
- "name": "",
- "language": null,
- "country": null,
- "description": "",
- "type": "record",
- "items": [ ],
- "holdings": { },
- "target_return": "0.0",
- "start_date": "",
- "target_date": "",
- "is_public": 0,
- "budget": { },
- "initial_budget": { },
- "balance": { },
- "currency": "USD",
- "author": null,
- "like_count": 0,
- "order_count": 0,
- "realized_pnl": "0.0",
- "is_alarm_enabled": null,
- "metrics": null,
- "settings": null,
- "created_at": "",
- "last_updated_at": "",
- "memo": null
}
]
}| name required | string Portfolio name |
| type required | string Enum: "simulation" "record" Portfolio type |
| currency required | string Enum: "USD" "KRW" "JPY" Base currency |
| budget required | number Initial budget amount |
| description | string Default: "" |
| target_return | number Default: 0 |
| target_date | string Default: "" |
Array of objects | |
| settings | object |
{- "name": "string",
- "type": "simulation",
- "currency": "USD",
- "budget": 0,
- "description": "",
- "target_return": 0,
- "target_date": "",
- "items": [
- {
- "ticker": "string",
- "type": "stock",
- "price": 0,
- "quantity": 0,
- "ratio": 0
}
], - "settings": { }
}{- "data": {
- "portfolio_id": "string",
- "result": "string"
}
}Returns performance metrics history.
Valid metrics: twr, target_twr, mwr, target_mwr.
| portfolio_id required | string |
| metrics required | string Comma-separated metrics (twr,mwr,target_twr,target_mwr) |
| from_t | integer Start timestamp (unix epoch) |
| to_t | integer End timestamp (unix epoch) |
{- "data": {
- "items": [
- {
- "t": 0,
- "twr": 0,
- "target_twr": 0,
- "mwr": 0,
- "target_mwr": 0
}
]
}
}Submit a trade order to update portfolio holdings.
| portfolio_id required | string (Portfolio Id) |
required | Array of objects (Items) |
Currency (string) or Currency (null) (Currency) Default: null | |
Payment Currency (string) or Payment Currency (null) (Payment Currency) Default: null | |
Custom Exchange Rate (number) or Custom Exchange Rate (null) (Custom Exchange Rate) Default: null | |
Is Custom Exchange Rate (boolean) or Is Custom Exchange Rate (null) (Is Custom Exchange Rate) Default: false | |
Memo (string) or Memo (null) (Memo) Default: null | |
Array of Cash Deposits (objects) or Cash Deposits (null) (Cash Deposits) Default: null |
{- "portfolio_id": "string",
- "items": [
- {
- "id": "string",
- "ticker": "string",
- "price": 0,
- "currency": "string",
- "timestamp": null,
- "quantity": 0,
- "price_type": "string"
}
], - "currency": null,
- "payment_currency": null,
- "custom_exchange_rate": null,
- "is_custom_exchange_rate": false,
- "memo": null,
- "cash_deposits": null
}{- "message": "string"
}