Auth
| Method | Header |
|---|
| Bearer token | Authorization: Bearer gloom_news_... |
| API key header | x-api-key: gloom_news_... |
Requests
| Use | Request |
|---|
| Top stories | GET https://api.gloom.sh/v1/news?feed=top&limit=25 |
| Breaking stories | GET https://api.gloom.sh/v1/news?feed=breaking&limit=25 |
| Ticker stories | GET https://api.gloom.sh/v1/news?feed=ticker&tickers=AAPL:XNAS |
| Sources | GET https://api.gloom.sh/v1/news/sources |
| Facets | GET https://api.gloom.sh/v1/news/facets |
| Account | GET https://api.gloom.sh/v1/me |
Example
curl -s 'https://api.gloom.sh/v1/news?feed=top&limit=25' \
-H 'Authorization: Bearer gloom_news_...'
Common filters
| Filter | Example |
|---|
feed | top, latest, breaking, ticker, sector, topic |
tickers | AAPL or AAPL:XNAS |
topics | earnings,mna |
sources | Source keys from /v1/news/sources |
minImportance | Numeric threshold |
minUrgency | Numeric threshold |