curl --request GET \
--url https://www.prometheus.services/api/v1/news/feed \
--header 'X-API-KEY: <api-key>'import requests
url = "https://www.prometheus.services/api/v1/news/feed"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://www.prometheus.services/api/v1/news/feed', 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://www.prometheus.services/api/v1/news/feed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://www.prometheus.services/api/v1/news/feed"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.prometheus.services/api/v1/news/feed")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.prometheus.services/api/v1/news/feed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"sourceCode": "<string>",
"sourceName": "<string>",
"sourceKind": "<string>",
"displayPolicy": "full_text",
"attribution": "<string>",
"headline": "<string>",
"headlineKind": "source",
"snippet": "<string>",
"url": "<string>",
"publishedAt": "2023-11-07T05:31:56Z",
"observedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"importance": 50,
"isFlash": true,
"tickers": [
"<string>"
],
"primaryCik": "<string>",
"formType": "<string>",
"itemCodes": [
"<string>"
],
"topics": [
"<string>"
],
"clusterId": 123,
"language": "<string>",
"publisher": "<string>"
}
],
"latestId": 123,
"nextCursor": 123,
"serverTime": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}News feed
The intraday news tape: SEC filings as they are accepted, issuer press releases, exchange and regulator notices, central-bank releases and licensed wires, stamped with the source time and the moment Prometheus first saw them. Cursor-paged on id: poll forward with after=latestId (+changedSince=serverTime to pick up rewritten headlines), page back with before=nextCursor. Every row carries its source attribution and display policy; snippet/body are withheld where the license does not allow them.
curl --request GET \
--url https://www.prometheus.services/api/v1/news/feed \
--header 'X-API-KEY: <api-key>'import requests
url = "https://www.prometheus.services/api/v1/news/feed"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://www.prometheus.services/api/v1/news/feed', 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://www.prometheus.services/api/v1/news/feed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://www.prometheus.services/api/v1/news/feed"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.prometheus.services/api/v1/news/feed")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.prometheus.services/api/v1/news/feed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"sourceCode": "<string>",
"sourceName": "<string>",
"sourceKind": "<string>",
"displayPolicy": "full_text",
"attribution": "<string>",
"headline": "<string>",
"headlineKind": "source",
"snippet": "<string>",
"url": "<string>",
"publishedAt": "2023-11-07T05:31:56Z",
"observedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"importance": 50,
"isFlash": true,
"tickers": [
"<string>"
],
"primaryCik": "<string>",
"formType": "<string>",
"itemCodes": [
"<string>"
],
"topics": [
"<string>"
],
"clusterId": 123,
"language": "<string>",
"publisher": "<string>"
}
],
"latestId": 123,
"nextCursor": 123,
"serverTime": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}Authorizations
Prometheus API key (pk_live_...), created on the Developers page in the terminal. Also accepted as Authorization: Bearer pk_live_....
Query Parameters
Poll: return items with id greater than this (newest first). Pass the previous response's latestId.
Load older: return items with id lower than this. Pass the previous response's nextCursor.
ISO 8601; with after, also re-send items whose updatedAt is later (headline rewrites, re-tagging). Pass the previous response's serverTime.
1–200, default 100.
Comma-separated tickers; items tagged with any of them.
Numeric CIK or platform key; items whose primary company or a tagged company entity is this issuer.
Comma-separated topic codes (see /news/topics); any of them.
Comma-separated source codes (see /news/sources); any of them.
Comma-separated source codes to hide (the UI's Markets view hides agency releases, social posts and GDELT links).
Comma-separated filing form types to hide (e.g. 4,144,SC 13G); rows without a form are kept.
1 to return flash (high-priority) items only.
1 Minimum importance score 0–100.
0 <= x <= 100Full-text query over headline and snippet (websearch syntax: quoted phrases, OR, -exclusion).
Response
OK
Newest first.
Show child attributes
Show child attributes
Highest id in the response (never below the caller's after); poll with after=latestId.
Lowest id in the response when more rows exist below it; page older with before=nextCursor. null when exhausted.
Database time at query; pass back as changedSince on the next poll.