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/detail

Request Parameters#

ParameterTypeRequiredDescription
articleIdstringYesUnique article ID. Obtained from the articles[].id field in responses from /social/news/latest, /social/news/by-symbol, or /social/news/search.
languagestringNoResponse language in BCP-47 format, e.g. en_US, zh_CN. Default en_US.

Response Parameters#

FieldTypeDescription
articlesarrayFixed array of 1 article on success
> idstringUnique article ID, consistent with the articles[].id field in list API responses
> titlestringArticle title
> summarystringArticle summary
> contentstringFull article content
> sourceUrlstringOriginal article URL
> sourcestringFirst platform domain of the news source
> timestampstringArticle publish time, Unix millisecond timestamp
> tokenSymbolsarrayList of token symbols mentioned in the article
> importancestringArticle importance level: 1=high, 2=medium, 3=low
> tokenSymbolSentimentsarrayPer-token sentiment analysis for this article
>> sentimentstringSentiment label: bullish / bearish / neutral
>> tokenSymbolstringToken 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"
                    }
                ]
            }
        ]
    }
}