Method: POST
Endpoint production: https://api.lioncripto.com.br/api/in1888-report
Endpoint sandbox: https://api-sandbox.lioncripto.com.br/api/in1888-report
Authentication: API Key
API Cost: 100 credits p/ operation
The operations must take place in the same month. All transactions you submit to the API must be filtered on your system to only contain transactions from the same period.
The code number used to identify the document type of the person/company.
| Code | Description |
|---|---|
| 1 | CPF |
| 2 | CNPJ |
| 3 | Person tax id number |
| 4 | Company tax id number |
| 5 | Passport number |
| 6 | Person without id code |
| 7 | Company without id code |
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: BUY_AND_SALE. |
operation_date |
string |
✅ | Operation date in DDMMYYYY format (8 digits). |
operation_id |
string |
Optional unique identifier for the operation (max 1024 ASCII characters). | |
operation_amount |
string |
✅ | The total amount in BRL for the operation (max 14 digits and 2 decimals). |
operation_tax_amount |
string |
Optional tax amount in BRL related to the operation (max 9 digits and 2 decimals). | |
crypto_symbol_in |
string |
✅ | Cryptocurrency symbol (max 10 ASCII characters). |
crypto_quantity_in |
string |
✅ | Quantity of the cryptocurrency (max 20 digits and 10 decimals). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
Optional country code of the buyer (ISO code, max 2 characters). | |
buyer_cpf_cnpj |
string |
Optional CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
Optional address of the buyer (max 120 ASCII characters). | |
seller_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the seller. |
seller_country_code |
string |
Optional country code of the seller (ISO code, max 2 characters). | |
seller_cpf_cnpj |
string |
Optional CPF or CNPJ number of the seller. | |
seller_id_number |
string |
Optional ID number of the seller (max 30 characters). | |
seller_name |
string |
✅ | Name of the seller (max 80 ASCII characters). |
seller_address |
string |
Optional address of the seller (max 120 ASCII characters). |
Body example:
[
{
"operation_type": "BUY_AND_SALE",
"operation_date": "DDMMYYYY",
"operation_id": "1234",
"operation_amount": "100.00",
"operation_tax_amount": "0.00",
"crypto_symbol_in": "BTC",
"crypto_quantity_in": "0.0000000001",
"buyer_id_number_type": "1",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "00000000000",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address",
"seller_id_number_type": "2",
"seller_country_code": "BR",
"seller_cpf_cnpj": "99999999999999",
"seller_id_number": null,
"seller_name": "Seller Name",
"seller_address": "Seller Address"
}
]
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: SWAP. |
operation_date |
string |
✅ | Operation date in DDMMYYYY format (8 digits). |
operation_id |
string |
Optional unique identifier for the operation (max 1024 ASCII characters). | |
operation_tax_amount |
string |
Optional tax amount in BRL related to the operation (max 9 digits and 2 decimals). | |
crypto_symbol_in |
string |
✅ | Cryptocurrency symbol (input) (max 10 ASCII characters). |
crypto_quantity_in |
string |
✅ | Quantity of the cryptocurrency (input) (max 20 digits and 10 decimals). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
Optional country code of the buyer (ISO code, max 2 characters). | |
buyer_cpf_cnpj |
string |
Optional CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
Optional address of the buyer (max 120 ASCII characters). | |
crypto_symbol_out |
string |
✅ | Cryptocurrency symbol (output) (max 10 ASCII characters). |
crypto_quantity_out |
string |
✅ | Quantity of the cryptocurrency (output) (max 20 digits and 10 decimals). |
seller_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the seller. |
seller_country_code |
string |
Optional country code of the seller (ISO code, max 2 characters). | |
seller_cpf_cnpj |
string |
Optional CPF or CNPJ number of the seller. | |
seller_id_number |
string |
Optional ID number of the seller (max 30 characters). | |
seller_name |
string |
✅ | Name of the seller (max 80 ASCII characters). |
seller_address |
string |
Optional address of the seller (max 120 ASCII characters). |
Body example:
[
{
"operation_type": "SWAP",
"operation_date": "DDMMYYYY",
"operation_id": "1234",
"operation_tax_amount": "0.00",
"crypto_symbol_in": "BTC",
"crypto_quantity_in": "0.0000000001",
"buyer_id_number_type": "1",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "00000000000",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address",
"crypto_symbol_out": "BTC",
"crypto_quantity_out": "0.0000000001",
"seller_id_number_type": "2",
"seller_country_code": "BR",
"seller_cpf_cnpj": "99999999999999",
"seller_id_number": null,
"seller_name": "Seller Name",
"seller_address": "Seller Address"
}
]
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: TRANSFER_TO_EXCHANGE. |
operation_date |
string |
✅ | Operation date in DDMMYYYY format (8 digits). |
operation_id |
string |
Optional unique identifier for the operation (max 1024 ASCII characters). | |
operation_tax_amount |
string |
Optional tax amount in BRL related to the operation (max 9 digits and 2 decimals). | |
crypto_symbol_in |
string |
✅ | Cryptocurrency symbol (input) (max 10 ASCII characters). |
crypto_quantity_in |
string |
✅ | Quantity of the cryptocurrency (input) (max 20 digits and 10 decimals). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
Optional country code of the buyer (ISO code, max 2 characters). | |
buyer_cpf_cnpj |
string |
Optional CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
Optional address of the buyer (max 120 ASCII characters). |
Body example:
[
{
"operation_type": "TRANSFER_TO_EXCHANGE",
"operation_date": "DDMMYYYY",
"operation_id": "1234",
"operation_tax_amount": "0.00",
"crypto_symbol_in": "BTC",
"crypto_quantity_in": "0.0000000001",
"buyer_id_number_type": "1",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "00000000000",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address"
}
]
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: TRANSFER_FROM_EXCHANGE. |
operation_date |
string |
✅ | Operation date in DDMMYYYY format (8 digits). |
operation_id |
string |
Optional unique identifier for the operation (max 1024 ASCII characters). | |
operation_tax_amount |
string |
Optional tax amount in BRL related to the operation (max 9 digits and 2 decimals). | |
crypto_symbol_in |
string |
✅ | Cryptocurrency symbol (input) (max 10 ASCII characters). |
crypto_quantity_in |
string |
✅ | Quantity of the cryptocurrency (input) (max 20 digits and 10 decimals). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
Optional country code of the buyer (ISO code, max 2 characters). | |
buyer_cpf_cnpj |
string |
Optional CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
Optional address of the buyer (max 120 ASCII characters). |
Body example:
[
{
"operation_type": "TRANSFER_FROM_EXCHANGE",
"operation_date": "DDMMYYYY",
"operation_id": "1234",
"operation_tax_amount": "0.00",
"crypto_symbol_in": "BTC",
"crypto_quantity_in": "0.0000000001",
"buyer_id_number_type": "1",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "00000000000",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address"
}
]
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: PAYMENT. |
operation_date |
string |
✅ | Operation date in DDMMYYYY format (8 digits). |
operation_id |
string |
Optional unique identifier for the operation (max 1024 ASCII characters). | |
operation_tax_amount |
string |
Optional tax amount in BRL related to the operation (max 9 digits and 2 decimals). | |
crypto_symbol_out |
string |
✅ | Cryptocurrency symbol (output) (max 10 ASCII characters). |
crypto_quantity_out |
string |
✅ | Quantity of the cryptocurrency (output) (max 20 digits and 10 decimals). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
Optional country code of the buyer (ISO code, max 2 characters). | |
buyer_cpf_cnpj |
string |
Optional CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
Optional address of the buyer (max 120 ASCII characters). | |
seller_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the seller. |
seller_country_code |
string |
Optional country code of the seller (ISO code, max 2 characters). | |
seller_cpf_cnpj |
string |
Optional CPF or CNPJ number of the seller. | |
seller_id_number |
string |
Optional ID number of the seller (max 30 characters). | |
seller_name |
string |
✅ | Name of the seller (max 80 ASCII characters). |
seller_address |
string |
Optional address of the seller (max 120 ASCII characters). |
Body example:
[
{
"operation_type": "PAYMENT",
"operation_date": "DDMMYYYY",
"operation_id": "1234",
"operation_tax_amount": "0.00",
"crypto_symbol_out": "BTC",
"crypto_quantity_out": "0.0000000001",
"buyer_id_number_type": "1",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "00000000000",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address",
"seller_id_number_type": "2",
"seller_country_code": "BR",
"seller_cpf_cnpj": "99999999999999",
"seller_id_number": null,
"seller_name": "Seller Name",
"seller_address": "Seller Address"
}
]
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: OTHER_TRANSFER. |
operation_date |
string |
✅ | Operation date in DDMMYYYY format (8 digits). |
operation_id |
string |
Optional unique identifier for the operation (max 1024 ASCII characters). | |
operation_tax_amount |
string |
Optional tax amount in BRL related to the operation (max 9 digits and 2 decimals). | |
crypto_symbol_out |
string |
✅ | Cryptocurrency symbol (output) (max 10 ASCII characters). |
crypto_quantity_out |
string |
✅ | Quantity of the cryptocurrency (output) (max 20 digits and 10 decimals). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
Optional country code of the buyer (ISO code, max 2 characters). | |
buyer_cpf_cnpj |
string |
Optional CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
Optional address of the buyer (max 120 ASCII characters). | |
seller_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the seller. |
seller_country_code |
string |
Optional country code of the seller (ISO code, max 2 characters). | |
seller_cpf_cnpj |
string |
Optional CPF or CNPJ number of the seller. | |
seller_id_number |
string |
Optional ID number of the seller (max 30 characters). | |
seller_name |
string |
✅ | Name of the seller (max 80 ASCII characters). |
seller_address |
string |
Optional address of the seller (max 120 ASCII characters). |
Body example:
[
{
"operation_type": "OTHER_TRANSFER",
"operation_date": "DDMMYYYY",
"operation_id": "1234",
"operation_tax_amount": "0.00",
"crypto_symbol_out": "BTC",
"crypto_quantity_out": "0.0000000001",
"buyer_id_number_type": "1",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "00000000000",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address",
"seller_id_number_type": "2",
"seller_country_code": "BR",
"seller_cpf_cnpj": "99999999999999",
"seller_id_number": null,
"seller_name": "Seller Name",
"seller_address": "Seller Address"
}
]
The annual fiat balance report is required on the last month of the year.
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: ANNUAL_FIAT_BALANCE. |
date |
string |
✅ | Date in DDMMYYYY format (8 digits). |
buyer_id_number_type |
EntityIdTypeEnum |
✅ | Identifier type for the buyer. |
buyer_country_code |
string |
✅ | Country code of the buyer (ISO code, max 2 characters). |
buyer_cpf_cnpj |
string |
CPF or CNPJ number of the buyer. | |
buyer_id_number |
string |
Optional ID number of the buyer (max 30 characters). | |
buyer_name |
string |
✅ | Name of the buyer (max 80 ASCII characters). |
buyer_address |
string |
✅ | Address of the buyer (max 120 ASCII characters). |
fiat_balance_amount |
string |
✅ | Fiat balance amount in BRL (max 14 digits and 2 decimals). |
Body example:
[
{
"operation_type": "ANNUAL_FIAT_BALANCE",
"date": "01012024",
"buyer_id_number_type": "2",
"buyer_country_code": "BR",
"buyer_cpf_cnpj": "89919731000149",
"buyer_id_number": null,
"buyer_name": "Customer Name",
"buyer_address": "Customer Address",
"fiat_balance_amount": "10000.00"
},
{
"operation_type": "ANNUAL_CRYPTO_BALANCE",
"crypto_balance_symbol": "BTC",
"crypto_balance_quantity": "10.0000000001",
"crypto_balance_un_cost": "35000.00"
}
]
The annual crypto balance report is required on the last month of the year.
| Field Name | Type | Required | Description |
|---|---|---|---|
operation_type |
string |
✅ | Predefined operation type string: ANNUAL_CRYPTO_BALANCE. |
crypto_balance_symbol |
string |
✅ | Crypto symbol (max 10 ASCII characters). |
crypto_balance_quantity |
string |
✅ | Crypto balance quantity (max 20 digits and 10 decimals). |
crypto_balance_un_cost |
string |
Optional crypto unit cost (max 14 digits and 2 decimals). |
Body example:
[
{
"operation_type": "ANNUAL_CRYPTO_BALANCE",
"crypto_balance_symbol": "BTC",
"crypto_balance_quantity": "10.0000000001",
"crypto_balance_un_cost": "35000.00"
}
]