Upvest Investment API.
- List portfolios allocation accounts
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
- Sandbox environment
https://sandbox.upvest.co/portfolios/orders/{portfolio_order_id}
- Live environment
https://api.upvest.co/portfolios/orders/{portfolio_order_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://sandbox.upvest.co/portfolios/orders/{portfolio_order_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062'
No content
Sort order of the result list if the sort
parameter is specified. By default, only ASC for ascending sort.
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
- Sandbox environment
https://sandbox.upvest.co/portfolios/allocations/{allocation_id}/accounts
- Live environment
https://api.upvest.co/portfolios/allocations/{allocation_id}/accounts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/portfolios/allocations/{allocation_id}/accounts?sort=id&order=ASC&offset=0&limit=100' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062'
{ "meta": { "offset": 0, "limit": 100, "count": 1, "total_count": 1, "sort": "id", "order": "ASC" }, "data": [ { … } ] }
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
Event type
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
Execution status of the Portfolio Order.
- NEW -
- PROCESSING -
- FILLED -
- SETTLED -
- CANCELLED -
What triggered the order creation .
- API -
- SAVINGS_PLAN -
Orders associated with this portfolio order
Explains the reason why the order was cancelled .
- ACCOUNT_IS_EMPTY -
- CANCELLED_BY_CLIENT -
- CANCELLED_BY_UPVEST -
- PORTFOLIO_IS_BALANCED -
- SELL_LIMIT_EXCEEDED -
- Sandbox environment
https://sandbox.upvest.co/Portfolio orders events
- Live environment
https://api.upvest.co/Portfolio orders events
{ "id": "54b8d84f-5bd0-4e43-bf0f-164388cb4c23", "created_at": "2021-07-21T14:10:00.00Z", "type": "PORTFOLIO_ORDER.NEW", "object": { "id": "eb5ba93f-5dfe-4bf1-8571-4da0caacc80c", "created_at": "2021-07-21T14:10:00.000Z", "updated_at": "2021-07-21T14:10:00.000Z", "account_id": "debf2026-f2da-4ff0-bb84-92e45babb1e3", "allocation_id": "debf2026-f2da-4ff0-bb84-92e45babb1e3", "cash_amount": "1000", "currency": "EUR", "status": "PROCESSING", "type": "SELL", "post_tax": false, "client_reference": "", "initiation_flow": "API", "orders": [ … ] }, "webhook_id": "cd2e4183-4e62-4e0f-981b-44b594d14610" }