All URIs are relative to https://api-v2.intrinio.com
Method | HTTP request | Description |
---|---|---|
GetAllEconomicIndices | GET /indices/economic | All Economic Indices |
GetAllEodIndexPrices | GET /indices/prices/eod | All End of Day Index Prices |
GetAllIndexSummaries | GET /indices | All Index Summaries |
GetAllRealtimeIndexPrices | GET /indices/prices/realtime | All Realtime Index Prices |
GetAllSicIndices | GET /indices/sic | All SIC Indices |
GetAllStockMarketIndices | GET /indices/stock_market | All Stock Market Indices |
GetEconomicIndexById | GET /indices/economic/{identifier} | Lookup Economic Index |
GetEconomicIndexDataPointNumber | GET /indices/economic/{identifier}/data_point/{tag}/number | Data Point (Number) for an Economic Index |
GetEconomicIndexDataPointText | GET /indices/economic/{identifier}/data_point/{tag}/text | Data Point (Text) for an Economic Index |
GetEconomicIndexHistoricalData | GET /indices/economic/{identifier}/historical_data/{tag} | Historical Data for an Economic Index |
GetEodIndexPriceById | GET /indices/{identifier}/eod | End of Day Index Prices By Identifier |
GetIndexConstituentsById | GET /indices/{identifier}/constituents | Index Constituents By Index Identifier |
GetIndexSummaryById | GET /indices/{identifier} | Index Summary By Identifier |
GetRealtimeIndexPriceById | GET /indices/{identifier}/realtime | Realtime Index Price By Identifier |
GetSicIndexById | GET /indices/sic/{identifier} | Lookup SIC Index |
GetSicIndexDataPointNumber | GET /indices/sic/{identifier}/data_point/{tag}/number | Data Point (Number) for an SIC Index |
GetSicIndexDataPointText | GET /indices/sic/{identifier}/data_point/{tag}/text | Data Point (Text) for an SIC Index |
GetSicIndexHistoricalData | GET /indices/sic/{identifier}/historical_data/{tag} | Historical Data for an SIC Index |
GetStockMarketIndexById | GET /indices/stock_market/{identifier} | Lookup Stock Market Index |
GetStockMarketIndexDataPointNumber | GET /indices/stock_market/{identifier}/data_point/{tag}/number | Data Point (Number) for Stock Market Index |
GetStockMarketIndexDataPointText | GET /indices/stock_market/{identifier}/data_point/{tag}/text | Data Point (Text) for Stock Market Index |
GetStockMarketIndexHistoricalData | GET /indices/stock_market/{identifier}/historical_data/{tag} | Historical Data for Stock Market Index |
SearchEconomicIndices | GET /indices/economic/search | Search Economic Indices |
SearchSicIndices | GET /indices/sic/search | Search SIC Indices |
SearchStockMarketsIndices | GET /indices/stock_market/search | Search Stock Market Indices |
View Intrinio API Documentation
ApiResponseEconomicIndices GetAllEconomicIndices (int? pageSize = null, string nextPage = null)
Returns a list of reference data on more than 200,000 economic indices from the Federal Reserve Economic Data (FRED) database.
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetAllEconomicIndicesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
int? pageSize = 100;
string nextPage = null;
ApiResponseEconomicIndices result = indexApi.GetAllEconomicIndices(pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int? | The number of results to return | [optional] [default to 100] |
nextPage | string | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseEodIndexPricesAll GetAllEodIndexPrices (int? pageSize = null, DateTime? startDate = null, DateTime? endDate = null)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetAllEodIndexPricesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
int? pageSize = 100;
DateTime? startDate = null;
DateTime? endDate = null;
ApiResponseEodIndexPricesAll result = indexApi.GetAllEodIndexPrices(pageSize, startDate, endDate);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int? | The number of results to return | [optional] [default to 100] |
startDate | DateTime? | Limit prices to those on or after this date | [optional] |
endDate | DateTime? | Limit prices to those on or before this date | [optional] |
View Intrinio API Documentation
ApiResponseIndices GetAllIndexSummaries (int? pageSize = null)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetAllIndexSummariesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
int? pageSize = 100;
ApiResponseIndices result = indexApi.GetAllIndexSummaries(pageSize);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int? | The number of results to return | [optional] [default to 100] |
View Intrinio API Documentation
ApiResponseRealtimeIndexPrices GetAllRealtimeIndexPrices (int? pageSize = null)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetAllRealtimeIndexPricesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
int? pageSize = 100;
ApiResponseRealtimeIndexPrices result = indexApi.GetAllRealtimeIndexPrices(pageSize);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int? | The number of results to return | [optional] [default to 100] |
ApiResponseRealtimeIndexPrices
View Intrinio API Documentation
ApiResponseSICIndices GetAllSicIndices (int? pageSize = null, string nextPage = null)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetAllSicIndicesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
int? pageSize = 100;
string nextPage = null;
ApiResponseSICIndices result = indexApi.GetAllSicIndices(pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int? | The number of results to return | [optional] [default to 100] |
nextPage | string | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseStockMarketIndices GetAllStockMarketIndices (int? pageSize = null, string nextPage = null)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetAllStockMarketIndicesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
int? pageSize = 100;
string nextPage = null;
ApiResponseStockMarketIndices result = indexApi.GetAllStockMarketIndices(pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int? | The number of results to return | [optional] [default to 100] |
nextPage | string | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
EconomicIndex GetEconomicIndexById (string identifier)
Returns reference data for a specified Federal Reserve Economic Data (FRED) series ID.
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetEconomicIndexByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$GDP";
EconomicIndex result = indexApi.GetEconomicIndexById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) |
View Intrinio API Documentation
decimal? GetEconomicIndexDataPointNumber (string identifier, string tag)
Returns latest data for a specified Federal Reserve Economic Data (FRED) ID.
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetEconomicIndexDataPointNumberExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$GDP";
string tag = "level";
decimal? result = indexApi.GetEconomicIndexDataPointNumber(identifier, tag);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag <a href='https://data.intrinio.com/data-tags/economic'>reference</a> |
decimal?
View Intrinio API Documentation
string GetEconomicIndexDataPointText (string identifier, string tag)
Returns a text value for the given tag
for the Economic Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetEconomicIndexDataPointTextExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$GDP";
string tag = "level";
string result = indexApi.GetEconomicIndexDataPointText(identifier, tag);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name |
string
View Intrinio API Documentation
ApiResponseEconomicIndexHistoricalData GetEconomicIndexHistoricalData (string identifier, string tag, string type = null, DateTime? startDate = null, DateTime? endDate = null, string sortOrder = null, int? pageSize = null, string nextPage = null)
Returns historical data for a specified Federal Reserve Economic Data (FRED) ID over a period of time.
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetEconomicIndexHistoricalDataExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$GDP";
string tag = "level";
string type = null;
DateTime? startDate = DateTime.Parse("2018-01-01");
DateTime? endDate = null;
string sortOrder = "desc";
int? pageSize = 100;
string nextPage = null;
ApiResponseEconomicIndexHistoricalData result = indexApi.GetEconomicIndexHistoricalData(identifier, tag, type, startDate, endDate, sortOrder, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag <a href='https://data.intrinio.com/data-tags/economic'>reference</a> | |
type | string | Filter by type, when applicable | [optional] |
startDate | DateTime? | Get historical data on or after this date | [optional] |
endDate | DateTime? | Get historical data on or before this date | [optional] |
sortOrder | string | Sort by date `asc` or `desc` | [optional] [default to desc] |
pageSize | int? | The number of results to return | [optional] [default to 100] |
nextPage | string | Gets the next page of data from a previous API call | [optional] |
ApiResponseEconomicIndexHistoricalData
View Intrinio API Documentation
ApiResponseEodIndexPrices GetEodIndexPriceById (string identifier, int? pageSize = null, DateTime? startDate = null, DateTime? endDate = null)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetEodIndexPriceByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "SPX";
int? pageSize = 100;
DateTime? startDate = null;
DateTime? endDate = null;
ApiResponseEodIndexPrices result = indexApi.GetEodIndexPriceById(identifier, pageSize, startDate, endDate);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | The index symbol | |
pageSize | int? | The number of results to return | [optional] [default to 100] |
startDate | DateTime? | Limit prices to those on or after this date | [optional] |
endDate | DateTime? | Limit prices to those on or before this date | [optional] |
View Intrinio API Documentation
ApiResponseIndexConstituents GetIndexConstituentsById (string identifier)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetIndexConstituentsByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "DJI";
ApiResponseIndexConstituents result = indexApi.GetIndexConstituentsById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | The index symbol |
View Intrinio API Documentation
ApiResponseIndex GetIndexSummaryById (string identifier)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetIndexSummaryByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "SPX";
ApiResponseIndex result = indexApi.GetIndexSummaryById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | The index symbol |
View Intrinio API Documentation
RealtimeIndexPrice GetRealtimeIndexPriceById (string identifier)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetRealtimeIndexPriceByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "SPX";
RealtimeIndexPrice result = indexApi.GetRealtimeIndexPriceById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | The index symbol |
View Intrinio API Documentation
SICIndex GetSicIndexById (string identifier)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetSicIndexByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$SIC.2911";
SICIndex result = indexApi.GetSicIndexById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) |
View Intrinio API Documentation
decimal? GetSicIndexDataPointNumber (string identifier, string tag)
Returns a numeric value for the given tag
for the SIC Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetSicIndexDataPointNumberExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$SIC.2911";
string tag = "marketcap";
decimal? result = indexApi.GetSicIndexDataPointNumber(identifier, tag);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name |
decimal?
View Intrinio API Documentation
string GetSicIndexDataPointText (string identifier, string tag)
Returns a text value for the given tag
for the SIC Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetSicIndexDataPointTextExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$SIC.2911";
string tag = "marketcap";
string result = indexApi.GetSicIndexDataPointText(identifier, tag);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name |
string
View Intrinio API Documentation
ApiResponseSICIndexHistoricalData GetSicIndexHistoricalData (string identifier, string tag, string type = null, DateTime? startDate = null, DateTime? endDate = null, string sortOrder = null, int? pageSize = null, string nextPage = null)
Returns historical values for the given tag
and the SIC Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetSicIndexHistoricalDataExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$SIC.1";
string tag = "marketcap";
string type = null;
DateTime? startDate = DateTime.Parse("2018-01-01");
DateTime? endDate = null;
string sortOrder = "desc";
int? pageSize = 100;
string nextPage = null;
ApiResponseSICIndexHistoricalData result = indexApi.GetSicIndexHistoricalData(identifier, tag, type, startDate, endDate, sortOrder, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name | |
type | string | Filter by type, when applicable | [optional] |
startDate | DateTime? | Get historical data on or after this date | [optional] |
endDate | DateTime? | Get historical data on or before this date | [optional] |
sortOrder | string | Sort by date `asc` or `desc` | [optional] [default to desc] |
pageSize | int? | The number of results to return | [optional] [default to 100] |
nextPage | string | Gets the next page of data from a previous API call | [optional] |
ApiResponseSICIndexHistoricalData
View Intrinio API Documentation
StockMarketIndex GetStockMarketIndexById (string identifier)
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetStockMarketIndexByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$DJI";
StockMarketIndex result = indexApi.GetStockMarketIndexById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) |
View Intrinio API Documentation
decimal? GetStockMarketIndexDataPointNumber (string identifier, string tag)
Returns a numeric value for the given tag
for the Stock Market Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetStockMarketIndexDataPointNumberExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$DJI";
string tag = "level";
decimal? result = indexApi.GetStockMarketIndexDataPointNumber(identifier, tag);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name |
decimal?
View Intrinio API Documentation
string GetStockMarketIndexDataPointText (string identifier, string tag)
Returns a text value for the given tag
for the Stock Market Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetStockMarketIndexDataPointTextExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$DJI";
string tag = "level";
string result = indexApi.GetStockMarketIndexDataPointText(identifier, tag);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name |
string
View Intrinio API Documentation
ApiResponseStockMarketIndexHistoricalData GetStockMarketIndexHistoricalData (string identifier, string tag, string type = null, DateTime? startDate = null, DateTime? endDate = null, string sortOrder = null, int? pageSize = null, string nextPage = null)
Returns historical values for the given tag
and the Stock Market Index with the given identifier
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetStockMarketIndexHistoricalDataExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "$DJI";
string tag = "level";
string type = null;
DateTime? startDate = DateTime.Parse("2018-01-01");
DateTime? endDate = null;
string sortOrder = "desc";
int? pageSize = 100;
string nextPage = null;
ApiResponseStockMarketIndexHistoricalData result = indexApi.GetStockMarketIndexHistoricalData(identifier, tag, type, startDate, endDate, sortOrder, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | string | An Index Identifier (symbol, Intrinio ID) | |
tag | string | An Intrinio data tag ID or code-name | |
type | string | Filter by type, when applicable | [optional] |
startDate | DateTime? | Get historical data on or after this date | [optional] |
endDate | DateTime? | Get historical data on or before this date | [optional] |
sortOrder | string | Sort by date `asc` or `desc` | [optional] [default to desc] |
pageSize | int? | The number of results to return | [optional] [default to 100] |
nextPage | string | Gets the next page of data from a previous API call | [optional] |
ApiResponseStockMarketIndexHistoricalData
View Intrinio API Documentation
ApiResponseEconomicIndicesSearch SearchEconomicIndices (string query, int? pageSize = null)
Search the Federal Reserve Economic Data (FRED) database and return a list of economic indices matching the text query parameter passed through.
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class SearchEconomicIndicesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string query = "GDP";
int? pageSize = 100;
ApiResponseEconomicIndicesSearch result = indexApi.SearchEconomicIndices(query, pageSize);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
query | string | Search query | |
pageSize | int? | The number of results to return | [optional] [default to 100] |
ApiResponseEconomicIndicesSearch
View Intrinio API Documentation
ApiResponseSICIndicesSearch SearchSicIndices (string query, int? pageSize = null)
Searches for indices using the text in query
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class SearchSicIndicesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string query = "agriculture";
int? pageSize = 100;
ApiResponseSICIndicesSearch result = indexApi.SearchSicIndices(query, pageSize);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
query | string | Search query | |
pageSize | int? | The number of results to return | [optional] [default to 100] |
View Intrinio API Documentation
ApiResponseStockMarketIndicesSearch SearchStockMarketsIndices (string query, int? pageSize = null)
Searches for indices using the text in query
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class SearchStockMarketsIndicesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string query = "dow";
int? pageSize = 100;
ApiResponseStockMarketIndicesSearch result = indexApi.SearchStockMarketsIndices(query, pageSize);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
query | string | Search query | |
pageSize | int? | The number of results to return | [optional] [default to 100] |