CEI B3

Allow your app users to retrieve their history of investments from B3.
The most boring thing one can do in terms of getting control of their investments is manual updating their wallets.

We communicate with B3, filter and improve the data display and you take care only of the best part: communicating to your user.
1
Important notes
This API requires you to request your users login and password. We are partnering with B3 in order to provide an easy to use API interface for B3 CEI content with Open Auth authentication, a more secure and reliable way to request this permission.
2
Get wallet snapshot
B3 CEI provides the wallet as a daily screenshot. For you to navigate through all the wallet content, it is required to request a day at a time.
POST
/investor

Body Parameters

Attribute
Description
Default
username
B3 access login. In this case CPF.
password
B3 access password.
date
The desired wallet snapshot date.
Format: YYYY-MM-DD.

Response

{
    "data": [
        {
            "company": "IMC S/A",
            "stockType": "ON NM",
            "code": "MEAL3",
            "isin": "BRMEALACNOR9",
            "price": 309,
            "quantity": 30,
            "quotationFactor": 1,
            "totalValue": 92.7,
            "account": "273769",
            "institution": {
                "id": "32345784000186",
                "corporate_name": "C6 CORRETORA DE TITULOS E VALORES MOBILIARIOS LTDA",
                "trade_name": "C6 CORRETORA DE TITULOS E VALORES MOBILIARIOS LTDA",
                "website": "",
                "profiles": [
                    1,
                    7,
                    8,
                    10
                ],
                "code": "6003"
            },
            "symbol": "MEAL3",
            "total_value": 9270
        }
    ]
}
OBS 1
Pricing values are in cents.
3
B3 participants profiles
The same B3 institution may act in different roles to your users. We list all possible roles for each institution, but you can retrieve all participant profiles and names with one single request.
GET
/institution-profiles

Response

{
    "data": [
        {
            "id": 1,
            "name": "AGENTE DE CUSTÓDIA"
        },
    ]
}