Crawler to get CVM info by company's CNPJ
npm install cvm-parserCrawler to get CVM info by company's CNPJ
> Note: There's no official API to retrieve this data AFAIK
JS
FundInfo {
"type": "FI",
"cnpj": "09.625.909/0001-00",
"date": "2022-12-01",
"totalVolume": "311867432.06",
"quotaValue": "3.989299900000",
"netAssetVolume": "310746105.31",
"dailyFundraising": "689834.58",
"dailyWithdraw": "730910.48",
"numberOfShareholders": "23973"
}
` Install
> npm i cvm-parserUsage
$3
`Typescript
import { CVM } from 'cvm-parser';async function main() {
console.log(
CVM Parser - GNU GPLv3);
const cvm = new CVM();
try { const cnpj: string[] = [
'09.625.909/0001-00',
'24.769.058/0001-62',
'30.921.203/0001-81',
'26.673.556/0001-32',
'34.186.116/0001-89',
'11.052.478/0001-81',
'20.403.271/0001-03'
];
let assets = await cvm.getDailyInfo(cnpj);
console.log(assets)
} catch (error) {
console.error(error);
}
}
main();
``