News API
getNewsThe getNews API returns news headlines, articles and related photos based upon news sources, category, sub-category and/or keyword. With this API you can access breaking news, company press releases and global financial market coverage. News sources include Associated Press, Canadian Press, and Dow Jones.
View All APIssourcesoptional
The news feed code.
AP,IFsymbolsoptional
A symbol or code that identifies a financial instrument.
AMZN,GOOG,AAPLcategoryoptional
A grouping of related news content.
stockssubCategoryoptional
A more specific category of related news content.
private companiesseriesoptional
A grouping of stories under a recurring news topic. e.g. Morning Call (MORNCALL).
MORNCALLkeywordoptional
A term used to create searches.
tabletmaxRecordsoptional
The maximum number of records to show in the return.
10startDateoptional
The beginning date for the query.
2026-01-02T06:40:19displayTyperequired
The type of new displayed: headlines only, headline and preview, or full.
previewimagesoptional
An option for returning the images contained in the news article.
truestoryIdoptional
Parameter allows to get specific story by providing newsID. Parameters: sources, symbols, category, subCategory, keyword, maxRecords, startDate will be ignored.
259220rssoptional
Parameter formats XML requests as RSS feeds. This parameter has no effect on JSON or CSV requests.
falserssTitleoptional
Parameter overrides the default RSS feed title and description.
fieldsoptional
The additional fields requested.
publishDatebarchartClassificationoptional
Classify stories in some categories.
FUT.SFTorganizationoptional
Barchartlangoptional
The news story language. The stories returned will be in the requested language, if any exists.
ensourceFeedoptional
Filter results by the original sourceFeed.
CONT2exactCategoryMatchoptional
If set to true, the api will return stories with only the requested category and ignore any that might have additional categories associated with it.
falsealways returned
A numeric type defining a whole number. (example: 2)
always returned
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.
always returned
A sequence of characters. (example: GOOG)
always returned
A comma or semi-colon delimited string.
always returned
A comma or semi-colon delimited string.
always returned
A sequence of characters. (example: GOOG)
always returned
A logical type representing the truth of a value as 'true' or 'false'.
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
A numeric type defining a whole number. (example: 2)
A numeric type defining a whole number. (example: 2)
A sequence of characters. (example: GOOG)
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.
A sequence of characters. (example: GOOG)
A numeric type defining a whole number. (example: 2)
A numeric type defining a whole number. (example: 2)
always returned
A sequence of characters. (example: GOOG)
always returned
A sequence of characters. (example: GOOG)
always returned
A type which includes a list of valid possible values.
A sequence of characters. (example: GOOG)
GET
GET https://ondemand.websol.barchart.com/getNews.json?apikey=YOUR_API_KEY&sources=AP%2CIF&symbols=AMZN%2CGOOG%2CAAPL&category=stocks&subCategory=private+companies&series=MORNCALL&keyword=tablet&maxRecords=10&startDate=2026-01-02T06%3A40%3A19&displayType=preview&images=true&storyId=259220&rss=false&fields=publishDate&barchartClassification=FUT.SFT&organization=Barchart&lang=en&sourceFeed=CONT2&exactCategoryMatch=false
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getNews.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&sources=AP%2CIF&symbols=AMZN%2CGOOG%2CAAPL&category=stocks&subCategory=private+companies&series=MORNCALL&keyword=tablet&maxRecords=10&startDate=2026-01-02T06%3A40%3A19&displayType=preview&images=true&storyId=259220&rss=false&fields=publishDate&barchartClassification=FUT.SFT&organization=Barchart&lang=en&sourceFeed=CONT2&exactCategoryMatch=false
Response
{
"status": {
"code": 204,
"message": "Success, but no content to return."
},
"results": []
}
GET
GET https://ondemand.websol.barchart.com/getNews.xml?apikey=YOUR_API_KEY&sources=AP%2CIF&symbols=AMZN%2CGOOG%2CAAPL&category=stocks&subCategory=private+companies&series=MORNCALL&keyword=tablet&maxRecords=10&startDate=2026-01-02T06%3A40%3A19&displayType=preview&images=true&storyId=259220&rss=false&fields=publishDate&barchartClassification=FUT.SFT&organization=Barchart&lang=en&sourceFeed=CONT2&exactCategoryMatch=false
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getNews.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&sources=AP%2CIF&symbols=AMZN%2CGOOG%2CAAPL&category=stocks&subCategory=private+companies&series=MORNCALL&keyword=tablet&maxRecords=10&startDate=2026-01-02T06%3A40%3A19&displayType=preview&images=true&storyId=259220&rss=false&fields=publishDate&barchartClassification=FUT.SFT&organization=Barchart&lang=en&sourceFeed=CONT2&exactCategoryMatch=false
Response
<?xml version="1.0" encoding="utf-8"?>
<getNews>
<status>
<code>204</code>
<message>Success, but no content to return.</message>
</status>
</getNews>
GET
GET https://ondemand.websol.barchart.com/getNews.csv?apikey=YOUR_API_KEY&sources=AP%2CIF&symbols=AMZN%2CGOOG%2CAAPL&category=stocks&subCategory=private+companies&series=MORNCALL&keyword=tablet&maxRecords=10&startDate=2026-01-02T06%3A40%3A19&displayType=preview&images=true&storyId=259220&rss=false&fields=publishDate&barchartClassification=FUT.SFT&organization=Barchart&lang=en&sourceFeed=CONT2&exactCategoryMatch=false
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getNews.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&sources=AP%2CIF&symbols=AMZN%2CGOOG%2CAAPL&category=stocks&subCategory=private+companies&series=MORNCALL&keyword=tablet&maxRecords=10&startDate=2026-01-02T06%3A40%3A19&displayType=preview&images=true&storyId=259220&rss=false&fields=publishDate&barchartClassification=FUT.SFT&organization=Barchart&lang=en&sourceFeed=CONT2&exactCategoryMatch=false
Response
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'sources' => 'AP,IF',
'symbols' => 'AMZN,GOOG,AAPL',
'category' => 'stocks',
'subCategory' => 'private companies',
'series' => 'MORNCALL',
'keyword' => 'tablet',
'maxRecords' => '10',
'startDate' => '2026-01-02T06:40:19',
'displayType' => 'preview',
'images' => 'true',
'storyId' => '259220',
'rss' => 'false',
'fields' => 'publishDate',
'barchartClassification' => 'FUT.SFT',
'organization' => 'Barchart',
'lang' => 'en',
'sourceFeed' => 'CONT2',
'exactCategoryMatch' => 'false',
];
$result = $ondemand->getNews($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.getNews("YOUR_API_KEY", "AP,IF", "AMZN,GOOG,AAPL", "stocks", "private companies", "MORNCALL", "tablet", "10", "2026-01-02T06:40:19", "preview", "true", "259220", "false", "publishDate", "FUT.SFT", "Barchart", "en", "CONT2", "false")
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getNews('YOUR_API_KEY', 'AP,IF', 'AMZN,GOOG,AAPL', 'stocks', 'private companies', 'MORNCALL', 'tablet', '10', '2026-01-02T06:40:19', 'preview', 'true', '259220', 'false', 'publishDate', 'FUT.SFT', 'Barchart', 'en', 'CONT2', 'false');
print $result;
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = ondemand.service.getNews('YOUR_API_KEY', 'AP,IF', 'AMZN,GOOG,AAPL', 'stocks', 'private companies', 'MORNCALL', 'tablet', '10', '2026-01-02T06:40:19', 'preview', 'true', '259220', 'false', 'publishDate', 'FUT.SFT', 'Barchart', 'en', 'CONT2', 'false')
print(result)
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getNews,
message: {
apikey: 'YOUR_API_KEY',
sources: 'AP,IF',
symbols: 'AMZN,GOOG,AAPL',
category: 'stocks',
subCategory: 'private companies',
series: 'MORNCALL',
keyword: 'tablet',
maxRecords: '10',
startDate: '2026-01-02T06:40:19',
displayType: 'preview',
images: 'true',
storyId: '259220',
rss: 'false',
fields: 'publishDate',
barchartClassification: 'FUT.SFT',
organization: 'Barchart',
lang: 'en',
sourceFeed: 'CONT2',
exactCategoryMatch: 'false',
}
)
response.body