GetEtf
Retrieve daily updated ETF data using symbol, FIGI, ISIN, or other filters via Twelve Data API to access comprehensive financial instrument metadata.
Instructions
This API call returns an array of ETFs available at Twelve Data API. This list is updated daily.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"GetEtfRequest": {
"description": "This API call returns an array of ETFs available at Twelve Data API. This list is updated daily.",
"properties": {
"apikey": {
"default": "demo",
"description": "API key",
"examples": [
"demo"
],
"title": "Apikey",
"type": "string"
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by country name or alpha code, e.g., `United States` or `US`",
"examples": [
"United States"
],
"title": "Country"
},
"cusip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The CUSIP of an instrument for which data is requested",
"examples": [
"594918104"
],
"title": "Cusip"
},
"delimiter": {
"default": ";",
"description": "The separator used in the CSV response data",
"title": "Delimiter",
"type": "string"
},
"exchange": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by exchange name",
"examples": [
"NYSE"
],
"title": "Exchange"
},
"figi": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by financial instrument global identifier (FIGI)",
"examples": [
"BBG000BDTF76"
],
"title": "Figi"
},
"format": {
"default": "JSON",
"description": "The format of the response data",
"examples": [
"JSON",
"CSV"
],
"title": "Format",
"type": "string"
},
"include_delisted": {
"default": false,
"description": "Include delisted identifiers",
"title": "Include Delisted",
"type": "boolean"
},
"isin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by international securities identification number (ISIN)",
"examples": [
"US0378331005"
],
"title": "Isin"
},
"mic_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by market identifier code (MIC) under ISO 10383 standard",
"examples": [
"XNYS"
],
"title": "Mic Code"
},
"outputsize": {
"default": 10,
"description": "Number of data points to retrieve. Supports values in the range from `1` to `5000`. Default `10` when no date parameters are set, otherwise set to maximum",
"examples": [
10
],
"title": "Outputsize",
"type": "integer"
},
"show_plan": {
"default": false,
"description": "Adds info on which plan symbol is available",
"title": "Show Plan",
"type": "boolean"
},
"symbol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The ticker symbol of an instrument for which data is requested",
"examples": [
"SPY"
],
"title": "Symbol"
}
},
"title": "GetEtfRequest",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/GetEtfRequest"
}
},
"required": [
"params"
],
"title": "GetEtfArguments",
"type": "object"
}