Metadata endpoints return the lookup tables and enumerations that define valid parameter values across the entire API. They answer: what instrument types exist? What intervals are supported? Which countries are covered? What technical indicators can I use?
The countries endpoint provides a comprehensive list of countries, including their ISO codes, official names, capitals, and currencies. This data is essential for applications requiring accurate country information for tasks such as localization, currency conversion, or geographic analysis.
Route
/countriesAPI credits cost
1 per request
Request example
Response
{
"data": [
{
"iso2": "US",
"iso3": "USA",
"numeric": "840",
"name": "United States",
"official_name": "United States of America",
"capital": "Washington D.C.",
"currency": "USD"
}
]
}
The instrument type endpoint lists all available financial instrument types, such as stocks, ETFs, and cryptos. This information is essential for users to identify and categorize different financial instruments when accessing or analyzing market data.
Route
/instrument_typeAPI credits cost
1 per request
Request example
Response
{
"result": [
"Agricultural Product",
"American Depositary Receipt",
"Bond",
"Bond Fund",
"Closed-end Fund",
"Common Stock",
"Depositary Receipt",
"Digital Currency",
"Energy Resource",
"ETF",
"Exchange-Traded Note",
"Global Depositary Receipt",
"Index",
"Industrial Metal",
"Limited Partnership",
"Livestock",
"Mutual Fund",
"Physical Currency",
"Precious Metal",
"Preferred Stock",
"REIT",
"Right",
"Structured Product",
"Trust",
"Unit",
"Warrant"
],
"status": "ok"
}
The technical indicators endpoint provides a comprehensive list of available technical indicators, each represented as an object. This endpoint is useful for developers looking to integrate a variety of technical analysis tools into their applications, allowing for streamlined access to indicator data without needing to manually configure each one.
Route
/technical_indicatorsAPI credits cost
1 per request
Request example
Response
{
"data": {
"macd": {
"enable": true,
"full_name": "Moving Average Convergence Divergence",
"description": "Moving Average Convergence Divergence(MACD) is ...",
"type": "Momentum Indicators",
"overlay": false,
"output_values": {
"parameter_name": {
"default_color": "#FF0000",
"display": "line",
"min_range": 0,
"max_range": 5
}
},
"parameters": {
"parameter_name": {
"default": 12,
"max_range": 1,
"min_range": 1,
"range": [
"open",
"high",
"low",
"close"
],
"type": "int"
}
},
"tinting": {
"display": "fill",
"color": "#FF0000",
"transparency": 0.5,
"lower_bound": "0",
"upper_bound": "macd"
}
}
},
"status": "ok"
}