General Information
ANBIMA Feed Investment Funds consists of RESTFul APIs based on HTTP protocol. The objective is providing data related to investment funds.
We have standardized the delivery format of the main ICVM 555 investment funds data.
Demo (Swagger)
Our APIs were developed using the OpenAPI Specification, which will give the developer greater flexibility in consumption
Advantages of using Swagger:
- Try it out: allows you to perform initial tests directly on our platform
- REST: standard for easy integration
Access Swagger Portal – ANBIMA Feed Investment Funds
Getting Started
Learn about our environments
Our APIs can be accessed through two environments: Sandbox and Production.
The Sandbox environment can be used for general service tests, such as verifying the response format of a resource specific of the API. Currently, the data returned will be fixed and fictitious.
On the other hand, the official information can be obtained through the Production environment.
How to make requests to our API resources?
In fact, a call to our APIs always takes into consideration the URI model below:
https://[enviroment]/[product]/[version]/[package]/[resources]/[parameters]
Where:
protocol: https
enviroment: api.anbima.com.br
(Production) or api-sandbox.anbima.com.br/mocks
(Sandbox)
product: feed/fundos
version: v1
Therefore, the URI to be used for accessing any of the APIs of ANBIMA Feed Investment Funds would be:
https://[enviroment]/feed/fundos/v1/fundos/[resources]
Remember that all this API’s resources are private and can only be accessed on Sandbox and Production environments through OAuth2 authentication standard (detailed in the Authentication section).
Error Codes
HTTP Code | Description |
400 | Bad request. Please, verify the request URI. |
401 | Request needs authentication. Probably, “base64 code” sent by ANBIMA may have been created with invalid credentials or may be missing in the request header. |
405 | Method not allowed. The request method must be POST. Please verify. |
406 | Invalid Content or Content-Type. Please, verify the content in the request body (it is expected a JSON containing the notification fields). |
5XX | Unexpected server internal error. |
Success Codes
HTTP Code | Description |
200 | Successful consultation. Data available and reported in the response body. |