To authenticate with the Platform API, include your Base64-encoded client_id and api_key in the Authorization header of every request:
-H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}'
Headers
Accept-Version
string
default:v20250224
required
MX Platform API version.
Example:
"v20250224"
Path Parameters
holding_guid
string
required
The unique id for a holding.
user_guid
string
required
The unique identifier for a user, beginning with the prefix USR-.
Response
200 - application/json
OK
investment_holding
object
Hide child attributes
investment_holding.account_guid
string
The unique identifier for an account. Defined by MX.
Example:
"ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1"
investment_holding.cost_basis
number | null
The original value of an asset for tax purposes, usually the purchase price, used to calculate capital gains or losses. Accumulated price.
Example:
827
investment_holding.coupon_yield
string | null
The rate of return the bonds coupon rate generates.
Example:
null
investment_holding.currency_code
string | null
The three-character ISO 4217 currency code, for example, USD.
Example:
"USD"
investment_holding.current_price
number | null
The present market price of a single unit of the holding (for example, stock price per share).
Example:
15
investment_holding.daily_change
number | null
The daily change in the current_price of the holding since the previous trading day.
Example:
2.5
investment_holding.description
string | null
A brief description of the holding, such as the company name for stocks or the bond type for bonds.
Example:
"Guggenheim Defensive Equity ETF"
investment_holding.expiration
string | null
The expiration date associated with the holding.
Example:
null
investment_holding.face_value
number | null
The nominal value of a bond or fixed-income security, paid to the holder at maturity.
Example:
1000
investment_holding.frequency
string | null
The frequency of the interest paid on the bond (i.e. Annually, Monthly, etc.)
Example:
"ANNUALLY"
investment_holding.guid
string | null
The unique identifier for the holding. Defined by MX.
Example:
"HOL-d65683e8-9eab-26bb-bcfd-ced159c9abe2"
investment_holding.market_value
number | null
The current market value of the holding, calculated as the current price times the number of units (shares) owned.
Example:
989.5
investment_holding.maturity_date
string | null
The maturity date associated with the holding.
Example:
null
investment_holding.percentage_change
number | null
The percent change in the current_price of the holding compared to a previous time period. It is the percentage change that reflects the daily_change.
Example:
0.2
investment_holding.purchase_price
number | null
The average price paid for the holding.
Example:
26.3
investment_holding.quantity
string | null
The number of units of the holding owned (for example, number of shares of stock).
Example:
"5000.0"
investment_holding.rate
number | null
The interest on the bond, subject to determining the payout amount of the bond.
Example:
null
investment_holding.strike_price
number | null
The strike price associated to the option.
Example:
null
investment_holding.symbol
string | null
The ticker symbol or unique identifier of the holding, used in stock exchanges.
Example:
"DEF"
investment_holding.term
string | null
The length of time until the bond's principal amount is due to be repaid. It is the period from when the bond is issued until it reaches its maturity date.
Example:
null
investment_holding.today_ugl_amount
number | null
The unrealized gain/loss amount for today.
Example:
200
investment_holding.today_ugl_percentage
number | null
The unrealized gain/loss percentage for today.
Example:
0.27
investment_holding.total_ugl_amount
number | null
The total unrealized gain/loss amount for an investment.
Example:
20000
investment_holding.total_ugl_percentage
number | null
The total unrealized gain/loss for the holding since it was acquired.
Example:
26.67
investment_holding.unvested_quantity
number | null
The number of units (for example, shares) of the holding that are not yet vested or owned outright by the holder.
Example:
null
investment_holding.unvested_value
number | null
The value of the portion of the holding that is unvested.
Example:
null
investment_holding.user_guid
string | null
The unique identifier for the user. Defined by MX.
Example:
"USR-fa7537f3-48aa-a683-a02a-b18940482f54"
investment_holding.vested_quantity
number | null
The number of units (for example, shares) of the holding that are vested and fully owned by the holder.
Example:
null
investment_holding.vested_value
number | null
The value of the portion of the holding that is vested and fully owned by the holder.
Example:
null
investment_holding.created_at
string | null
The date and time the investment holding was created, represented in ISO 8601 format with a timestamp.
Example:
"2025-02-13T18:08:00+00:00"
investment_holding.current_price_as_of
string | null
The date and time when the current price was last updated, represented in ISO 8601 format with a timestamp.
Example:
"2023-11-06T00:00:00Z"
investment_holding.issue_date
string | null
The date on which a security was issued or made available for sale.
Example:
"2015-08-15"
investment_holding.vesting_start_date
string | null
The date from which the vesting schedule for a holding begins.
Example:
null
investment_holding.vesting_end_date
string | null
The date from which the vesting schedule for a holding ends.
Example:
null
investment_holding.put_or_call
string | null
States whether the option is a PUT or CALL.
Example:
null
investment_holding.holding_type
string | null
The type of investment (e.g., equity, fixed income, mutual fund, etc.)
Example:
"MUTUAL_FUND"
investment_holding.term_unit
string | null
The unit type of the term associated to the bond. (Year, Month, etc.)