v1

latestOpenAPI 3.1.0MIT2026-07-2484155300.5 KB
Investment

Retrieve

Recovers the investment resource by its id

get/investments/{id}

Path parameters

idstring uuid required

investment primary identifier

Response

Retrieve an investment.

idstring required

Primary identifier

itemIdstring uuid required

Identifier of the item linked to the investment

type'COE' | 'EQUITY' | 'ETF' | 'FIXED_INCOME' | 'MUTUAL_FUND' | 'SECURITY' | 'OTHER' required

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.
subtype'STRUCTURED_NOTE' | 'STOCK' | 'ETF' | 'REAL_ESTATE_FUND' | 'BDR' | 'DERIVATIVES' | 'OPTION' | 'TREASURY' | 'LCI' | 'LCA' | 'LF' | 'CDB' | 'CRI' | 'CRA' | 'CORPORATE_DEBT' | 'LC' | 'DEBENTURES' | 'INVESTMENT_FUND' | 'MULTIMARKET_FUND' | 'FIXED_INCOME_FUND' | 'STOCK_FUND' | 'ETF_FUND' | 'OFFSHORE_FUND' | 'FIP_FUND' | 'EXCHANGE_FUND' | 'FI_INFRA' | 'FI_AGRO' | 'RETIREMENT' | 'OTHER'

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.

numberstring

Reference number for this holder's asset

balancenumber double required

The current net balance amount of the investment

namestring required

Name on the provider

lastMonthRatenumber double

The performance rate of the investment in the last month

lastTwelveMonthsRatenumber double

The performance rate of the investment in the last 12 months

annualRatenumber double

The performance rate of the investment in the last year

currencyCodestring required

Currency ISO code for the amounts

codestring

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

isinstring

12-character ISIN, a globally unique identifier

valuenumber double

Quota's current value at "date"

quantitynumber double

Quantity of quota at disposal

amountnumber double

Gross amount of the investment

taxesnumber double

Income taxes applied to the investment

taxes2number double

Financial taxes applied to the investment

datestring date-time required

Value's quota date

ownerstring

Owner/beneficiary associated with the investment

amountProfitnumber double

Profit/Loss to date over the investment

amountWithdrawalnumber double

The amount available to withdraw

amountOriginalnumber double

Amount originally invested

dueDatestring date-time

Expiration Date

issuerstring

The entity that issued the investment

issuerCNPJstring

The entity CNPJ that issued the investment

issueDatestring date-time

The date that the investment was issued

purchaseDatestring date-time

The date that the investment was purchased

gracePeriodDatestring date-time nullable

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

ratenumber double

Fixed rate percentage applied to the investment

rateTypestring

Type of fixed-rate

fixedAnnualRatenumber double

Fixed income annual rate

taxExemptboolean

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

ratePeriodicitystring

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

indexerAdditionalInfostring

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

priceFactornumber double

B3 lot/price conversion factor (variable income)

status'ACTIVE' | 'PENDING' | 'TOTAL_WITHDRAWAL'

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"
    }
  ]
}