Skip to content

Latest commit

 

History

History
477 lines (308 loc) · 12.7 KB

OwnersApi.md

File metadata and controls

477 lines (308 loc) · 12.7 KB

Intrinio.SDK.Api.OwnersApi

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

Method HTTP request Description
GetAllOwners GET /owners All Owners
GetOwnerById GET /owners/{identifier} Owner by ID
InsiderTransactionFilingsByOwner GET /owners/{identifier}/insider_transaction_filings Insider Transaction Filings by Owner
InstitutionalHoldingsByOwner GET /owners/{identifier}/institutional_holdings Institutional Holdings by Owner
SearchOwners GET /owners/search Search Owners

GetAllOwners

View Intrinio API Documentation

ApiResponseOwners GetAllOwners (bool? institutional = null, int? pageSize = null, string nextPage = null)

All Owners

Returns all owners and information for all insider and institutional owners of securities covered by Intrinio.

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 GetAllOwnersExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var ownersApi = new OwnersApi();
      
      bool? institutional = null;
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseOwners result = ownersApi.GetAllOwners(institutional, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
institutional bool? Returns insider owners who have filed forms 3, 4, or 5 with the SEC only. Possible values are true, false, or omit for both. [optional]  
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]  

Return type

ApiResponseOwners

GetOwnerById

View Intrinio API Documentation

Owner GetOwnerById (string identifier)

Owner by ID

Returns the Owner with the given ID

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 GetOwnerByIdExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var ownersApi = new OwnersApi();
      
      string identifier = "0000001800";
      
      Owner result = ownersApi.GetOwnerById(identifier);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string An Intrinio ID or CIK of an Owner  

Return type

Owner

InsiderTransactionFilingsByOwner

View Intrinio API Documentation

ApiResponseOwnerInsiderTransactionFilings InsiderTransactionFilingsByOwner (string identifier, DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string nextPage = null)

Insider Transaction Filings by Owner

Returns a list of all insider transaction filings by an owner in as many companies as the owner may be considered an insider. Criteria for being an insider include being a director, officer, or 10%+ owner in the company. Transactions are detailed for both non-derivative and derivative transactions by the insider.

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 InsiderTransactionFilingsByOwnerExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var ownersApi = new OwnersApi();
      
      string identifier = "0001494730";
      DateTime? startDate = DateTime.Parse("2018-01-01");
      DateTime? endDate = DateTime.Parse("2019-01-01");
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseOwnerInsiderTransactionFilings result = ownersApi.InsiderTransactionFilingsByOwner(identifier, startDate, endDate, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string The Central Index Key issued by the SEC, which is the unique identifier all owner filings are issued under.  
startDate DateTime? Return Owner's insider transaction filings on or after this date [optional]  
endDate DateTime? Return Owner's insider transaction filings on or before this date [optional]  
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]  

Return type

ApiResponseOwnerInsiderTransactionFilings

InstitutionalHoldingsByOwner

View Intrinio API Documentation

ApiResponseOwnerInstitutionalHoldings InstitutionalHoldingsByOwner (string identifier, int? pageSize = null, DateTime? asOfDate = null, string nextPage = null)

Institutional Holdings by Owner

Returns a list of all ownership interests and the value of their interests by a single institutional owner.

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 InstitutionalHoldingsByOwnerExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var ownersApi = new OwnersApi();
      
      string identifier = 430692;
      int? pageSize = 100;
      DateTime? asOfDate = DateTime.Parse("2021-01-05");
      string nextPage = null;
      
      ApiResponseOwnerInstitutionalHoldings result = ownersApi.InstitutionalHoldingsByOwner(identifier, pageSize, asOfDate, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string The Central Index Key issued by the SEC, which is the unique identifier all owner filings are issued under.  
pageSize int? The number of results to return [optional] [default to 100]  
asOfDate DateTime? Return only holdings filed before this date. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseOwnerInstitutionalHoldings

SearchOwners

View Intrinio API Documentation

ApiResponseOwners SearchOwners (string query, bool? institutional = null, int? pageSize = null, string nextPage = null)

Search Owners

Searches for Owners matching the text query

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 SearchOwnersExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var ownersApi = new OwnersApi();
      
      string query = "Cook";
      bool? institutional = null;
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseOwners result = ownersApi.SearchOwners(query, institutional, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
query string  
institutional bool? Returns insider owners who have filed forms 3, 4, or 5 with the SEC only. Possible values are true, false, or omit for both. [optional]  
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]  

Return type

ApiResponseOwners