Skip to main content
POST
/
api
/
tradingview
/
news
/tradingview/news
curl --request POST \
  --url https://api.anysite.io/api/tradingview/news \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "market": "stock"
}
'
[
  {
    "id": "<string>",
    "title": "<string>",
    "@type": "@trading_view_news_article",
    "published_at": 123,
    "urgency": 123,
    "provider": "<string>",
    "related_symbols": [],
    "is_exclusive": false,
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Maximum number of articles to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
market
enum<string>
default:stock

Market category of the news feed

Available options:
stock,
crypto,
forex,
futures,
index,
bond,
economic

Response

Successful Response

id
string
required
title
string
required
@type
string
default:@trading_view_news_article
published_at
integer | null
urgency
integer | null
provider
string | null
is_exclusive
boolean
default:false
url
string | null