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 GetZacksSalesSurprisesExample
{
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? salesActualGreater = null;
decimal? salesActualLess = null;
decimal? salesMeanEstimateGreater = null;
decimal? salesMeanEstimateLess = null;
decimal? salesAmountDiffGreater = null;
decimal? salesAmountDiffLess = null;
decimal? salesPercentDiffGreater = null;
decimal? salesPercentDiffLess = null;
decimal? salesCountEstimateGreater = null;
decimal? salesCountEstimateLess = null;
decimal? salesStdDevEstimateGreater = null;
decimal? salesStdDevEstimateLess = null;
int? pageSize = 100;
string nextPage = null;
ApiResponseZacksSalesSurprises result = zacksApi.GetZacksSalesSurprises(startDate, endDate, salesActualGreater, salesActualLess,
        salesMeanEstimateGreater, salesMeanEstimateLess, salesAmountDiffGreater, salesAmountDiffLess, salesPercentDiffGreater, salesPercentDiffLess,
        salesCountEstimateGreater, salesCountEstimateLess, salesStdDevEstimateGreater, salesStdDevEstimateLess, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
startDateDateTime?Limit sales surprises to those on or after this date[optional]  
endDateDateTime?Limit sales surprises to those on or before this date[optional]  
salesActualGreaterdecimal?Return only records with an actual sales higher than this value[optional]  
salesActualLessdecimal?Return only records with an actual sales lower than this value[optional]  
salesMeanEstimateGreaterdecimal?Return only records with a sales mean estimate greater than this value[optional]  
salesMeanEstimateLessdecimal?Return only records with a sales mean estimate lower than this value[optional]  
salesAmountDiffGreaterdecimal?Return only records with a sales amount difference greater than this value[optional]  
salesAmountDiffLessdecimal?Return only records with a sales amount difference less than this value[optional]  
salesPercentDiffGreaterdecimal?Return only records with a sales percent difference greater than this value[optional]  
salesPercentDiffLessdecimal?Return only records with a sales percent difference less than this value[optional]  
salesCountEstimateGreaterdecimal?Return only records with a sales count estimate greater than this value[optional]  
salesCountEstimateLessdecimal?Return only records with a sales count estimate less than this value[optional]  
salesStdDevEstimateGreaterdecimal?Return only records with a sales standard deviation greater than this value[optional]  
salesStdDevEstimateLessdecimal?Return only records with a sales 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.ApiResponseZacksSalesSurprises

Properties

NameTypeDescription
SalesSurprisesListZacks Sales 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.ZacksSalesSurprise

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  
LastRevDateDateTime?The last revision date for the analyst estimates  
SalesActualdecimal?The actual Non-GAAP sales figure released by the company, interpreted by Zacks.  
SalesActualZacksAdjdecimal?The adjustments Zacks made to get to Non-GAAP sales to reconcile with GAAP sales.  
SalesActualGaapdecimal?The actual GAAP sales figured released by the company  
SalesMeanEstimatedecimal?The pre-earnings release mean sales estimate for the company sales_count_estimate; the pre-earnings release number of estimates by analysts  
SalesAmountDiffdecimal?The sales surprise amount difference  
SalesPercentDiffdecimal?The sales surprise percent difference  
SalesStdDevEstimatedecimal?The pre-earnings release standard deviation of sales estimates  
View Documentation for Zacks Sales 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