Upvest Investment API.
- Retrieve portfolios allocation
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
A UUID to be used as an idempotency key. This prevents a duplicate request from being replayed. https://docs.upvest.co/documentation/concepts/api_concepts/idempotency
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
- Sandbox environment
https://sandbox.upvest.co/portfolios/allocations
- Live environment
https://api.upvest.co/portfolios/allocations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/portfolios/allocations \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'idempotency-key: ccb07f42-4104-44ad-8e1f-c660bb7b269c' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062' \
-d '{
"name": "Allocation 1",
"allocation": [
{
"instrument_id": "IE00B0M62Q58",
"instrument_id_type": "ISIN",
"weight": "0.7"
},
{
"instrument_id": "US0378331005",
"instrument_id_type": "ISIN",
"weight": "0.3"
}
]
}'
Portfolios allocation
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
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
{ "id": "436244bb-4afd-4002-b53b-b1d7a3bca032", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "name": "Allocation 1", "allocation": [ { … }, { … } ] }
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}
- Live environment
https://api.upvest.co/portfolios/allocations/{allocation_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/portfolios/allocations/{allocation_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'
Portfolios allocation
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
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
{ "id": "bf5f2676-4535-403d-bc66-06ec38cc70af", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "name": "Allocation 1", "allocation": [ { … }, { … } ] }
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
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
- Sandbox environment
https://sandbox.upvest.co/portfolios/allocations/{allocation_id}
- Live environment
https://api.upvest.co/portfolios/allocations/{allocation_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://sandbox.upvest.co/portfolios/allocations/{allocation_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-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' \
-d '{
"allocation": [
{
"instrument_id": "IE00B0M62Q58",
"instrument_id_type": "ISIN",
"weight": "0.6"
},
{
"instrument_id": "US0378331005",
"instrument_id_type": "ISIN",
"weight": "0.4"
}
]
}'
Portfolios allocation
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
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
{ "id": "436244bb-4afd-4002-b53b-b1d7a3bca032", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-22T15:10:00.00Z", "name": "Allocation 1", "allocation": [ { … }, { … } ] }