Search Economic Indices

Search Economic Indices Ruby API Documentation

Search the Federal Reserve Economic Data (FRED) database and return a list of economic indices matching the text query parameter passed through.

API Class:
Intrinio::IndexApi
Instance Method:
search_economic_indices()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
index_api = Intrinio::IndexApi.new
query = "GDP"
opts = {
page_size: 100
}
result = index_api.search_economic_indices(query, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
queryStringSearch query 
page_sizeIntegerThe number of results to return[optional] [default to 100]  

Return Type

object
Intrinio::ApiResponseEconomicIndicesSearch

Properties

NameTypeDescription
indicesArray 
object
Intrinio::EconomicIndexSummary

Properties

NameTypeDescription
idStringThe Intrinio ID for the Index  
symbolStringThe symbol used to identify the Index  
nameStringThe name of the Index  
continentStringThe continent of the country of focus for the Index  
countryStringThe country of focus for the Index  
update_frequencyStringHow often the Index is updated  
last_updatedDateTimeWhen the Index was updated last  
observation_startDateThe earliest date for which data is available  
observation_endDateThe latest date for which data is available  
seasonal_adjustmentStringWhether the data is adjusted to account for seasonality  
unitsStringThe units of the data