|
| 1 | +{ |
| 2 | + "tags": [ |
| 3 | + { |
| 4 | + "name": "Fundos de investimento", |
| 5 | + "description": "Informações referentes a Fundos de investimentos registrados na CVM" |
| 6 | + } |
| 7 | + ], |
| 8 | + |
| 9 | + "paths": { |
| 10 | + "/cvm/fundos/v1": { |
| 11 | + "get": { |
| 12 | + "tags": ["Fundos", "Fundos de investimento"], |
| 13 | + "summary": "Retorna lista de fundos de investimentos registrados na CVM.", |
| 14 | + "description": "Lista de dados cadastrais de fundos de investimento estruturados e não Estruturados (ICVM 555/ICVM 175). São retornados fundos ativos e cancelados. Devido ao grande volume, utilizamos paginação para acesso dos dados. ", |
| 15 | + "parameters": [ |
| 16 | + { |
| 17 | + "name": "page", |
| 18 | + "description": "Indica paginação necessária para pesquisa.\n", |
| 19 | + "in": "query", |
| 20 | + "required": false, |
| 21 | + "schema": { |
| 22 | + "type": "number" |
| 23 | + } |
| 24 | + }, |
| 25 | + { |
| 26 | + "name": "size", |
| 27 | + "description": "Tamanho de elementos em cada página (1 a 200).\n", |
| 28 | + "in": "query", |
| 29 | + "required": false, |
| 30 | + "schema": { |
| 31 | + "type": "number" |
| 32 | + } |
| 33 | + } |
| 34 | + ], |
| 35 | + "responses": { |
| 36 | + "200": { |
| 37 | + "description": "Success", |
| 38 | + "content": { |
| 39 | + "application/json": { |
| 40 | + "schema": { |
| 41 | + "$ref": "#/components/schemas/FundListResponse" |
| 42 | + } |
| 43 | + } |
| 44 | + } |
| 45 | + } |
| 46 | + } |
| 47 | + } |
| 48 | + }, |
| 49 | + "/cvm/fundos/v1/{cnpj}": { |
| 50 | + "get": { |
| 51 | + "tags": ["Fundos", "Fundos de investimento"], |
| 52 | + "summary": "Busca por detalhes de um registro de fundo na CVM.", |
| 53 | + "description": "", |
| 54 | + "parameters": [ |
| 55 | + { |
| 56 | + "name": "cnpj", |
| 57 | + "description": "O Cadastro Nacional da Pessoa Jurídica é um número único que identifica uma pessoa jurídica e outros tipos de arranjo jurídico sem personalidade jurídica junto à Receita Federal.\n", |
| 58 | + "in": "path", |
| 59 | + "required": true, |
| 60 | + "schema": { |
| 61 | + "type": "string" |
| 62 | + } |
| 63 | + } |
| 64 | + ], |
| 65 | + "responses": { |
| 66 | + "200": { |
| 67 | + "description": "Success", |
| 68 | + "content": { |
| 69 | + "application/json": { |
| 70 | + "schema": { |
| 71 | + "$ref": "#/components/schemas/FundDetails" |
| 72 | + } |
| 73 | + } |
| 74 | + } |
| 75 | + }, |
| 76 | + "404": { |
| 77 | + "description": "Não foi encontrado este CNPJ na listagem da CVM.", |
| 78 | + "content": { |
| 79 | + "application/json": { |
| 80 | + "schema": { |
| 81 | + "$ref": "#/components/schemas/ErrorMessage" |
| 82 | + }, |
| 83 | + "example": { |
| 84 | + "message": "Fundo não encontrado", |
| 85 | + "type": "not_found", |
| 86 | + "name": "NotFoundError" |
| 87 | + } |
| 88 | + } |
| 89 | + } |
| 90 | + } |
| 91 | + } |
| 92 | + } |
| 93 | + } |
| 94 | + }, |
| 95 | + "components": { |
| 96 | + "schemas": { |
| 97 | + "FundListResponse": { |
| 98 | + "title": "Lista de fundos de investimento", |
| 99 | + "required": ["data", "page", "size"], |
| 100 | + "type": "object", |
| 101 | + "properties": { |
| 102 | + "data": { |
| 103 | + "type": "array", |
| 104 | + "schema": "#/components/schemas/FundListData" |
| 105 | + }, |
| 106 | + "page": { |
| 107 | + "type": "number" |
| 108 | + }, |
| 109 | + "size": { |
| 110 | + "type": "number" |
| 111 | + } |
| 112 | + }, |
| 113 | + "example": { |
| 114 | + "data": [ |
| 115 | + { |
| 116 | + "cnpj": "00.000.684/0001-21", |
| 117 | + "denominacao_social": "DEUTSCHE BANK FDO APLIC QUOTAS FDO INV FINANCEIRO - MAX", |
| 118 | + "codigo_cvm": "19", |
| 119 | + "tipo_fundo": "FACFIF", |
| 120 | + "situacao": "CANCELADA" |
| 121 | + }, |
| 122 | + { |
| 123 | + "cnpj": "00.000.731/0001-37", |
| 124 | + "denominacao_social": "ITAMARITI CASH FUNDO APLICACAO QUOTAS FDOS INVESTIMENTO", |
| 125 | + "codigo_cvm": "40681", |
| 126 | + "tipo_fundo": "FACFIF", |
| 127 | + "situacao": "CANCELADA" |
| 128 | + }, |
| 129 | + { |
| 130 | + "cnpj": "00.000.732/0001-81", |
| 131 | + "denominacao_social": "FUNDO APLIC. QUOTAS DE F.I. SANTANDER CURTO PRAZO", |
| 132 | + "codigo_cvm": "27", |
| 133 | + "tipo_fundo": "FACFIF", |
| 134 | + "situacao": "CANCELADA" |
| 135 | + } |
| 136 | + ], |
| 137 | + "page": 1, |
| 138 | + "size": 3 |
| 139 | + } |
| 140 | + }, |
| 141 | + "FundListData": { |
| 142 | + "title": "Lista de fundos de investimento", |
| 143 | + "required": [ |
| 144 | + "cnpj", |
| 145 | + "denominacao_social", |
| 146 | + "codigo_cvm", |
| 147 | + "tipo_fundo", |
| 148 | + "situacao" |
| 149 | + ], |
| 150 | + "type": "object", |
| 151 | + "properties": { |
| 152 | + "cnpj": { |
| 153 | + "type": "string" |
| 154 | + }, |
| 155 | + "denominacao_social": { |
| 156 | + "type": "string" |
| 157 | + }, |
| 158 | + "codigo_cvm": { |
| 159 | + "type": "string" |
| 160 | + }, |
| 161 | + "tipo_fundo": { |
| 162 | + "type": "string" |
| 163 | + }, |
| 164 | + "situacao": { |
| 165 | + "type": "string" |
| 166 | + } |
| 167 | + }, |
| 168 | + "example": { |
| 169 | + "data": [ |
| 170 | + { |
| 171 | + "cnpj": "00.000.684/0001-21", |
| 172 | + "denominacao_social": "DEUTSCHE BANK FDO APLIC QUOTAS FDO INV FINANCEIRO - MAX", |
| 173 | + "codigo_cvm": "19", |
| 174 | + "tipo_fundo": "FACFIF", |
| 175 | + "situacao": "CANCELADA" |
| 176 | + }, |
| 177 | + { |
| 178 | + "cnpj": "00.000.731/0001-37", |
| 179 | + "denominacao_social": "ITAMARITI CASH FUNDO APLICACAO QUOTAS FDOS INVESTIMENTO", |
| 180 | + "codigo_cvm": "40681", |
| 181 | + "tipo_fundo": "FACFIF", |
| 182 | + "situacao": "CANCELADA" |
| 183 | + }, |
| 184 | + { |
| 185 | + "cnpj": "00.000.732/0001-81", |
| 186 | + "denominacao_social": "FUNDO APLIC. QUOTAS DE F.I. SANTANDER CURTO PRAZO", |
| 187 | + "codigo_cvm": "27", |
| 188 | + "tipo_fundo": "FACFIF", |
| 189 | + "situacao": "CANCELADA" |
| 190 | + } |
| 191 | + ], |
| 192 | + "page": 1, |
| 193 | + "size": "3" |
| 194 | + } |
| 195 | + }, |
| 196 | + |
| 197 | + "FundDetails": { |
| 198 | + "title": "Detalhes de um fundo de investimento", |
| 199 | + "required": [ |
| 200 | + "tipo_fundo", |
| 201 | + "cnpj", |
| 202 | + "denominacao_social", |
| 203 | + "data_registro", |
| 204 | + "data_constituicao", |
| 205 | + "codigo_cvm", |
| 206 | + "data_cancelamento", |
| 207 | + "situacao", |
| 208 | + "data_inicio_situacao", |
| 209 | + "data_inicio_atividade", |
| 210 | + "data_inicio_exercicio", |
| 211 | + "data_fim_exercicio", |
| 212 | + "classe", |
| 213 | + "data_inicio_classe", |
| 214 | + "rentabilidade", |
| 215 | + "condominio", |
| 216 | + "cotas", |
| 217 | + "fundo_exclusivo", |
| 218 | + "tributacao_longo_prazo", |
| 219 | + "publico_alvo", |
| 220 | + "entidade_investimento", |
| 221 | + "taxa_performance", |
| 222 | + "informacao_taxa_performance", |
| 223 | + "taxa_administracao", |
| 224 | + "informacao_taxa_administracao", |
| 225 | + "valor_patrimonio_liquido", |
| 226 | + "data_patrimonio_liquido", |
| 227 | + "diretor", |
| 228 | + "cnpj_administrador", |
| 229 | + "administrador", |
| 230 | + "tipo_pessoa_gestor", |
| 231 | + "cpf_cnpj_gestor", |
| 232 | + "gestor", |
| 233 | + "cnpj_auditor", |
| 234 | + "auditor", |
| 235 | + "cnpj_custodiante", |
| 236 | + "custodiante", |
| 237 | + "cnpj_controlador", |
| 238 | + "controlador", |
| 239 | + "investimento_externo", |
| 240 | + "classe_anbima" |
| 241 | + ], |
| 242 | + "type": "object", |
| 243 | + "properties": { |
| 244 | + "tipo_fundo": { "type": ["string", "null"] }, |
| 245 | + "cnpj": { "type": ["string", "null"] }, |
| 246 | + "denominacao_social": { "type": ["string", "null"] }, |
| 247 | + "data_registro": { "type": ["string", "null"] }, |
| 248 | + "data_constituicao": { "type": ["string", "null"] }, |
| 249 | + "codigo_cvm": { "type": ["string", "null"] }, |
| 250 | + "data_cancelamento": { "type": ["string", "null"] }, |
| 251 | + "situacao": { "type": ["string", "null"] }, |
| 252 | + "data_inicio_situacao": { |
| 253 | + "type": ["string", "null"] |
| 254 | + }, |
| 255 | + "data_inicio_atividade": { |
| 256 | + "type": ["string", "null"] |
| 257 | + }, |
| 258 | + "data_inicio_exercicio": { |
| 259 | + "type": ["string", "null"] |
| 260 | + }, |
| 261 | + "data_fim_exercicio": { |
| 262 | + "type": ["string", "null"] |
| 263 | + }, |
| 264 | + "classe": { "type": ["string", "null"] }, |
| 265 | + "data_inicio_classe": { |
| 266 | + "type": ["string", "null"] |
| 267 | + }, |
| 268 | + "rentabilidade": { "type": ["string", "null"] }, |
| 269 | + "condominio": { "type": ["string", "null"] }, |
| 270 | + "cotas": { "type": ["string", "null"] }, |
| 271 | + "fundo_exclusivo": { "type": ["string", "null"] }, |
| 272 | + "tributacao_longo_prazo": { "type": ["string", "null"] }, |
| 273 | + "publico_alvo": { "type": ["string", "null"] }, |
| 274 | + "entidade_investimento": { "type": ["string", "null"] }, |
| 275 | + "taxa_performance": { "type": ["string", "null"] }, |
| 276 | + "informacao_taxa_performance": { "type": ["string", "null"] }, |
| 277 | + "taxa_administracao": { "type": ["string", "null"] }, |
| 278 | + "informacao_taxa_administracao": { "type": ["string", "null"] }, |
| 279 | + "valor_patrimonio_liquido": { "type": ["string", "null"] }, |
| 280 | + "data_patrimonio_liquido": { |
| 281 | + "type": ["string", "null"] |
| 282 | + }, |
| 283 | + "diretor": { "type": ["string", "null"] }, |
| 284 | + "cnpj_administrador": { "type": ["string", "null"] }, |
| 285 | + "administrador": { "type": ["string", "null"] }, |
| 286 | + "tipo_pessoa_gestor": { "type": ["string", "null"] }, |
| 287 | + "cpf_cnpj_gestor": { "type": ["string", "null"] }, |
| 288 | + "gestor": { "type": ["string", "null"] }, |
| 289 | + "cnpj_auditor": { "type": ["string", "null"] }, |
| 290 | + "auditor": { "type": ["string", "null"] }, |
| 291 | + "cnpj_custodiante": { "type": ["string", "null"] }, |
| 292 | + "custodiante": { "type": ["string", "null"] }, |
| 293 | + "cnpj_controlador": { "type": ["string", "null"] }, |
| 294 | + "controlador": { "type": ["string", "null"] }, |
| 295 | + "investimento_externo": { "type": ["string", "null"] }, |
| 296 | + "classe_anbima": { "type": ["string", "null"] } |
| 297 | + }, |
| 298 | + "example": { |
| 299 | + "tipo_fundo": "FACFIF", |
| 300 | + "cnpj": "00.000.732/0001-81", |
| 301 | + "denominacao_social": "FUNDO APLIC. QUOTAS DE F.I. SANTANDER CURTO PRAZO", |
| 302 | + "data_registro": "2003-04-30", |
| 303 | + "data_constituicao": "1994-05-24", |
| 304 | + "codigo_cvm": "27", |
| 305 | + "data_cancelamento": "1999-09-03", |
| 306 | + "situacao": "CANCELADA", |
| 307 | + "data_inicio_situacao": "1999-09-03", |
| 308 | + "data_inicio_atividade": null, |
| 309 | + "data_inicio_exercicio": null, |
| 310 | + "data_fim_exercicio": null, |
| 311 | + "classe": null, |
| 312 | + "data_inicio_classe": null, |
| 313 | + "rentabilidade": null, |
| 314 | + "condominio": null, |
| 315 | + "cotas": null, |
| 316 | + "fundo_exclusivo": null, |
| 317 | + "tributacao_longo_prazo": null, |
| 318 | + "publico_alvo": null, |
| 319 | + "entidade_investimento": null, |
| 320 | + "taxa_performance": null, |
| 321 | + "informacao_taxa_performance": null, |
| 322 | + "taxa_administracao": null, |
| 323 | + "informacao_taxa_administracao": null, |
| 324 | + "valor_patrimonio_liquido": null, |
| 325 | + "data_patrimonio_liquido": null, |
| 326 | + "diretor": null, |
| 327 | + "cnpj_administrador": null, |
| 328 | + "administrador": null, |
| 329 | + "tipo_pessoa_gestor": null, |
| 330 | + "cpf_cnpj_gestor": null, |
| 331 | + "gestor": null, |
| 332 | + "cnpj_auditor": null, |
| 333 | + "auditor": null, |
| 334 | + "cnpj_custodiante": null, |
| 335 | + "custodiante": null, |
| 336 | + "cnpj_controlador": null, |
| 337 | + "controlador": null, |
| 338 | + "investimento_externo": null, |
| 339 | + "classe_anbima": null |
| 340 | + } |
| 341 | + } |
| 342 | + } |
| 343 | + } |
| 344 | +} |
0 commit comments