Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tradingnews.press/llms.txt

Use this file to discover all available pages before exploring further.

Base URL

https://api.tradingnews.press

Authentication

All endpoints require an API key via the X-API-Key header:
curl -H "X-API-Key: tn_live_your_key" https://api.tradingnews.press/v1/news

Response Format

All responses are JSON. Successful responses return 200. Error responses include a detail field:
{ "detail": "Error description" }

Article Schema

Every article returned by the API follows this structure:
FieldTypeDescription
idstringUnique ULID, sortable by time
contentstringArticle text (headline or full content)
urgencystringbreaking, flash, or regular
sentimentstring?Sentiment label (when available)
published_atstring?ISO 8601 publication time
received_atstringISO 8601 time TradingNews received the article
tickersobject[]Max plan only. Per-ticker sentiment for the article, e.g. [{"ticker": "AAPL", "sentiment": "positive"}]. Empty array when no tickers are detected. Absent for Starter/Pro responses.

Endpoints

MethodPathDescriptionAccess
GET/v1/newsList recent articlesStarter, Pro, Max
GET/v1/news/searchSemantic search over archiveMax only
WS/v1/streamReal-time firehose streamPro, Max
GET/v1/account/usageCheck plan and rate limitAll tiers