/investments/{id}Retrieve
Recovers the investment resource by its id
Parameters
Path Parameters
| Name | Type |
|---|---|
idrequired | string (uuid) |
Responses
Investment representing a specific asset
Primary identifier
Identifier of the item linked to the investment
Investment asset class. - `MUTUAL_FUND`: actively managed pooled investment funds (FIM, FIA, FIC). - `EQUITY`: stocks and equity-like assets traded on a stock exchange. - `ETF`: Exchange Traded Funds. - `FIXED_INCOME`: fixed income products such as CDB, LCI, LCA, debentures, Tesouro Direto. - `COE`: Certificado de Operações Estruturadas (structured notes). - `SECURITY`: private pension / previdência products (PGBL, VGBL). - `OTHER`: any asset not covered by the categories above.
Specific instrument within a `type`. Possible groupings: **EQUITY**: `STOCK` (ação), `BDR` (Brazilian Depositary Receipt), `REAL_ESTATE_FUND` (FII), `DERIVATIVES`, `OPTION`. **ETF**: `ETF`. **FIXED_INCOME**: `TREASURY` (Tesouro Direto), `CDB`, `LCI`, `LCA`, `LC`, `LF`, `CRI`, `CRA`, `DEBENTURES`, `CORPORATE_DEBT`. **MUTUAL_FUND**: `INVESTMENT_FUND`, `MULTIMARKET_FUND`, `FIXED_INCOME_FUND`, `STOCK_FUND`, `ETF_FUND`, `OFFSHORE_FUND`, `FIP_FUND`, `EXCHANGE_FUND`, `FI_INFRA`, `FI_AGRO`. **COE**: `STRUCTURED_NOTE`. **SECURITY**: `RETIREMENT` (PGBL/VGBL). **OTHER**: `OTHER`.
Reference number for this holder's asset
The current net balance amount of the investment
Name on the provider
The performance rate of the investment in the last month
The performance rate of the investment in the last 12 months
The performance rate of the investment in the last year
Currency ISO code for the amounts
Associated Code for the investment. For example, the code for a mutual fund is the CNPJ
12-character ISIN, a globally unique identifier
Quota's current value at "date"
Quantity of quota at disposal
Gross amount of the investment
Income taxes applied to the investment
Financial taxes applied to the investment
Value's quota date
Owner/beneficiary associated with the investment
Profit/Loss to date over the investment
The amount available to withdraw
Amount originally invested
Security Portability details
Investment metadata for Previdencia migrations
Expiration Date
The entity that issued the investment
The entity CNPJ that issued the investment
The date that the investment was issued
The date that the investment was purchased
The date when the grace period ends (fixed-income investments only)
Fixed rate percentage applied to the investment
Type of fixed-rate
Fixed income annual rate
Whether the product is tax-exempt (LCI, LCA, CRI, CRA, debêntures incentivadas)
Periodicity of the remuneration rate (DAILY, MONTHLY, SEMESTERLY, YEARLY)
Free-text indexer description when the indexer is non-standard
B3 lot/price conversion factor (variable income)
Underlying debtor of receivables-backed paper (CRI / CRA)
Name of the underlying debtor
Coupon-payment schedule for coupon-bearing fixed income / Treasury bonds
Whether the paper pays periodic coupons
Frequency of coupon payments (MONTHLY, QUARTERLY, SEMESTERLY, YEARLY, IRREGULAR)
Free-text detail when periodicity is IRREGULAR
Current lifecycle status of the investment. - `ACTIVE`: the investment is open and currently held by the owner. - `PENDING`: the operation has been requested but is not yet settled (e.g. a fund subscription within the settlement window). - `TOTAL_WITHDRAWAL`: the position has been fully redeemed/withdrawn; balance is zero.
Example response
{
"id": "f77eccf4-7714-498e-92a9-1bebe70335d9",
"code": "12.345.678/0001-00",
"name": "Bahia AM Advisory FIC de FIM",
"balance": 1359.39,
"currencyCode": "BRL",
"type": "MUTUAL_FUND",
"subtype": "MULTIMARKET_FUND",
"lastMonthRate": 0.24,
"annualRate": 3.24,
"lastTwelveMonthsRate": 3,
"itemId": "207f5bcd-312a-439c-abbe-166b6632c980",
"value": 500,
"quantity": 3,
"amount": 1500,
"taxes": 40.61,
"taxes2": 100,
"date": "2020-07-19T18:27:41.802Z",
"owner": "John Doe",
"number": null,
"amountProfit": 310.5,
"amountWithdrawal": 1310.5,
"amountOriginal": 1000,
"status": "ACTIVE",
"transactions": [
{
"tradeDate": "2020-10-01T00:00:00.000Z",
"date": "2020-10-01T00:00:00.000Z",
"description": "Aplicação Fondo de Investimento Premium",
"quantity": 1.25,
"value": 2,
"amount": 5,
"type": "BUY",
"movementType": "CREDIT"
}
]
}Code Examples
curl -X GET 'https://api.pluggy.ai/investments/{id}' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY'