Get News Article Detail#
Retrieve the full content of a single news article by its unique ID.
Request Path#
GET
https://web3.okx.com/api/v6/dex/market/social/news/detailRequest Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
| articleId | string | Yes | Unique article ID. Obtained from the articles[].id field in responses from /social/news/latest, /social/news/by-symbol, or /social/news/search. |
| language | string | No | Response language in BCP-47 format, e.g. en_US, zh_CN. Default en_US. |
Response Parameters#
| Field | Type | Description |
|---|---|---|
| articles | array | Fixed array of 1 article on success |
| > id | string | Unique article ID, consistent with the articles[].id field in list API responses |
| > title | string | Article title |
| > summary | string | Article summary |
| > content | string | Full article content |
| > sourceUrl | string | Original article URL |
| > source | string | First platform domain of the news source |
| > timestamp | string | Article publish time, Unix millisecond timestamp |
| > tokenSymbols | array | List of token symbols mentioned in the article |
| > importance | string | Article importance level: 1=high, 2=medium, 3=low |
| > tokenSymbolSentiments | array | Per-token sentiment analysis for this article |
| >> sentiment | string | Sentiment label: bullish / bearish / neutral |
| >> tokenSymbol | string | Token symbol |
Request Example#
shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/social/news/detail?articleId=NEWS_20241018_001&language=en_US' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'
Response Example#
json
{
"code": "0",
"msg": "",
"data": {
"articles": [
{
"id": "NEWS_20241018_001",
"title": "Bitcoin Surges Past $70,000 as Institutional Demand Grows",
"summary": "Bitcoin has broken through the $70,000 mark for the first time this month, driven by strong institutional buying and positive ETF inflows.",
"content": "Bitcoin reached a new monthly high on Wednesday, crossing the $70,000 threshold as institutional investors continued to pour capital into spot Bitcoin ETFs. Data from multiple sources shows that ETF inflows hit $800 million on Tuesday alone, pushing total assets under management to over $50 billion. Analysts attribute the price surge to a combination of factors including the approaching halving event, macroeconomic tailwinds from recent Federal Reserve policy signals, and growing corporate treasury adoption. Major financial institutions have reiterated their bullish outlook for Bitcoin heading into Q4.",
"sourceUrl": "https://coindesk.com/markets/2024/10/18/bitcoin-surges-past-70000",
"source": "coindesk.com",
"timestamp": "1697630501000",
"tokenSymbols": ["BTC"],
"importance": "high",
"tokenSymbolSentiments": [
{
"tokenSymbol": "BTC",
"sentiment": "bullish"
}
]
}
]
}
}