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 GetZacksEpsSurprisesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var zacksApi = new ZacksApi();
DateTime? startDate = null;
DateTime? endDate = null;
decimal? epsActualGreater = null;
decimal? epsActualLess = null;
decimal? epsMeanEstimateGreater = null;
decimal? epsMeanEstimateLess = null;
decimal? epsAmountDiffGreater = null;
decimal? epsAmountDiffLess = null;
decimal? epsPercentDiffGreater = null;
decimal? epsPercentDiffLess = null;
decimal? epsCountEstimateGreater = null;
decimal? epsCountEstimateLess = null;
decimal? epsStdDevEstimateGreater = null;
decimal? epsStdDevEstimateLess = null;
int? pageSize = 100;
string nextPage = null;
ApiResponseZacksEPSSurprises result = zacksApi.GetZacksEpsSurprises(startDate, endDate, epsActualGreater, epsActualLess, epsMeanEstimateGreater,
        epsMeanEstimateLess, epsAmountDiffGreater, epsAmountDiffLess, epsPercentDiffGreater, epsPercentDiffLess, epsCountEstimateGreater,
        epsCountEstimateLess, epsStdDevEstimateGreater, epsStdDevEstimateLess, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
startDateDateTime?Limit EPS surprises to those on or after this date[optional]  
endDateDateTime?Limit EPS surprises to those on or before this date[optional]  
epsActualGreaterdecimal?Return only records with an actual EPS higher than this value[optional]  
epsActualLessdecimal?Return only records with an actual EPS lower than this value[optional]  
epsMeanEstimateGreaterdecimal?Return only records with an EPS mean estimate greater than this value[optional]  
epsMeanEstimateLessdecimal?Return only records with an EPS mean estimate lower than this value[optional]  
epsAmountDiffGreaterdecimal?Return only records with an EPS amount difference greater than this value[optional]  
epsAmountDiffLessdecimal?Return only records with an EPS amount difference less than this value[optional]  
epsPercentDiffGreaterdecimal?Return only records with an EPS percent difference greater than this value[optional]  
epsPercentDiffLessdecimal?Return only records with an EPS percent difference less than this value[optional]  
epsCountEstimateGreaterdecimal?Return only records with an EPS count estimate greater than this value[optional]  
epsCountEstimateLessdecimal?Return only records with an EPS count estimate less than this value[optional]  
epsStdDevEstimateGreaterdecimal?Return only records with an EPS standard deviation greater than this value[optional]  
epsStdDevEstimateLessdecimal?Return only records with an EPS standard deviation less than this value[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.ApiResponseZacksEPSSurprises

Properties

NameTypeDescription
EpsSurprisesListZacks EPS Surprise data for a Security in descending order by actual reported date  
NextPagestringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio.SDK.Model.ZacksEPSSurprise

Properties

NameTypeDescription
IdstringThe Intrinio ID for the record  
FiscalYeardecimal?The company's fiscal year for the reported period  
FiscalQuarterstringThe company's fiscal quarter for the reported period  
CalendarYeardecimal?The closest calendar year for the company's fiscal year  
CalendarQuarterstringThe closest calendar quarter for the company's fiscal year  
ActualReportedDateDateTime?The actual report date for the earnings release  
ActualReportedTimestringThe actual report time for the earnings release  
ActualReportedCodestringThe code cooresponding to the earnings release BTO = BEFORE THE OPENDTM = DURING THE MARKETAMC = AFTER MARKET CLOSE  
ActualReportedDescstringThe description for the type of earnings release  
EpsActualdecimal?The actual Non-GAAP EPS figure released by the company, interpreted by Zacks.  
EpsActualZacksAdjdecimal?The adjustments Zacks made to get to Non-GAAP EPS to reconcile with GAAP EPS.  
EpsMeanEstimatedecimal?The pre-earnings release mean EPS estimate for the company  
EpsAmountDiffdecimal?The EPS surprise amount difference  
EpsPercentDiffdecimal?The EPS surprise percent difference  
EpsCountEstimatedecimal?The pre-earnings release number of estimates by analysts  
EpsStdDevEstimatedecimal?The pre-earnings release standard deviation of EPS estimates  
SecuritySecuritySummaryThe Security of the Zacks EPS Surprise  
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 Zacks EPS Surprises 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