Skip to main content
GET
/
api
/
portfolio
Get portfolio overview
curl --request GET \
  --url https://api.useblueprints.ai/api/portfolio \
  --header 'Authorization: Bearer <token>'
{
  "runningBlueprints": 123,
  "openPositions": 123,
  "pendingOrders": 123,
  "totalPnl": 123
}
Use this endpoint to show an account summary across running blueprints, open positions, pending orders, and aggregate PnL.
curl https://api.useblueprints.ai/api/portfolio \
  -H "Authorization: Bearer bp_YOUR_API_KEY"

Authorizations

Authorization
string
header
default:bp_YOUR_API_KEY
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Portfolio overview.

runningBlueprints
number
openPositions
number
pendingOrders
number
totalPnl
number