getUniqueIdentifier
The getUniqueIdentifier provides the Financial Instrument Global Identifier (FIGI) information for all available instruments.
All APIsThe code/value for the global identifier protocol.
The unique barchart identifier. Multiple symbols can be requested separated by a comma.
A valid exchange identifer code.
The unique global OpenFIGI id. Multiple IDs can be requested separated by a comma.
The unique composite OpenFIGI id. Multiple IDs can be requested separated by a comma.
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'identifierType' => 'openFIGI',
'barchartSymbols' => 'IBM,GOOGL',
'exchange' => 'NYSE',
'openFIGIGlobal' => 'BBG0015VZ6S1',
'openFIGIComposite' => '',
];
$result = $ondemand->getUniqueIdentifier($params);
var_dump($result);
Dim ondemand
Dim result
Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")
Set result = ondemand.getUniqueIdentifier("YOUR_API_KEY", "openFIGI", "IBM,GOOGL", "NYSE", "BBG0015VZ6S1", "")
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getUniqueIdentifier('YOUR_API_KEY', 'openFIGI', 'IBM,GOOGL', 'NYSE', 'BBG0015VZ6S1', '');
print $result;
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = client.service.getUniqueIdentifier('YOUR_API_KEY', 'openFIGI', 'IBM,GOOGL', 'NYSE', 'BBG0015VZ6S1', '')
print result
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getUniqueIdentifier,
message: {
apikey: 'YOUR_API_KEY',
identifierType: 'openFIGI',
barchartSymbols: 'IBM,GOOGL',
exchange: 'NYSE',
openFIGIGlobal: 'BBG0015VZ6S1',
openFIGIComposite: '',
}
)
response.body