All URIs are relative to https://api.twelvedata.com
| Method | HTTP request | Description |
|---|---|---|
| getMutualFundsFamily | GET /mutual_funds/family | MFs families |
| getMutualFundsFamilyWithHttpInfo | GET /mutual_funds/family | MFs families |
| getMutualFundsList | GET /mutual_funds/list | MFs directory |
| getMutualFundsListWithHttpInfo | GET /mutual_funds/list | MFs directory |
| getMutualFundsType | GET /mutual_funds/type | MFs types |
| getMutualFundsTypeWithHttpInfo | GET /mutual_funds/type | MFs types |
| getMutualFundsWorld | GET /mutual_funds/world | MF full data |
| getMutualFundsWorldWithHttpInfo | GET /mutual_funds/world | MF full data |
| getMutualFundsWorldComposition | GET /mutual_funds/world/composition | Composition |
| getMutualFundsWorldCompositionWithHttpInfo | GET /mutual_funds/world/composition | Composition |
| getMutualFundsWorldPerformance | GET /mutual_funds/world/performance | Performance |
| getMutualFundsWorldPerformanceWithHttpInfo | GET /mutual_funds/world/performance | Performance |
| getMutualFundsWorldPurchaseInfo | GET /mutual_funds/world/purchase_info | Purchase info |
| getMutualFundsWorldPurchaseInfoWithHttpInfo | GET /mutual_funds/world/purchase_info | Purchase info |
| getMutualFundsWorldRatings | GET /mutual_funds/world/ratings | Ratings |
| getMutualFundsWorldRatingsWithHttpInfo | GET /mutual_funds/world/ratings | Ratings |
| getMutualFundsWorldRisk | GET /mutual_funds/world/risk | Risk |
| getMutualFundsWorldRiskWithHttpInfo | GET /mutual_funds/world/risk | Risk |
| getMutualFundsWorldSummary | GET /mutual_funds/world/summary | Summary |
| getMutualFundsWorldSummaryWithHttpInfo | GET /mutual_funds/world/summary | Summary |
| getMutualFundsWorldSustainability | GET /mutual_funds/world/sustainability | Sustainability |
| getMutualFundsWorldSustainabilityWithHttpInfo | GET /mutual_funds/world/sustainability | Sustainability |
GetMutualFundsFamily200Response getMutualFundsFamily(getMutualFundsFamilyRequest)
MFs families
The mutual funds family endpoint provides a comprehensive list of MF families, which are groups of mutual funds managed by the same investment company. This data is useful for users looking to explore or compare different fund families, understand the range of investment options offered by each, and identify potential investment opportunities within specific fund families.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String fundFamily = "Jackson National"; // String | Filter by investment company that manages the fund
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
try {
APIgetMutualFundsFamilyRequest request = APIgetMutualFundsFamilyRequest.newBuilder()
.fundFamily(fundFamily)
.country(country)
.build();
GetMutualFundsFamily200Response result = apiInstance.getMutualFundsFamily(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsFamily");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsFamilyRequest | APIgetMutualFundsFamilyRequest | - | - |
GetMutualFundsFamily200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsFamily getMutualFundsFamilyWithHttpInfo(getMutualFundsFamilyRequest)
MFs families
The mutual funds family endpoint provides a comprehensive list of MF families, which are groups of mutual funds managed by the same investment company. This data is useful for users looking to explore or compare different fund families, understand the range of investment options offered by each, and identify potential investment opportunities within specific fund families.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String fundFamily = "Jackson National"; // String | Filter by investment company that manages the fund
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
try {
APIgetMutualFundsFamilyRequest request = APIgetMutualFundsFamilyRequest.newBuilder()
.fundFamily(fundFamily)
.country(country)
.build();
ApiResponse<GetMutualFundsFamily200Response> response = apiInstance.getMutualFundsFamilyWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsFamily");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsFamilyRequest | APIgetMutualFundsFamilyRequest | - | - |
ApiResponse<GetMutualFundsFamily200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| fundFamily | String | Filter by investment company that manages the fund | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
GetMutualFundsList200Response getMutualFundsList(getMutualFundsListRequest)
MFs directory
The mutual funds directory endpoint provides a daily updated list of mutual funds, sorted in descending order by their total assets value. This endpoint is useful for retrieving an organized overview of available mutual funds.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Filter by symbol
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cik = "95953"; // String | The CIK of an instrument for which data is requested
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
String fundFamily = "Jackson National"; // String | Filter by investment company that manages the fund
String fundType = "Small Blend"; // String | Filter by the type of fund
Long performanceRating = 4L; // Long | Filter by performance rating from `0` to `5`
Long riskRating = 4L; // Long | Filter by risk rating from `0` to `5`
FormatEnum format = FormatEnum.fromValue("JSON"); // FormatEnum | The format of the response data
String delimiter = ";"; // String | The separator used in the CSV response data
Long dp = 5L; // Long | Number of decimal places for floating values
Long page = 1L; // Long | Page number
Long outputsize = 100L; // Long | Number of records in response
try {
APIgetMutualFundsListRequest request = APIgetMutualFundsListRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.cik(cik)
.country(country)
.fundFamily(fundFamily)
.fundType(fundType)
.performanceRating(performanceRating)
.riskRating(riskRating)
.format(format)
.delimiter(delimiter)
.dp(dp)
.page(page)
.outputsize(outputsize)
.build();
GetMutualFundsList200Response result = apiInstance.getMutualFundsList(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsList");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsListRequest | APIgetMutualFundsListRequest | - | - |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsList getMutualFundsListWithHttpInfo(getMutualFundsListRequest)
MFs directory
The mutual funds directory endpoint provides a daily updated list of mutual funds, sorted in descending order by their total assets value. This endpoint is useful for retrieving an organized overview of available mutual funds.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Filter by symbol
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cik = "95953"; // String | The CIK of an instrument for which data is requested
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
String fundFamily = "Jackson National"; // String | Filter by investment company that manages the fund
String fundType = "Small Blend"; // String | Filter by the type of fund
Long performanceRating = 4L; // Long | Filter by performance rating from `0` to `5`
Long riskRating = 4L; // Long | Filter by risk rating from `0` to `5`
FormatEnum format = FormatEnum.fromValue("JSON"); // FormatEnum | The format of the response data
String delimiter = ";"; // String | The separator used in the CSV response data
Long dp = 5L; // Long | Number of decimal places for floating values
Long page = 1L; // Long | Page number
Long outputsize = 100L; // Long | Number of records in response
try {
APIgetMutualFundsListRequest request = APIgetMutualFundsListRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.cik(cik)
.country(country)
.fundFamily(fundFamily)
.fundType(fundType)
.performanceRating(performanceRating)
.riskRating(riskRating)
.format(format)
.delimiter(delimiter)
.dp(dp)
.page(page)
.outputsize(outputsize)
.build();
ApiResponse<GetMutualFundsList200Response> response = apiInstance.getMutualFundsListWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsList");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsListRequest | APIgetMutualFundsListRequest | - | - |
ApiResponse<GetMutualFundsList200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Filter by symbol | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cik | String | The CIK of an instrument for which data is requested | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| fundFamily | String | Filter by investment company that manages the fund | [optional] |
| fundType | String | Filter by the type of fund | [optional] |
| performanceRating | Long | Filter by performance rating from `0` to `5` | [optional] |
| riskRating | Long | Filter by risk rating from `0` to `5` | [optional] |
| format | FormatEnum | The format of the response data | [optional] [default to JSON] [enum: JSON, CSV] |
| delimiter | String | The separator used in the CSV response data | [optional] [default to ;] |
| dp | Long | Number of decimal places for floating values | [optional] [default to 5] |
| page | Long | Page number | [optional] [default to 1] |
| outputsize | Long | Number of records in response | [optional] [default to 100] |
GetMutualFundsType200Response getMutualFundsType(getMutualFundsTypeRequest)
MFs types
This endpoint provides detailed information on various types of mutual funds, such as equity, bond, and balanced funds, allowing users to understand the different investment options available.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String fundType = "Jackson National"; // String | Filter by the type of fund
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
try {
APIgetMutualFundsTypeRequest request = APIgetMutualFundsTypeRequest.newBuilder()
.fundType(fundType)
.country(country)
.build();
GetMutualFundsType200Response result = apiInstance.getMutualFundsType(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsType");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsTypeRequest | APIgetMutualFundsTypeRequest | - | - |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsType getMutualFundsTypeWithHttpInfo(getMutualFundsTypeRequest)
MFs types
This endpoint provides detailed information on various types of mutual funds, such as equity, bond, and balanced funds, allowing users to understand the different investment options available.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String fundType = "Jackson National"; // String | Filter by the type of fund
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
try {
APIgetMutualFundsTypeRequest request = APIgetMutualFundsTypeRequest.newBuilder()
.fundType(fundType)
.country(country)
.build();
ApiResponse<GetMutualFundsType200Response> response = apiInstance.getMutualFundsTypeWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsType");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsTypeRequest | APIgetMutualFundsTypeRequest | - | - |
ApiResponse<GetMutualFundsType200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| fundType | String | Filter by the type of fund | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
GetMutualFundsWorld200Response getMutualFundsWorld(getMutualFundsWorldRequest)
MF full data
The mutual full data endpoint provides detailed information about global mutual funds. It returns a comprehensive dataset that includes a summary of the fund, its performance metrics, risk assessment, ratings, asset composition, purchase details, and sustainability factors. This endpoint is essential for users seeking in-depth insights into mutual funds on a global scale, allowing them to evaluate various aspects such as investment performance, risk levels, and environmental impact.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldRequest request = APIgetMutualFundsWorldRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorld200Response result = apiInstance.getMutualFundsWorld(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorld");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldRequest | APIgetMutualFundsWorldRequest | - | - |
GetMutualFundsWorld200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorld getMutualFundsWorldWithHttpInfo(getMutualFundsWorldRequest)
MF full data
The mutual full data endpoint provides detailed information about global mutual funds. It returns a comprehensive dataset that includes a summary of the fund, its performance metrics, risk assessment, ratings, asset composition, purchase details, and sustainability factors. This endpoint is essential for users seeking in-depth insights into mutual funds on a global scale, allowing them to evaluate various aspects such as investment performance, risk levels, and environmental impact.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldRequest request = APIgetMutualFundsWorldRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorld200Response> response = apiInstance.getMutualFundsWorldWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorld");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldRequest | APIgetMutualFundsWorldRequest | - | - |
ApiResponse<GetMutualFundsWorld200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldComposition200Response getMutualFundsWorldComposition(getMutualFundsWorldCompositionRequest)
Composition
The mutual funds compositions endpoint provides detailed information about the portfolio composition of a specified mutual fund. It returns data on sector allocations, individual holdings, and their respective weighted exposures. This endpoint is useful for users seeking to understand the investment distribution and risk profile of a mutual fund.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldCompositionRequest request = APIgetMutualFundsWorldCompositionRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldComposition200Response result = apiInstance.getMutualFundsWorldComposition(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldComposition");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldCompositionRequest | APIgetMutualFundsWorldCompositionRequest | - | - |
GetMutualFundsWorldComposition200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldComposition getMutualFundsWorldCompositionWithHttpInfo(getMutualFundsWorldCompositionRequest)
Composition
The mutual funds compositions endpoint provides detailed information about the portfolio composition of a specified mutual fund. It returns data on sector allocations, individual holdings, and their respective weighted exposures. This endpoint is useful for users seeking to understand the investment distribution and risk profile of a mutual fund.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldCompositionRequest request = APIgetMutualFundsWorldCompositionRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldComposition200Response> response = apiInstance.getMutualFundsWorldCompositionWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldComposition");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldCompositionRequest | APIgetMutualFundsWorldCompositionRequest | - | - |
ApiResponse<GetMutualFundsWorldComposition200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldPerformance200Response getMutualFundsWorldPerformance(getMutualFundsWorldPerformanceRequest)
Performance
The mutual funds performances endpoint provides comprehensive performance data for mutual funds globally. It returns metrics such as trailing returns, annual returns, quarterly returns, and load-adjusted returns.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldPerformanceRequest request = APIgetMutualFundsWorldPerformanceRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldPerformance200Response result = apiInstance.getMutualFundsWorldPerformance(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldPerformance");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldPerformanceRequest | APIgetMutualFundsWorldPerformanceRequest | - | - |
GetMutualFundsWorldPerformance200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldPerformance getMutualFundsWorldPerformanceWithHttpInfo(getMutualFundsWorldPerformanceRequest)
Performance
The mutual funds performances endpoint provides comprehensive performance data for mutual funds globally. It returns metrics such as trailing returns, annual returns, quarterly returns, and load-adjusted returns.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldPerformanceRequest request = APIgetMutualFundsWorldPerformanceRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldPerformance200Response> response = apiInstance.getMutualFundsWorldPerformanceWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldPerformance");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldPerformanceRequest | APIgetMutualFundsWorldPerformanceRequest | - | - |
ApiResponse<GetMutualFundsWorldPerformance200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldPurchaseInfo200Response getMutualFundsWorldPurchaseInfo(getMutualFundsWorldPurchaseInfoRequest)
Purchase info
The mutual funds purchase information endpoint provides detailed purchasing details for global mutual funds. It returns data on minimum investment requirements, current pricing, and a list of brokerages where the mutual fund can be purchased. This endpoint is useful for users looking to understand the entry requirements and options available for investing in specific mutual funds.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldPurchaseInfoRequest request = APIgetMutualFundsWorldPurchaseInfoRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldPurchaseInfo200Response result = apiInstance.getMutualFundsWorldPurchaseInfo(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldPurchaseInfo");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldPurchaseInfoRequest | APIgetMutualFundsWorldPurchaseInfoRequest | - | - |
GetMutualFundsWorldPurchaseInfo200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldPurchaseInfo getMutualFundsWorldPurchaseInfoWithHttpInfo(getMutualFundsWorldPurchaseInfoRequest)
Purchase info
The mutual funds purchase information endpoint provides detailed purchasing details for global mutual funds. It returns data on minimum investment requirements, current pricing, and a list of brokerages where the mutual fund can be purchased. This endpoint is useful for users looking to understand the entry requirements and options available for investing in specific mutual funds.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldPurchaseInfoRequest request = APIgetMutualFundsWorldPurchaseInfoRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldPurchaseInfo200Response> response = apiInstance.getMutualFundsWorldPurchaseInfoWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldPurchaseInfo");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldPurchaseInfoRequest | APIgetMutualFundsWorldPurchaseInfoRequest | - | - |
ApiResponse<GetMutualFundsWorldPurchaseInfo200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldRatings200Response getMutualFundsWorldRatings(getMutualFundsWorldRatingsRequest)
Ratings
The mutual funds ratings endpoint provides detailed ratings for mutual funds across global markets. It returns data on the performance and quality of mutual funds, including ratings calculated in-house by Twelve Data and from various financial institutions.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldRatingsRequest request = APIgetMutualFundsWorldRatingsRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldRatings200Response result = apiInstance.getMutualFundsWorldRatings(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldRatings");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldRatingsRequest | APIgetMutualFundsWorldRatingsRequest | - | - |
GetMutualFundsWorldRatings200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldRatings getMutualFundsWorldRatingsWithHttpInfo(getMutualFundsWorldRatingsRequest)
Ratings
The mutual funds ratings endpoint provides detailed ratings for mutual funds across global markets. It returns data on the performance and quality of mutual funds, including ratings calculated in-house by Twelve Data and from various financial institutions.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldRatingsRequest request = APIgetMutualFundsWorldRatingsRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldRatings200Response> response = apiInstance.getMutualFundsWorldRatingsWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldRatings");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldRatingsRequest | APIgetMutualFundsWorldRatingsRequest | - | - |
ApiResponse<GetMutualFundsWorldRatings200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldRisk200Response getMutualFundsWorldRisk(getMutualFundsWorldRiskRequest)
Risk
The mutual funds risk endpoint provides detailed risk metrics for global mutual funds. It returns data such as standard deviation, beta, and Sharpe ratio, which help assess the volatility and risk profile of mutual funds across different markets.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldRiskRequest request = APIgetMutualFundsWorldRiskRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldRisk200Response result = apiInstance.getMutualFundsWorldRisk(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldRisk");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldRiskRequest | APIgetMutualFundsWorldRiskRequest | - | - |
GetMutualFundsWorldRisk200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldRisk getMutualFundsWorldRiskWithHttpInfo(getMutualFundsWorldRiskRequest)
Risk
The mutual funds risk endpoint provides detailed risk metrics for global mutual funds. It returns data such as standard deviation, beta, and Sharpe ratio, which help assess the volatility and risk profile of mutual funds across different markets.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldRiskRequest request = APIgetMutualFundsWorldRiskRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldRisk200Response> response = apiInstance.getMutualFundsWorldRiskWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldRisk");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldRiskRequest | APIgetMutualFundsWorldRiskRequest | - | - |
ApiResponse<GetMutualFundsWorldRisk200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldSummary200Response getMutualFundsWorldSummary(getMutualFundsWorldSummaryRequest)
Summary
The mutual funds summary endpoint provides a concise overview of global mutual funds, including key details such as fund name, symbol, asset class, and region. This endpoint is useful for quickly obtaining essential information about various mutual funds worldwide, aiding in the comparison and selection of funds for investment portfolios.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldSummaryRequest request = APIgetMutualFundsWorldSummaryRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldSummary200Response result = apiInstance.getMutualFundsWorldSummary(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldSummary");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldSummaryRequest | APIgetMutualFundsWorldSummaryRequest | - | - |
GetMutualFundsWorldSummary200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldSummary getMutualFundsWorldSummaryWithHttpInfo(getMutualFundsWorldSummaryRequest)
Summary
The mutual funds summary endpoint provides a concise overview of global mutual funds, including key details such as fund name, symbol, asset class, and region. This endpoint is useful for quickly obtaining essential information about various mutual funds worldwide, aiding in the comparison and selection of funds for investment portfolios.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldSummaryRequest request = APIgetMutualFundsWorldSummaryRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldSummary200Response> response = apiInstance.getMutualFundsWorldSummaryWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldSummary");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldSummaryRequest | APIgetMutualFundsWorldSummaryRequest | - | - |
ApiResponse<GetMutualFundsWorldSummary200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |
GetMutualFundsWorldSustainability200Response getMutualFundsWorldSustainability(getMutualFundsWorldSustainabilityRequest)
Sustainability
The mutual funds sustainability endpoint provides detailed information on the sustainability and Environmental, Social, and Governance (ESG) ratings of global mutual funds. It returns data such as ESG scores, sustainability metrics, and fund identifiers.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldSustainabilityRequest request = APIgetMutualFundsWorldSustainabilityRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
GetMutualFundsWorldSustainability200Response result = apiInstance.getMutualFundsWorldSustainability(request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldSustainability");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldSustainabilityRequest | APIgetMutualFundsWorldSustainabilityRequest | - | - |
GetMutualFundsWorldSustainability200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
ApiResponse getMutualFundsWorldSustainability getMutualFundsWorldSustainabilityWithHttpInfo(getMutualFundsWorldSustainabilityRequest)
Sustainability
The mutual funds sustainability endpoint provides detailed information on the sustainability and Environmental, Social, and Governance (ESG) ratings of global mutual funds. It returns data such as ESG scores, sustainability metrics, and fund identifiers.
// Import classes:
import com.twelvedata.client.ApiClient;
import com.twelvedata.client.ApiException;
import com.twelvedata.client.ApiResponse;
import com.twelvedata.client.Configuration;
import com.twelvedata.client.auth.*;
import com.twelvedata.client.models.*;
import com.twelvedata.client.api.MutualFundsApi;
import com.twelvedata.client.api.MutualFundsApi.*;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.twelvedata.com");
// Configure API key authorization: authorizationHeader
ApiKeyAuth authorizationHeader = (ApiKeyAuth) defaultClient.getAuthentication("authorizationHeader");
authorizationHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//authorizationHeader.setApiKeyPrefix("Token");
MutualFundsApi apiInstance = new MutualFundsApi(defaultClient);
String symbol = "1535462D"; // String | Symbol ticker of mutual fund
String figi = "BBG00HMMLCH1"; // String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href=\"https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href=\"https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above.
String isin = "LU1206782309"; // String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String cusip = "120678230"; // String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href=\"https://twelvedata.com/account/add-ons\">Data add-ons</a> section
String country = "United States"; // String | Filter by country name or alpha code, e.g., `United States` or `US`
Long dp = 5L; // Long | Number of decimal places for floating values. Accepts value in range [0,11]
try {
APIgetMutualFundsWorldSustainabilityRequest request = APIgetMutualFundsWorldSustainabilityRequest.newBuilder()
.symbol(symbol)
.figi(figi)
.isin(isin)
.cusip(cusip)
.country(country)
.dp(dp)
.build();
ApiResponse<GetMutualFundsWorldSustainability200Response> response = apiInstance.getMutualFundsWorldSustainabilityWithHttpInfo(request);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling MutualFundsApi#getMutualFundsWorldSustainability");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| getMutualFundsWorldSustainabilityRequest | APIgetMutualFundsWorldSustainabilityRequest | - | - |
ApiResponse<GetMutualFundsWorldSustainability200Response>
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 401 | - | |
| 403 | - | |
| 404 | - | |
| 414 | - | |
| 429 | - | |
| 500 | - |
| Name | Type | Description | Notes |
|---|---|---|---|
| symbol | String | Symbol ticker of mutual fund | [optional] |
| figi | String | Filter by financial instrument global identifier (FIGI). This parameter is available on the <a href="https://twelvedata.com/pricing\">Ultra</a> plan (individual) and the <a href="https://twelvedata.com/pricing-business\">Enterprise</a> plan (business) and above. | [optional] |
| isin | String | Filter by international securities identification number (ISIN). ISIN access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| cusip | String | The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons\">Data add-ons</a> section | [optional] |
| country | String | Filter by country name or alpha code, e.g., `United States` or `US` | [optional] |
| dp | Long | Number of decimal places for floating values. Accepts value in range [0,11] | [optional] [default to 5] |