Upvest Investment API.
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
Returns account returns starting from and including this date (UTC)
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
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/accounts/{account_id}/returns
- Live environment
https://api.upvest.co/accounts/{account_id}/returns
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/accounts/{account_id}/returns?start_date=2023-08-15&end_date=2023-08-15&sort=date&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": 2, "total_count": 2, "sort": "date", "order": "ASC" }, "data": [ { … }, { … } ] }
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
Date when returns were calculated. RFC 3339-5, ISO8601 UTC
- Sandbox environment
https://sandbox.upvest.co/Account returns events
- Live environment
https://api.upvest.co/Account returns events
{ "id": "399dc0a7-f4cb-42a4-9513-496df030381e", "created_at": "2023-09-02T05:15:00Z", "type": "ACCOUNT_RETURNS.CREATED", "object": { "account_id": "bbe9e784-e009-4cb6-a07c-24831897327b", "date": "2023-09-01", "twr": { … } }, "webhook_id": "435719ac-c064-4c7a-a8b9-6db9446965de" }