Python (SDK)
from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.news.list(symbols="AAPL,GOOGL,MSFT", topics="earnings,guidance")
assert res.news_list_response is not None
# Handle response
print(res.news_list_response)import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.news.list({
symbols: "AAPL,GOOGL,MSFT",
topics: "earnings,guidance",
});
console.log(result);
}
run();curl --request GET \
--url https://api.aries.com/v1/news \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/news",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/news"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/news")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/news")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"news": [
{
"action": "",
"authors": [
"Jane Smith"
],
"body": "",
"id": 123456,
"news_type": "news",
"symbols": [
"AAPL"
],
"timestamp": "2024-02-16T14:30:00Z",
"title": "Apple Announces New Product Line"
},
{
"action": "",
"authors": [
"John Doe"
],
"body": "",
"id": 123457,
"news_type": "press_release",
"symbols": [
"MSFT"
],
"timestamp": "2024-02-16T13:15:00Z",
"title": "Microsoft Q4 Earnings Beat Expectations"
}
]
}News
Market News
Retrieve latest financial news articles, market updates, and company announcements with headlines, summaries, and source links. Stay informed on market-moving events.
Use Case: Display top 10 latest news articles for Apple with publication times and source logos.
GET
/
v1
/
news
Python (SDK)
from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.news.list(symbols="AAPL,GOOGL,MSFT", topics="earnings,guidance")
assert res.news_list_response is not None
# Handle response
print(res.news_list_response)import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.news.list({
symbols: "AAPL,GOOGL,MSFT",
topics: "earnings,guidance",
});
console.log(result);
}
run();curl --request GET \
--url https://api.aries.com/v1/news \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/news",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/news"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/news")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/news")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"news": [
{
"action": "",
"authors": [
"Jane Smith"
],
"body": "",
"id": 123456,
"news_type": "news",
"symbols": [
"AAPL"
],
"timestamp": "2024-02-16T14:30:00Z",
"title": "Apple Announces New Product Line"
},
{
"action": "",
"authors": [
"John Doe"
],
"body": "",
"id": 123457,
"news_type": "press_release",
"symbols": [
"MSFT"
],
"timestamp": "2024-02-16T13:15:00Z",
"title": "Microsoft Q4 Earnings Beat Expectations"
}
]
}Authorizations
Query Parameters
Comma-separated list of topics to filter news. Maximum 10 topics per request. Common topics:
earnings— earnings releases and reports.guidance— forward guidance updates.mergers_acquisitions— M&A activity.dividends— dividend announcements.analyst_ratings— analyst upgrades and downgrades.ipo— initial public offerings.regulatory— SEC filings, lawsuits, regulatory actions.
Topic names depend on the upstream news catalog and may evolve over time.
Example:
"earnings,guidance"
Was this page helpful?