All URIs are relative to https://api-v2.intrinio.com
Method | HTTP request | Description |
---|---|---|
getDataPointNumber | GET /data_point/{identifier}/{tag}/number | Data Point (Number) |
getDataPointText | GET /data_point/{identifier}/{tag}/text | Data Point (Text) |
View Intrinio API Documentation
'Number' getDataPointNumber(identifier, tag)
Returns a numeric value for the given `tag` and the entity with the given `identifier`
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var dataPoint = new intrinioSDK.DataPointApi();
var identifier = "AAPL";
var tag = "marketcap";
dataPoint.getDataPointNumber(identifier, tag).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
identifier | String | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) | |
tag | String | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
'Number'
View Intrinio API Documentation
'String' getDataPointText(identifier, tag)
Returns a text value for the given `tag` for the Security with the given `identifier`
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var dataPoint = new intrinioSDK.DataPointApi();
var identifier = "AAPL";
var tag = "ceo";
dataPoint.getDataPointText(identifier, tag).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
identifier | String | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) | |
tag | String | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
'String'