About this Cloud Hub Solution:
What is the Finance News API?
The Finance News API provides a comprehensive set of real-time financial data, historical financial data, and reliable data sources, all accessible through a simple API request to the news endpoint.
You can use optional parameters to filter your news results and tailor the data to your specific needs.
The Finance News API was designed to deliver a powerful, scalable, and easy-to-use REST API interface for worldwide live and historical financial news data in a convenient JSON format.
The API features a single news HTTP GET endpoint, along with various parameters and options to narrow down your finance news data results.
You can filter by dates and timeframes, sources, and search keywords, tags, and tickers.
How does the Finance News API help you?
With the Finance News API, you can access the full set of available real-time news articles using a simple API request to the news endpoint.
Below, you'll find an example API request and a series of optional parameters to filter your news results.
Please note that accounts subscribed to the Free Plan will receive live news with a 60-minute delay.
To get news in real-time, you can 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 languages such as PHP, Python, jQuery, Go, and Ruby to help you get started with integrating the API into your application.
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" } ]}