getSymbolChange API
getSymbolChange
The getSymbolChange API from Barchart OnDemand provides the list of symbols that have gone through a change.
View All APIsContact Us to Get Access
Inputs
startDateoptional
The start date for which the symbol change records should be returned.
Type
date (A date in the format of YYYY-MM-DD.)
Example
2024-04-11
endDateoptional
The end date for which the symbol change records should be returned.
Type
date (A date in the format of YYYY-MM-DD.)
Example
2024-10-11
Default
2024-10-11
Outputs
oldSymbol
always returned
always returned
The old name of the symbol.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
newSymbol
always returned
always returned
The new name of the symbol.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
updatedOn
always returned
always returned
The date of the update. Format: YYYY-MM-DD.
date
A date in the format of YYYY-MM-DD.
A date in the format of YYYY-MM-DD.
availableOn
as requested
as requested
The date the update was available via the system. Format: YYYY-MM-DD
date
A date in the format of YYYY-MM-DD.
A date in the format of YYYY-MM-DD.
Status Code Responses
200
OK
Success
400
Bad Request
The request was invalid, please see the message for more information.
500
Internal Server Error
Something is not working correctly, please contact support.
JSON
GET
GET https://ondemand.websol.barchart.com/getSymbolChange.json?apikey=YOUR_API_KEY&startDate=2024-04-11&endDate=2024-10-11
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getSymbolChange.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&startDate=2024-04-11&endDate=2024-10-11
Response
{
"status": {
"code": 200,
"message": "Success."
},
"results": [
{
"oldSymbol": "PTNYF",
"newSymbol": "PTNYD",
"updatedOn": "2024-04-11"
},
{
"oldSymbol": "PALAF",
"newSymbol": "PALAD",
"updatedOn": "2024-04-11"
},
{
"oldSymbol": "ORPED",
"newSymbol": "ORPEF",
"updatedOn": "2024-04-11"
},
{
"oldSymbol": "EIGR",
"newSymbol": "EIGRQ",
"updatedOn": "2024-04-11"
},
{
"oldSymbol": "EAGPP",
"newSymbol": "EICC",
"updatedOn": "2024-04-11"
},
{
"oldSymbol": "LEJU",
"newSymbol": "LEJUY",
"updatedOn": "2024-04-12"
},
{
"oldSymbol": "ACOR",
"newSymbol": "ACORQ",
"updatedOn": "2024-04-12"
},
{
"oldSymbol": "SRNEQ",
"newSymbol": "SRNE",
"updatedOn": "2024-04-15"
},
{
"oldSymbol": "CNXA",
"newSymbol": "YYAI",
"updatedOn": "2024-04-15"
},
{
"oldSymbol": "ARRW",
"newSymbol": "AILE",
"updatedOn": "2024-04-17"
},
{
"oldSymbol": "ARRWW",
"newSymbol": "AILEW",
"updatedOn": "2024-04-17"
},
{
"oldSymbol": "ARRWU",
"newSymbol": "AILEU",
"updatedOn": "2024-04-17"
},
{
"oldSymbol": "TXHG",
"newSymbol": "TXRP",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "OSA",
"newSymbol": "OSAP",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "OSAAW",
"newSymbol": "OSAPW",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "MEDAF",
"newSymbol": "MEDAD",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "MDGS",
"newSymbol": "XLYO",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "INUMF",
"newSymbol": "INUMD",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "FNNND",
"newSymbol": "FNNNF",
"updatedOn": "2024-04-18"
},
{
"oldSymbol": "XLYO",
"newSymbol": "XYLO",
"updatedOn": "2024-04-19"
}
]
}
XML
GET
GET https://ondemand.websol.barchart.com/getSymbolChange.xml?apikey=YOUR_API_KEY&startDate=2024-04-11&endDate=2024-10-11
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getSymbolChange.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&startDate=2024-04-11&endDate=2024-10-11
Response
<?xml version="1.0" encoding="utf-8"?>
<getSymbolChange>
<status>
<code>200</code>
<message>Success.</message>
</status>
<item>
<oldSymbol>PTNYF</oldSymbol>
<newSymbol>PTNYD</newSymbol>
<updatedOn>2024-04-11</updatedOn>
</item>
<item>
<oldSymbol>PALAF</oldSymbol>
<newSymbol>PALAD</newSymbol>
<updatedOn>2024-04-11</updatedOn>
</item>
<item>
<oldSymbol>ORPED</oldSymbol>
<newSymbol>ORPEF</newSymbol>
<updatedOn>2024-04-11</updatedOn>
</item>
<item>
<oldSymbol>EIGR</oldSymbol>
<newSymbol>EIGRQ</newSymbol>
<updatedOn>2024-04-11</updatedOn>
</item>
<item>
<oldSymbol>EAGPP</oldSymbol>
<newSymbol>EICC</newSymbol>
<updatedOn>2024-04-11</updatedOn>
</item>
<item>
<oldSymbol>LEJU</oldSymbol>
<newSymbol>LEJUY</newSymbol>
<updatedOn>2024-04-12</updatedOn>
</item>
<item>
<oldSymbol>ACOR</oldSymbol>
<newSymbol>ACORQ</newSymbol>
<updatedOn>2024-04-12</updatedOn>
</item>
<item>
<oldSymbol>SRNEQ</oldSymbol>
<newSymbol>SRNE</newSymbol>
<updatedOn>2024-04-15</updatedOn>
</item>
<item>
<oldSymbol>CNXA</oldSymbol>
<newSymbol>YYAI</newSymbol>
<updatedOn>2024-04-15</updatedOn>
</item>
<item>
<oldSymbol>ARRW</oldSymbol>
<newSymbol>AILE</newSymbol>
<updatedOn>2024-04-17</updatedOn>
</item>
<item>
<oldSymbol>ARRWW</oldSymbol>
<newSymbol>AILEW</newSymbol>
<updatedOn>2024-04-17</updatedOn>
</item>
<item>
<oldSymbol>ARRWU</oldSymbol>
<newSymbol>AILEU</newSymbol>
<updatedOn>2024-04-17</updatedOn>
</item>
<item>
<oldSymbol>TXHG</oldSymbol>
<newSymbol>TXRP</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>OSA</oldSymbol>
<newSymbol>OSAP</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>OSAAW</oldSymbol>
<newSymbol>OSAPW</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>MEDAF</oldSymbol>
<newSymbol>MEDAD</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>MDGS</oldSymbol>
<newSymbol>XLYO</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>INUMF</oldSymbol>
<newSymbol>INUMD</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>FNNND</oldSymbol>
<newSymbol>FNNNF</newSymbol>
<updatedOn>2024-04-18</updatedOn>
</item>
<item>
<oldSymbol>XLYO</oldSymbol>
<newSymbol>XYLO</newSymbol>
<updatedOn>2024-04-19</updatedOn>
</item>
</getSymbolChange>
CSV
GET
GET https://ondemand.websol.barchart.com/getSymbolChange.csv?apikey=YOUR_API_KEY&startDate=2024-04-11&endDate=2024-10-11
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getSymbolChange.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&startDate=2024-04-11&endDate=2024-10-11
Response
oldSymbol,newSymbol,updatedOn
"PTNYF","PTNYD","2024-04-11"
"PALAF","PALAD","2024-04-11"
"ORPED","ORPEF","2024-04-11"
"EIGR","EIGRQ","2024-04-11"
"EAGPP","EICC","2024-04-11"
"LEJU","LEJUY","2024-04-12"
"ACOR","ACORQ","2024-04-12"
"SRNEQ","SRNE","2024-04-15"
"CNXA","YYAI","2024-04-15"
"ARRW","AILE","2024-04-17"
"ARRWW","AILEW","2024-04-17"
"ARRWU","AILEU","2024-04-17"
"TXHG","TXRP","2024-04-18"
"OSA","OSAP","2024-04-18"
"OSAAW","OSAPW","2024-04-18"
"MEDAF","MEDAD","2024-04-18"
"MDGS","XLYO","2024-04-18"
"INUMF","INUMD","2024-04-18"
"FNNND","FNNNF","2024-04-18"
"XLYO","XYLO","2024-04-19"
PHP
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'startDate' => '2024-04-11',
'endDate' => '2024-10-11',
];
$result = $ondemand->getSymbolChange($params);
var_dump($result);
Classic ASP
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.getSymbolChange("YOUR_API_KEY", "2024-04-11", "2024-10-11")
Perl
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getSymbolChange('YOUR_API_KEY', '2024-04-11', '2024-10-11');
print $result;
Python
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = ondemand.service.getSymbolChange('YOUR_API_KEY', '2024-04-11', '2024-10-11')
print(result)
Ruby
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getSymbolChange,
message: {
apikey: 'YOUR_API_KEY',
startDate: '2024-04-11',
endDate: '2024-10-11',
}
)
response.body