Skip to content

Latest commit

 

History

History
574 lines (372 loc) · 16.8 KB

FundamentalsApi.md

File metadata and controls

574 lines (372 loc) · 16.8 KB

Intrinio.SDK.Api.FundamentalsApi

All URIs are relative to https://api-v2.intrinio.com

Method HTTP request Description
FilterFundamental GET /fundamentals Filter Fundamental
GetFundamentalById GET /fundamentals/{id} Fundamental by ID
GetFundamentalReportedFinancials GET /fundamentals/{id}/reported_financials Reported Financials
GetFundamentalStandardizedFinancials GET /fundamentals/{id}/standardized_financials Standardized Financials
GetFundamentalStandardizedFinancialsDimensions GET /fundamentals/{id}/standardized_financials/dimensions/{tag} Standardized Financials Dimensions
LookupFundamental GET /fundamentals/lookup/{identifier}/{statement_code}/{fiscal_year}/{fiscal_period} Lookup Fundamental

FilterFundamental

View Intrinio API Documentation

Fundamental FilterFundamental (DateTime? filedAfter = null, DateTime? filedBefore = null, bool? reportedOnly = null, int? fiscalYear = null, string statementCode = null, string type = null, string fiscalPeriod = null, DateTime? startDate = null, DateTime? endDate = null, DateTime? updatedAfter = null, DateTime? updatedBefore = null, string template = null, string nextPage = null)

Filter Fundamental

Returns fundamentals that meet the set of filters specified in parameters.

Example

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 FilterFundamentalExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var fundamentalsApi = new FundamentalsApi();
      
      DateTime? filedAfter = DateTime.Parse("2022-01-01");
      DateTime? filedBefore = DateTime.Parse("2022-12-01");
      bool? reportedOnly = false;
      int? fiscalYear = 2017;
      string statementCode = null;
      string type = false;
      string fiscalPeriod = "FY";
      DateTime? startDate = DateTime.Parse("2022-01-01");
      DateTime? endDate = DateTime.Parse("2022-12-01");
      DateTime? updatedAfter = DateTime.Parse("2022-12-01");
      DateTime? updatedBefore = DateTime.Parse("2022-12-01");
      string template = "indu";
      string nextPage = null;
      
      Fundamental result = fundamentalsApi.FilterFundamental(filedAfter, filedBefore, reportedOnly, fiscalYear, statementCode, type, fiscalPeriod, startDate, endDate, updatedAfter, updatedBefore, template, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
filedAfter DateTime? Only include fundamentals that were filed on or after this date. [optional]  
filedBefore DateTime? Only include fundamentals that were filed on or before this date. [optional]  
reportedOnly bool? Only as-reported fundamentals [optional]  
fiscalYear int? Only for the given fiscal year [optional]  
statementCode string Only of the given statement code [optional]  
type string Only of the given type [optional]  
fiscalPeriod string The fiscal period [optional]  
startDate DateTime? Only include fundamentals where covered period is on or after this date. [optional]  
endDate DateTime? Only include fundamentals where covered period is on or before this date. [optional]  
updatedAfter DateTime? Only include fundamentals where it was updated after this date. [optional]  
updatedBefore DateTime? Only include fundamentals where it was updated before this date. [optional]  
template string The financial statement template used by Intrinio to standardize the as reported data [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

Fundamental

GetFundamentalById

View Intrinio API Documentation

Fundamental GetFundamentalById (string id)

Fundamental by ID

Returns a specific fundamental associated with a particular unique fundamental ID. Useful for pulling reference data for a specific fundamental.

Example

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 GetFundamentalByIdExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var fundamentalsApi = new FundamentalsApi();
      
      string id = "fun_ge9LlE";
      
      Fundamental result = fundamentalsApi.GetFundamentalById(id);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
id string The Intrinio ID for the Fundamental  

Return type

Fundamental

GetFundamentalReportedFinancials

View Intrinio API Documentation

ApiResponseReportedFinancials GetFundamentalReportedFinancials (string id)

Reported Financials

Returns as-reported financial statement data for income statement, balance sheet, and cash flow statement. Data for income statement and cash flow statement is available on a FY, QTR (Q1, Q2, Q3, Q4), TTM (Q1TTM, Q2TTM, Q3TTM), and YTD (Q2YTD, Q3YTD) basis. Data for the balance sheet is available on a FY or QTR (Q1, Q2, Q3, Q4) basis only due its point-in-time nature.

Example

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 GetFundamentalReportedFinancialsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var fundamentalsApi = new FundamentalsApi();
      
      string id = "AAPL-income_statement-2018-Q1";
      
      ApiResponseReportedFinancials result = fundamentalsApi.GetFundamentalReportedFinancials(id);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
id string The Intrinio ID or lookup code (ticker-statement-year-period) for the Fundamental  

Return type

ApiResponseReportedFinancials

GetFundamentalStandardizedFinancials

View Intrinio API Documentation

ApiResponseStandardizedFinancials GetFundamentalStandardizedFinancials (string id)

Standardized Financials

Returns standardized financial statement data for income statement, balance sheet, cash flow statement and over 100 associated calculations for a given company. Data for income statement, cash flow statement, and calculations is available on a FY, QTR (Q1, Q2, Q3, Q4), TTM (Q1TTM, Q2TTM, Q3TTM), and YTD (Q2YTD, Q3YTD) basis. Data for the balance sheet is available on a FY or QTR (Q1, Q2, Q3, Q4) basis only due its point-in-time nature.

Example

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 GetFundamentalStandardizedFinancialsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var fundamentalsApi = new FundamentalsApi();
      
      string id = "AAPL-income_statement-2018-Q1";
      
      ApiResponseStandardizedFinancials result = fundamentalsApi.GetFundamentalStandardizedFinancials(id);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
id string The Intrinio ID or lookup code (ticker-statement-year-period) for the Fundamental  

Return type

ApiResponseStandardizedFinancials

GetFundamentalStandardizedFinancialsDimensions

View Intrinio API Documentation

ApiResponseStandardizedFinancialsDimensions GetFundamentalStandardizedFinancialsDimensions (string id, string tag)

Standardized Financials Dimensions

Returns as reported dimensionality of a data tag

Example

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 GetFundamentalStandardizedFinancialsDimensionsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var fundamentalsApi = new FundamentalsApi();
      
      string id = "AAPL-income_statement-2020-FY";
      string tag = "ceo";
      
      ApiResponseStandardizedFinancialsDimensions result = fundamentalsApi.GetFundamentalStandardizedFinancialsDimensions(id, tag);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
id string The Intrinio ID or lookup code (ticker-statement-year-period) for the Fundamental  
tag string An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags&#39;&gt;reference&lt;/a>)  

Return type

ApiResponseStandardizedFinancialsDimensions

LookupFundamental

View Intrinio API Documentation

Fundamental LookupFundamental (string identifier, string statementCode, int? fiscalYear, string fiscalPeriod)

Lookup Fundamental

Returns a specific fundamental with unique fundamental ID associated with a particular company, year, period and statement. Useful for pulling the unique fundamental ID and reference data for a specific fundamental.

Example

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 LookupFundamentalExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var fundamentalsApi = new FundamentalsApi();
      
      string identifier = "AAPL";
      string statementCode = "income_statement";
      int? fiscalYear = 2017;
      string fiscalPeriod = "FY";
      
      Fundamental result = fundamentalsApi.LookupFundamental(identifier, statementCode, fiscalYear, fiscalPeriod);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
statementCode string The statement code  
fiscalYear int? The fiscal year  
fiscalPeriod string The fiscal period  

Return type

Fundamental