Fetch news
Returns a page of news articles, newest first. Filter by ticker, event type, or both, and page through results with a cursor.
GET
/v1/newsTry it
GET
https://newsapi.insighthread.com/api/v1/newsServer
Authorization
Parameters
Request
curl -X GET "https://newsapi.insighthread.com/api/v1/news" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://newsapi.insighthread.com/api/v1/news", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://newsapi.insighthread.com/api/v1/news",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"count": 0,
"pagination": {
"next_cursor": "string",
"has_more": true
},
"data": [
{
"id": 0,
"ticker": "string",
"company_name": "string",
"event_types": [
"string"
],
"headline": "string",
"summary": "string",
"published_at": "2019-08-24T14:15:22Z",
"source": {
"name": "string",
"url": "string"
},
"impact": {
"direction": "positive",
"confidence": 0,
"signal_strength": 0
},
"market": {
"price": 0,
"change": 0,
"change_percentage": 0
}
}
]
}{
"error": {
"type": "unauthorized",
"message": "string"
}
}{
"error": {
"type": "unauthorized",
"message": "string"
}
}{
"error": {
"type": "unauthorized",
"message": "string"
}
}Authorization
AuthorizationBearer token · headerrequiredAn API key, e.g. `Authorization: Bearer ik_test_...` or `Authorization: Bearer ik_live_...`.
Query parameters
limitintegerArticles per page. Clamped to a maximum of 50.
max 50 · default: 10
cursorstringOpaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page.
event_typestringFilter to one event category. Accepts a slug (`legal-action`) or the raw label (`Legal Action`). This list is a snapshot — `GET /v1/events` is the live source of truth if a new category isn't listed here yet.
Allowed:
Corporate EarningsEarnings Revision GuidanceDividendsStock BuybacksEquity/Debt OfferingsMergers and AcquisitionsMinority Stakes DealsIPO NewsLoans/RevolversDeal TerminationBankruptcy/LiquidationDelistingLegal ActionRegulatory ActionCredit RatingsRestructuringShareholder ActivismTrading UpdateOperations UpdateNew Projects/VenturesDrug UpdatesFDA Approval/RejectionsESGGeopoliticsMarket NewsMining and ExplorationProperty TransactionC-Level ChangeName ChangeStaffing/Adds/CutsInsider TradestickerstringFilter to one or more tickers. Comma-separated for multiple (`AAPL,MSFT`), case-insensitive.
sentimentstringFilter to one or more impact directions. Comma-separated for multiple (`positive,negative`), case-insensitive.
Allowed:
positivenegativeneutralmin_signal_strengthintegerFilter to a minimum impact strength (the `impact.signal_strength` bar count).
min 1 · max 5
Responses
200A page of news articles.
countintegerpaginationobjectShow propertiesHide properties
next_cursorstring | nullhas_morebooleandataNewsArticle[]Show propertiesHide properties
Array of
NewsArticleidintegertickerstring | nullcompany_namestring | nullevent_typesstring[]headlinestringsummarystring | nullpublished_atstring<date-time>sourceobjectShow propertiesHide properties
namestring | nullurlstring | nullimpactobjectShow propertiesHide properties
directionstringAllowed:
positivenegativeneutralconfidenceintegersignal_strengthintegermarketobjectShow propertiesHide properties
pricenumber | nullchangenumber | nullchange_percentagenumber | null400A query parameter failed validation (e.g. unknown `event_type`).
errorobjectShow propertiesHide properties
typestringAllowed:
unauthorizedinvalid_requestserver_errormessagestring401Missing, malformed, or revoked API key.
errorobjectShow propertiesHide properties
typestringAllowed:
unauthorizedinvalid_requestserver_errormessagestring502Upstream data fetch failed. Safe to retry with backoff.
errorobjectShow propertiesHide properties
typestringAllowed:
unauthorizedinvalid_requestserver_errormessagestring
