GET/investments/{id}

Retrieve

Recovers the investment resource by its id

Parameters

Path Parameters

NameType
idrequired
string (uuid)

Responses

200Retrieve an investment.
object

Investment representing a specific asset

idrequiredstring

Primary identifier

itemIdrequiredstring (uuid)

Identifier of the item linked to the investment

typerequiredstring

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.

COEEQUITYETFFIXED_INCOMEMUTUAL_FUNDSECURITYOTHER
subtypestring | null

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`.

STRUCTURED_NOTESTOCKETFREAL_ESTATE_FUNDBDRDERIVATIVESOPTIONTREASURYLCILCALFCDBCRICRACORPORATE_DEBTLCDEBENTURESINVESTMENT_FUNDMULTIMARKET_FUNDFIXED_INCOME_FUNDSTOCK_FUNDETF_FUNDOFFSHORE_FUNDFIP_FUNDEXCHANGE_FUNDFI_INFRAFI_AGRORETIREMENTOTHERnull
numberstring | null

Reference number for this holder's asset

balancerequirednumber (double)

The current net balance amount of the investment

namerequiredstring

Name on the provider

lastMonthRatenumber (double) | null

The performance rate of the investment in the last month

lastTwelveMonthsRatenumber (double) | null

The performance rate of the investment in the last 12 months

annualRatenumber (double) | null

The performance rate of the investment in the last year

currencyCoderequiredstring

Currency ISO code for the amounts

codestring | null

Associated Code for the investment. For example, the code for a mutual fund is the CNPJ

isinstring | null

12-character ISIN, a globally unique identifier

valuenumber (double) | null

Quota's current value at "date"

quantitynumber (double) | null

Quantity of quota at disposal

amountnumber (double) | null

Gross amount of the investment

taxesnumber (double) | null

Income taxes applied to the investment

taxes2number (double) | null

Financial taxes applied to the investment

daterequiredstring (date-time)

Value's quota date

ownerstring | null

Owner/beneficiary associated with the investment

amountProfitnumber (double) | null

Profit/Loss to date over the investment

amountWithdrawalnumber (double) | null

The amount available to withdraw

amountOriginalnumber (double) | null

Amount originally invested

metadataobject | null

Security Portability details

Any of:
option 1object

Investment metadata for Previdencia migrations

option 2null | null
dueDatestring (date-time) | null

Expiration Date

issuerstring | null

The entity that issued the investment

issuerCNPJstring | null

The entity CNPJ that issued the investment

issueDatestring (date-time) | null

The date that the investment was issued

purchaseDatestring (date-time) | null

The date that the investment was purchased

gracePeriodDatestring (date-time) | null

The date when the grace period ends (fixed-income investments only)

ratenumber (double) | null

Fixed rate percentage applied to the investment

rateTypestring | null

Type of fixed-rate

fixedAnnualRatenumber (double) | null

Fixed income annual rate

taxExemptboolean | null

Whether the product is tax-exempt (LCI, LCA, CRI, CRA, debêntures incentivadas)

ratePeriodicitystring | null

Periodicity of the remuneration rate (DAILY, MONTHLY, SEMESTERLY, YEARLY)

indexerAdditionalInfostring | null

Free-text indexer description when the indexer is non-standard

priceFactornumber (double) | null

B3 lot/price conversion factor (variable income)

debtorobject | null

Underlying debtor of receivables-backed paper (CRI / CRA)

namestring

Name of the underlying debtor

couponPaymentobject | null

Coupon-payment schedule for coupon-bearing fixed income / Treasury bonds

hasCouponboolean

Whether the paper pays periodic coupons

periodicitystring

Frequency of coupon payments (MONTHLY, QUARTERLY, SEMESTERLY, YEARLY, IRREGULAR)

additionalInfostring

Free-text detail when periodicity is IRREGULAR

statusstring | null

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.

ACTIVEPENDINGTOTAL_WITHDRAWALnull
createdAtstring (date-time)

Date when the investment was first ingested by Pluggy.

updatedAtstring (date-time)

Date of the last update of the investment data.

institutionobject | null

Financial institution holding the investment.

Any of:
option 1object

Financial institution holding the investment

option 2null | null
transactionsobject[]

Movements of the investment. Only present on endpoints that return transactions inline; use `GET /investments/{id}/transactions` otherwise.

itemsobject

Movement of the investment

Example response

json
{
  "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

bash
curl -X GET 'https://api.pluggy.ai/investments/{id}' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY'

Try It

Path Parameters