What is the Finance News API?
The full set of available real-time financial data, historical financial data, reliable data sources, scalable infrastructure, and extensive API documentation can be accessed using a simple API request to the Finance News API's news endpoint. Below you will find an example API request as well as a series of optional parameters you can use to filter your news results.
The Finance News API was built to provide a powerful, scalable yet easy-to-use REST API interface delivering worldwide live and historical financial news data in handy JSON format. The API comes with a single news HTTP GET endpoint along with a series of parameters and options you can use to narrow down your finance news data results. Among other options, you can filter by dates and timeframes, sources, and search keywords, tags, and tickers.
How does the Finance News API help you?
The full set of available real-time news articles can be accessed using a simple API request to the Finance News API's news endpoint. Below you will find an example API request as well as a series of optional parameters you can use to filter your news results.
Delayed news on Free Plan: Please note that accounts subscribed to the Free Plan will receive live news only with a 60-minute delay. To lift this limitation and get news in real-time, please sign up or upgrade to the Standard Plan or higher.
Code Samples
The Finance News API supports any client and server-side programming language. We have prepared code examples for the languages PHP, Python, jQuery, Go and Ruby.
Example Request
curl --request GET 'https://api.apilayer.com/financelayer/news?date=today&keywords=at%26t&sources=seekingalpha.com&keyword=merger&tickers=dis' \
--header 'apikey: YOUR API KEY'
Example Response
{
"pagination": {
"limit": 25,
"offset": 0,
"count": 25,
"total": 10000
},
"data": [
{
"title": "AT&T: Best Investment For Investors Seeking Value And Growth",
"url": "https://seekingalpha.com/article/4457821-at-and-t-value-and-growth",
"description": "AT&T and Discovery merger provides investors with the potential for valuation and dividend appreciation. See more on how this merger can boost T stock here.",
"source": "seekingalpha.com",
"tickers": [
"dis",
"disca",
"discb",
"disck",
"nflx",
"tmus",
"vz"
],
"tags": [
"Business",
"Communication Services",
"Consumer Cyclical",
"Dis",
"Disca",
"Discb",
"Disck",
"Nflx",
"Stock",
"T",
"Tmus",
"Vz"
],
"published_at": "2021-09-30T14:53:42+00:00"
}
]
}
API Documentation
Interested in our API? Please read below for detailed documentation and integration guide equipped with a library with 100+ pre-written code examples that can get you going in minutes.