Upvest Investment API.
- List user reports
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
Report type
- ACCOUNT_CLOSING - Securities account closure
- ACCOUNT_OPENING - Securities account opening
- AD_HOC_ACCOUNT_STATEMENT - Ad hoc account statement
- ANNUAL_ACCOUNT_STATEMENT - Annual account statement
- ANNUAL_INCOME_STATEMENT - Annual tax income statement ("Erträgnisaufstellung")
- ANNUAL_TAX_STATEMENT - Annual tax reporting
- BANK_ACCOUNT_CONNECTED - Connect reference bank account
- BUY_ORDER - Buy order
- CANCELLED_ORDER - Cancelled buy or sell order (not yet executed, user cancels or trading venue cancelled)
- CORPORATE_ACTION_CASH_TRANSACTION - cash transaction document (after corporate action)
- CORPORATE_ACTION_SECURITY_TRANSACTION - security transaction document (after corporate action)
- DIRECT_DEBIT_MANDATE - Creation of SEPA direct debit mandate
- EX_POST_COST - Ex-post cost report
- FUND_COMMUNICATION - Generic fund communication
- GENERAL_MEETING_NOTIFICATION - General meeting notification
- GENERIC_COMMUNICATION - Generic communication
- INCOME_DISTRIBUTION - Income distribution report
- INCOME_REINVESTMENT - Reinvestment billing report (accumulating funds)
- QUARTERLY_ACCOUNT_STATEMENT - Quarterly account statement
- REVOKED_ORDER - Revoked buy or sell order ("Storno")
- SECURITIES_TRANSFER_INCOMING - Securities are transferred in
- SECURITIES_TRANSFER_OUTGOING - Securities are being transferred out
- SELL_ORDER - Sell order
- TAX_EXEMPTION_CREATION - Creation of exemption order ("Freistellungsauftrag")
- TAX_PAYMENT - Tax payment document
- TAX_PREPAYMENT_DE - German tax prepayment (Vorabpauschale)
- TAX_REFUND - Tax refund document (after tax optimization)
International securities identification number, prefixed with string 'isin:'
Returns reports generated starting from and including this date (UTC)
Field of resource to sort by
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
Use the limit
argument to specify the maximum number of items returned.
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/users/{user_id}/reports
- Live environment
https://api.upvest.co/users/{user_id}/reports
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/users/{user_id}/reports?type=BUY_ORDER&instrument=uuid%3Aebabcf4d-61c3-4942-875c-e265a7c2d062&start_date=2020-08-21&end_date=2020-09-25&sort=id&order=ASC&limit=100&offset=0' \
-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'
Reports list
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Report type
- ACCOUNT_CLOSING - Securities account closure
- ACCOUNT_OPENING - Securities account opening
- AD_HOC_ACCOUNT_STATEMENT - Ad hoc account statement
- ANNUAL_ACCOUNT_STATEMENT - Annual account statement
- ANNUAL_INCOME_STATEMENT - Annual tax income statement ("Erträgnisaufstellung")
- ANNUAL_TAX_STATEMENT - Annual tax reporting
- BANK_ACCOUNT_CONNECTED - Connect reference bank account
- BUY_ORDER - Buy order
- CANCELLED_ORDER - Cancelled buy or sell order (not yet executed, user cancels or trading venue cancelled)
- CORPORATE_ACTION_CASH_TRANSACTION - cash transaction document (after corporate action)
- CORPORATE_ACTION_SECURITY_TRANSACTION - security transaction document (after corporate action)
- DIRECT_DEBIT_MANDATE - Creation of SEPA direct debit mandate
- EX_POST_COST - Ex-post cost report
- FUND_COMMUNICATION - Generic fund communication
- GENERAL_MEETING_NOTIFICATION - General meeting notification
- GENERIC_COMMUNICATION - Generic communication
- INCOME_DISTRIBUTION - Income distribution report
- INCOME_REINVESTMENT - Reinvestment billing report (accumulating funds)
- QUARTERLY_ACCOUNT_STATEMENT - Quarterly account statement
- REVOKED_ORDER - Revoked buy or sell order ("Storno")
- SECURITIES_TRANSFER_INCOMING - Securities are transferred in
- SECURITIES_TRANSFER_OUTGOING - Securities are being transferred out
- SELL_ORDER - Sell order
- TAX_EXEMPTION_CREATION - Creation of exemption order ("Freistellungsauftrag")
- TAX_PAYMENT - Tax payment document
- TAX_PREPAYMENT_DE - German tax prepayment (Vorabpauschale)
- TAX_REFUND - Tax refund document (after tax optimization)
{ "meta": { "offset": 0, "limit": 100, "count": 1, "total_count": 1, "sort": "id", "order": "ASC" }, "data": [ { … } ] }
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
Order details.
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN -
- Sandbox environment
https://sandbox.upvest.co/reports
- Live environment
https://api.upvest.co/reports
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/reports \
-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 '{
"type": "ORDER_EX_ANTE_COST",
"order": {
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"account_id": "c5034305-c441-4711-adbf-93cfbc13a695",
"order_type": "MARKET",
"side": "BUY",
"instrument_id": "LU0274208692",
"instrument_id_type": "ISIN",
"currency": "EUR",
"quantity": "15"
},
"fees": [
{
"type": "TRANSACTION_FEE_BUY",
"value_type": "ABSOLUTE",
"cash_amount": "0.80",
"currency": "EUR"
},
{
"type": "TRANSACTION_FEE_SELL",
"value_type": "ABSOLUTE",
"cash_amount": "0.95",
"currency": "EUR"
},
{
"type": "ANNUAL_AUM_BASED_FEE",
"value_type": "RELATIVE",
"bps": "37"
}
],
"inducements": [
{
"value_type": "ABSOLUTE",
"cash_amount": "0.10",
"currency": "EUR"
}
]
}'
{ "id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f", "created_at": "2023-08-24T14:15:22Z", "user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5", "type": "ORDER_EX_ANTE_COST", "substituted_report_id": null, "data": { "account": { … }, "account_group": { … }, "user": { … }, "instrument": { … }, "venue": { … }, "order": { … }, "holding_period": { … }, "total_cost": { … }, "product_cost": { … }, "service_cost": { … }, "third_party_payments": { … }, "return_impact": { … } } }
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
Upvest API version (Note: Do not include quotation marks)
- Sandbox environment
https://sandbox.upvest.co/reports/{report_id}
- Live environment
https://api.upvest.co/reports/{report_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/reports/{report_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'accept: 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'
Report
- application/json
- application/pdf
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Report type
- ACCOUNT_CLOSING - Securities account closure
- ACCOUNT_OPENING - Securities account opening
- AD_HOC_ACCOUNT_STATEMENT - Ad hoc account statement
- ANNUAL_ACCOUNT_STATEMENT - Annual account statement
- ANNUAL_INCOME_STATEMENT - Annual tax income statement ("Erträgnisaufstellung")
- ANNUAL_TAX_STATEMENT - Annual tax reporting
- BANK_ACCOUNT_CONNECTED - Connect reference bank account
- BUY_ORDER - Buy order
- CANCELLED_ORDER - Cancelled buy or sell order (not yet executed, user cancels or trading venue cancelled)
- CORPORATE_ACTION_CASH_TRANSACTION - cash transaction document (after corporate action)
- CORPORATE_ACTION_SECURITY_TRANSACTION - security transaction document (after corporate action)
- DIRECT_DEBIT_MANDATE - Creation of SEPA direct debit mandate
- EX_POST_COST - Ex-post cost report
- FUND_COMMUNICATION - Generic fund communication
- GENERAL_MEETING_NOTIFICATION - General meeting notification
- GENERIC_COMMUNICATION - Generic communication
- INCOME_DISTRIBUTION - Income distribution report
- INCOME_REINVESTMENT - Reinvestment billing report (accumulating funds)
- QUARTERLY_ACCOUNT_STATEMENT - Quarterly account statement
- REVOKED_ORDER - Revoked buy or sell order ("Storno")
- SECURITIES_TRANSFER_INCOMING - Securities are transferred in
- SECURITIES_TRANSFER_OUTGOING - Securities are being transferred out
- SELL_ORDER - Sell order
- TAX_EXEMPTION_CREATION - Creation of exemption order ("Freistellungsauftrag")
- TAX_PAYMENT - Tax payment document
- TAX_PREPAYMENT_DE - German tax prepayment (Vorabpauschale)
- TAX_REFUND - Tax refund document (after tax optimization)
{ "id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f", "created_at": "2020-08-24T14:15:22Z", "user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5", "type": "BUY_ORDER", "substituted_report_id": null, "data": { "account": { … } } }