C# SDK

  v7.13.0

The Intrinio C# SDK wraps all API endpoints into an easy-to-use set of classes, methods, and response objects.

C# SDK Installation

To install the SDK use NuGet:

nuget install Intrinio.SDK

Be sure to add all package assemblies as references and include the SDK in your code as follows:

using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
View C# SDK on GitHub

Stock Price Code Example

Use my API Key
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 GetSecurityIntradayPricesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var securityApi = new SecurityApi();
string identifier = "AAPL";
string source = null;
DateTime? startDate = DateTime.Parse("2018-01-01");
string startTime = null;
DateTime? endDate = DateTime.Parse("2019-01-01");
string endTime = null;
int? pageSize = 100;
string nextPage = null;
ApiResponseSecurityIntradayPrices result = securityApi.GetSecurityIntradayPrices(identifier, source, startDate, startTime, endDate, endTime,
        pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
sourcestringReturn intraday prices from the specified data source[optional]  
startDateDateTime?Return intraday prices starting at the specified date[optional]  
startTimestringReturn intraday prices starting at the specified time on the `start_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
endDateDateTime?Return intraday prices stopping at the specified date[optional]  
endTimestringReturn intraday prices stopping at the specified time on the `end_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
pageSizeint?The number of results to return[optional] [default to 100]  
nextPagestringGets the next page of data from a previous API call[optional]  


Return Type

object
Intrinio.SDK.Model.ApiResponseSecurityIntradayPrices

Properties

NameTypeDescription
IntradayPricesListThe intraday stock prices for the Security  
SecuritySecuritySummaryThe Security resolved from the given identifier  
SourcestringThe source of the data  
NextPagestringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio.SDK.Model.IntradayStockPrice

Properties

NameTypeDescription
TimeDateTime?The timestamp that the `last_price` represents.  
LastPricedecimal?The price of the last trade.  
AskPricedecimal?The price of the top ask order.  
AskSizedecimal?The size of the top ask order.  
BidPricedecimal?The price of the top bid order.  
BidSizedecimal?The size of the top bid order.  
Volumedecimal?The number of shares exchanged during the trading day on the exchange.  
SourcestringThe source of the data.  
object
Intrinio.SDK.Model.SecuritySummary

Properties

NameTypeDescription
IdstringThe Intrinio ID for Security  
CompanyIdstringThe Intrinio ID for the Company for which the Security is issued  
ExchangestringThe exchange's MIC  
ExchangeMicstringThe security's exchange MIC  
StockExchangeIdstringThe exchange's Intrinio ID  
NamestringThe name of the Security  
CodestringA 2-3 digit code classifying the Security (reference)  
CurrencystringThe currency in which the Security is traded on the exchange  
TickerstringThe common/local ticker of the Security  
CompositeTickerstringThe country-composite ticker of the Security  
FigistringThe OpenFIGI identifier  
CompositeFigistringThe country-composite OpenFIGI identifier  
ShareClassFigistringThe global-composite OpenFIGI identifier  
PrimaryListingbool?If true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
View Documentation for Intraday Stock Prices for Security Example

Release History

v7.13.0

Released 02/25/2025

No description available for this release.

Intrinio.SDK.7.13.0.zip
csharp-sdk-source-code-v7.13.0.zip

v7.12.0

Released 11/27/2024

No release notes for this build.

Intrinio.SDK.7.12.0.zip
csharp-sdk-source-code-v7.12.0.zip

v7.11.0

Released 11/21/2024

No release notes for this build.

Intrinio.SDK.7.11.0.zip
csharp-sdk-source-code-v7.11.0.zip

v7.10.0

Released 10/31/2024
Intrinio.SDK.7.10.0.zip
csharp-sdk-source-code-v7.10.0.zip

v7.9.0

Released 09/19/2024

Added stock exchange quote endpoint

Intrinio.SDK.7.9.0.zip
csharp-sdk-source-code-v7.9.0.zip

v7.8.0

Released 08/23/2024

Fix type on one endpoint.
Add quote type fields to equity intervals.

Intrinio.SDK.7.8.0.zip
csharp-sdk-source-code-v7.8.0.zip

v7.7.1

Released 08/10/2024

No release notes for this build.

Intrinio.SDK.7.7.1.zip
csharp-sdk-source-code-v7.7.1.zip

v7.7.0

Released 08/02/2024

Quote endpoint
Allow multiple tickers on parameter in some endpoints.

Intrinio.SDK.7.7.0.zip
csharp-sdk-source-code-v7.7.0.zip

v7.6.1

Released 07/22/2024

Added bid and ask timestamp properties to realtime equities quotes.

Intrinio.SDK.7.6.1.zip
csharp-sdk-source-code-v7.6.1.zip

v7.6.0

Released 07/22/2024

No release notes for this build.

Intrinio.SDK.7.6.0.zip
csharp-sdk-source-code-v7.6.0.zip

v7.5.4

Released 06/26/2024
Intrinio.SDK.7.5.4.zip
csharp-sdk-source-code-v7.5.4.zip

v7.5.3

Released 06/05/2024

No release notes for this build.

Intrinio.SDK.7.5.3.zip
csharp-sdk-source-code-v7.5.3.zip

v7.5.2

Released 04/10/2024

Advanced company news endpoints

Intrinio.SDK.7.5.2.zip
csharp-sdk-source-code-v7.5.2.zip

v7.5.0

Released 03/11/2024

No release notes for this build.

Intrinio.SDK.7.5.0.zip
csharp-sdk-source-code-v7.5.0.zip

v7.4.8

Released 02/20/2024

Added Zacks Sales Estimates endpoint.

Intrinio.SDK.7.4.8.zip
csharp-sdk-source-code-v7.4.8.zip

v7.4.7

Released 02/06/2024

No release notes for this release.

Intrinio.SDK.7.4.7.zip
csharp-sdk-source-code-v7.4.7.zip

7.4.6

Released 02/01/2024

No release notes for this build.

Intrinio.SDK.7.4.6.zip
csharp-sdk-source-code-7.4.6.zip

7.4.5

Released 12/21/2023

Add extended price fields to options realtime calls
Add bid/ask time and size to options eod calls

Intrinio.SDK.7.4.5.zip
csharp-sdk-source-code-7.4.5.zip

v7.4.3

Released 12/05/2023

Documentation updates and fixes

Intrinio.SDK.7.4.3.zip
csharp-sdk-source-code-v7.4.3.zip

7.4.2

Released 11/08/2023

-Adjusting and releasing Company Public Float endpoint.

Intrinio.SDK.7.4.2.zip
csharp-sdk-source-code-7.4.2.zip

v7.4.1

Released 10/03/2023

Added missing preexisting parameters to some SDK methods.

Intrinio.SDK.7.4.1.zip
csharp-sdk-source-code-v7.4.1.zip

v7.4.0

Released 09/08/2023

Add extra hint message to a Trade Alerts endpoint if user doesn’t have access
Fix enum on depreciated intraday endpoint docs
Add date filters to shares outstanding endpoint
Allow either datetime format for param on snapshot endpoints
Add missing next page param to docs for institutional ownership endpoint
Add documentation for market status endpoint

Intrinio.SDK.7.4.0.zip
csharp-sdk-source-code-v7.4.0.zip

7.3.0

Released 08/01/2023

Can specify greeks underlying price source in some options calls
Can specify greeks IV method of calculation in some options calls
Update intervals syntax so it can pull from more performant source

Intrinio.SDK.7.3.0.zip
csharp-sdk-source-code-7.3.0.zip

v7.2.1

Released 07/10/2023

Added socket replay file endpoint
Added Nasdaq Basic All Trades endpoint

Intrinio.SDK.7.2.1.zip
csharp-sdk-source-code-v7.2.1.zip

v7.2.0

Released 06/14/2023

No notes for this release.

Intrinio.SDK.7.2.0.zip
csharp-sdk-source-code-v7.2.0.zip

7.1.1

Released 03/28/2023

Added next_page param to SDK that already exists in the REST options endpoint.

Intrinio.SDK.7.1.1.zip
csharp-sdk-source-code-7.1.1.zip

7.1.0

Released 03/19/2023

Added interval and movers endpoints.

Intrinio.SDK.7.1.0.zip
csharp-sdk-source-code-7.1.0.zip

7.0.1

Released 01/11/2023
  • Added options intervals and equitites delayed SIP endpoints
  • Added Intervals Movers endpoints
Intrinio.SDK.7.0.1.zip
csharp-sdk-source-code-7.0.1.zip

7.0.0

Released 09/20/2022
Intrinio.SDK.7.0.0.zip
csharp-sdk-source-code-7.0.0.zip

6.22.2

Released 09/19/2022

-Updated RestSharp to v108

Intrinio.SDK.6.22.2.zip
csharp-sdk-source-code-6.22.2.zip