Skip to content

Upvest Investment API (1.75.0)

Upvest Investment API.

Download OpenAPI description
Overview
URL

https://docs.upvest.co

Upvest API Support

api@upvest.co

License

Apache 2.0

Languages
Servers
Sandbox environment

https://sandbox.upvest.co/

Live environment

https://api.upvest.co/

Access Tokens

All authentication related paths.

Operations
OperationsWebhooks

User Identifiers

All user identifiers related paths.

Operations

User Checks

All user checks related paths.

OperationsWebhooks

Accounts

All accounts related paths

OperationsWebhooks

Account Groups

All account groups related paths

OperationsWebhooks

Tax Residencies

All tax residencies related paths.

Operations

Corporate Actions

All Corporate Action related paths.

Webhooks

Tax Exemptions

All tax exemptions related paths

OperationsWebhooks

Tax Collections

All tax collections related paths

Webhooks

Tax Wrappers

All tax wrappers related paths

OperationsWebhooks

Instruments

All instrument related paths.

OperationsWebhooks

Request

List instruments

Security
oauth-client-credentials
Query
trading_statusstring

Filters the list to only show instruments with a certain status (e.g. only instruments that can be currently traded).

Enum"ACTIVE""INACTIVE"
Example: trading_status=ACTIVE
sortstring

Sort the result by created_at or updated_at.

Default "created_at"
Enum"created_at""updated_at"
orderstring

Sort order of the result list if the sort parameter is specified. Use ASC for ascending or DESC for descending sort order.

Default "ASC"
Enum"ASC""DESC"
offsetinteger(int32)>= 0

Use the offset argument to specify where in the list of results to start when returning items for a particular query.

limitinteger(int32)[ 0 .. 1000 ]

Use the limit argument to specify the maximum number of items returned.

Default 100
Headers
upvest-client-idstring(uuid)required

Tenant Client ID

Example: ebabcf4d-61c3-4942-875c-e265a7c2d062
authorizationstring^Bearer [a-zA-Z0-9\-\._~+/]*=*required

Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750

Example: Bearer c2VjcmV0Cg==
signaturestringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header

signature-inputstringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he

upvest-api-versionstring

Upvest API version (Note: Do not include quotation marks)

Default 1
Value"1"
Example: 1
curl -i -X GET \
  'https://sandbox.upvest.co/instruments?trading_status=ACTIVE&sort=created_at&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'

Responses

OK

Headers
upvest-request-idstring(uuid)required
Example: "169ae4c7-ebd7-4041-94da-25369653eba7"
Bodyapplication/json
metaobjectrequired
offsetintegerrequired

Amount of resource to offset in the response.

limitintegerrequired

Total limit of the response.

countintegerrequired

Count of the resources returned in the response.

total_countintegerrequired

Total count of all the resources.

sortstring

The field that the list is sorted by.

orderstring

The ordering of the response.

  • ASC - Ascending order
  • DESC - Descending order
Enum"ASC""DESC"
dataArray of objectsrequired
idstring(uuid)required

Instrument unique identifier.

namestring<= 100 charactersrequired

Instrument name

fractional_tradingbooleanrequired

Determines whether the platform can handle fractional investments within this instrument.

trading_statusstringrequired

Instrument trading status

  • ACTIVE - The instrument can currently be traded on the Upvest platform.
  • INACTIVE - The instrument cannot currently be traded on the Upvest platform.
Enum"ACTIVE""INACTIVE"
created_atstring(date-time)required

Date and time when the resource was created. RFC 3339-5, ISO8601 UTC

updated_atstring(date-time)required

Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC

isinstring^[A-Z]{2}[A-Z0-9]{9}[0-9]$

International securities identification number defined by ISO 6166.

wknstring^[A-HJ-NP-Z0-9]{6}$

German securities identification code known as Wertpapierkennnummer.

detailsobject

Details

Response
application/json
{ "meta": { "offset": 0, "limit": 100, "count": 1, "total_count": 10, "sort": "created_at", "order": "ASC" }, "data": [ { … } ] }

Request

Returns the instrument.

Security
oauth-client-credentials
Path
instrument_idstringrequired
One of:

International securities identification number defined by ISO 6166, prefixed with a 'isin:' URN scheme.

string^(urn:)?isin:[A-Z]{2}[A-Z0-9]{9}[0-9]$
Headers
upvest-client-idstring(uuid)required

Tenant Client ID

Example: ebabcf4d-61c3-4942-875c-e265a7c2d062
authorizationstring^Bearer [a-zA-Z0-9\-\._~+/]*=*required

Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750

Example: Bearer c2VjcmV0Cg==
signaturestringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header

signature-inputstringrequired

https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he

upvest-api-versionstring

Upvest API version (Note: Do not include quotation marks)

Default 1
Value"1"
Example: 1
curl -i -X GET \
  'https://sandbox.upvest.co/instruments/{instrument_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'

Responses

OK

Headers
upvest-request-idstring(uuid)required
Example: "169ae4c7-ebd7-4041-94da-25369653eba7"
Bodyapplication/json
idstring(uuid)required

Instrument unique identifier.

namestring<= 100 charactersrequired

Instrument name

fractional_tradingbooleanrequired

Determines whether the platform can handle fractional investments within this instrument.

trading_statusstringrequired

Instrument trading status

  • ACTIVE - The instrument can currently be traded on the Upvest platform.
  • INACTIVE - The instrument cannot currently be traded on the Upvest platform.
Enum"ACTIVE""INACTIVE"
created_atstring(date-time)required

Date and time when the resource was created. RFC 3339-5, ISO8601 UTC

updated_atstring(date-time)required

Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC

isinstring^[A-Z]{2}[A-Z0-9]{9}[0-9]$

International securities identification number defined by ISO 6166.

wknstring^[A-HJ-NP-Z0-9]{6}$

German securities identification code known as Wertpapierkennnummer.

detailsobject

Details

Response
application/json
{ "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2022-08-31T17:28:00.00Z", "updated_at": "2022-08-31T17:28:00.00Z", "isin": "DE0007664005", "wkn": "766400", "name": "Volkswagen (VW) St. Aktie.", "fractional_trading": true, "trading_status": "ACTIVE" }

Request

Instruments events

Bodyapplication/json
idstring(uuid)required

Event unique identifier

created_atstring(date-time)required

Date and time when the event was created. RFC 3339-5, ISO8601 UTC

typestringrequired

Event type

Enum"INSTRUMENT.ONBOARDED""INSTRUMENT.ACTIVATED""INSTRUMENT.DEACTIVATED""INSTRUMENT.FRACTIONAL_TRADING_ENABLED""INSTRUMENT.FRACTIONAL_TRADING_DISABLED""INSTRUMENT.DATA_CHANGED"
objectobjectrequired
idstring(uuid)required

Instrument unique identifier.

namestring<= 100 charactersrequired

Instrument name

fractional_tradingbooleanrequired

Determines whether the platform can handle fractional investments within this instrument.

trading_statusstringrequired

Instrument trading status

  • ACTIVE - The instrument can currently be traded on the Upvest platform.
  • INACTIVE - The instrument cannot currently be traded on the Upvest platform.
Enum"ACTIVE""INACTIVE"
created_atstring(date-time)required

Date and time when the resource was created. RFC 3339-5, ISO8601 UTC

updated_atstring(date-time)required

Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC

isinstring^[A-Z]{2}[A-Z0-9]{9}[0-9]$

International securities identification number defined by ISO 6166.

wknstring^[A-HJ-NP-Z0-9]{6}$

German securities identification code known as Wertpapierkennnummer.

detailsobject

Details

webhook_idstring(uuid)required

Webhook unique identifier.

application/json
{ "id": "de4e9e75-5c74-44c7-b741-9b3e0d85f4de", "created_at": "2022-08-31T17:28:00.00Z", "type": "INSTRUMENT.ACTIVATED", "object": { "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2022-03-31T17:28:00.00Z", "updated_at": "2022-08-31T17:28:00.00Z", "isin": "DE0007664005", "wkn": "766400", "name": "Volkswagen (VW) St. Aktie.", "fractional_trading": true, "trading_status": "ACTIVE" }, "webhook_id": "0af63506-289c-4051-8859-4e17ec89b002" }

Responses

Request has been processed successfully.

Price Data

All price data related paths.

Operations
OperationsWebhooks

Portfolios

All portfolios related paths.

Operations

Portfolios Rebalancing

All portfolios rebalancing related paths.

OperationsWebhooks

Savings Plans

All savings plans related paths.

OperationsWebhooks

Liquidations

All accounts liquidations related paths.

OperationsWebhooks

Direct Debits

All direct debits related paths

OperationsWebhooks
OperationsWebhooks

Withdrawals

All withdrawals related paths

OperationsWebhooks

Reference Accounts

All reference account related paths

Operations

Mandates

All direct debit mandates related paths

Operations

Cash Balances

All cash balance related paths

OperationsWebhooks

Positions

All positions related paths.

OperationsWebhooks

Valuations

All valuations related paths.

OperationsWebhooks

Returns

All accounts returns related paths.

OperationsWebhooks

Virtual Cash Balances

All virtual cash balances related paths

OperationsWebhooks
OperationsWebhooks

Fees Configurations

All fees configurations related paths.

Operations
OperationsWebhooks

Treasury Reports

All treasury reports related paths.

Webhooks

Transactions

All transactions related paths.

OperationsWebhooks
Operations

Webhook Subscriptions

All webhook subscriptions related paths.

Operations

Virtual Bank Accounts

All virtual bank accounts related paths

OperationsWebhooks
Operations