Skip to main content

Get Asset News Context

Get Asset News Context

Get news related to a DeepCoin tradable asset. An agent can combine this news context with existing market endpoints to analyze the asset.

This is a public V1 endpoint. Rate limit dimension: IP.

Request URL

GET /deepcoin/market/ai-analysis/asset-news

Request Parameters

Field NameRequiredTypeDescription
assettruestringDeepCoin tradable asset code, for example BTC, AAPL, NVDA, XAU, or XAG. Maximum length: 32
langfalsestringNews language. Default: en. zh is normalized to zh-cn
beforeIdfalseintegerNews cursor. Returns news with IDs lower than this value. Omit for the first page
limitfalseintegerNumber of news items. Default: 10; range: 1 to 20

Supported assets and aliases are derived dynamically from the current DeepCoin SPOT and SWAP product catalog. Matching is case-insensitive and exact after normalization; substring matching is not used.

Response Parameters

Field NameTypeDescription
assetstringCanonical asset code
hasMorebooleanWhether another page is available
newsarrayRelated news ordered by news ID descending
news[].idintegerNews ID. Use the last item ID as beforeId for the next page
news[].titlestringNews title in the requested language, with upstream language fallback
news[].contentstringNews content in the requested language, with upstream language fallback
news[].sourcestringNews source
news[].sentimentintegerSentiment: 0 default, 1 bullish, 2 bearish, 3 neutral, 4 unknown
news[].tagsarray<string>All active tags on the news item
news[].publishTimestringNews publication time

Response Example

{
"code": "0",
"msg": "",
"data": {
"asset": "BTC",
"hasMore": true,
"news": [
{
"id": 10231,
"title": "Bitcoin market update",
"content": "...",
"source": "tg",
"sentiment": 1,
"tags": ["btc", "etf"],
"publishTime": "2026-08-25 12:30:00"
}
]
}
}

Request Examples

# First page
curl --get 'https://api.deepcoin.com/deepcoin/market/ai-analysis/asset-news' \
--data-urlencode 'asset=BTC' \
--data-urlencode 'lang=en' \
--data-urlencode 'limit=10'

# Next page
curl --get 'https://api.deepcoin.com/deepcoin/market/ai-analysis/asset-news' \
--data-urlencode 'asset=BTC' \
--data-urlencode 'lang=en' \
--data-urlencode 'beforeId=10231' \
--data-urlencode 'limit=10'