Skip to main content

Get Article List

HTTP request Returns a paginated list of Web3 content. Article bodies are not included in list responses.

  • GET /api/v3/content/articles/list

Weight(IP): 1

Request headers

HeaderRequiredDescription
localeNoContent locale. Default: en_US. Supported values: ar_AR, az_AZ, de_DE, en_US, es_419, es_AR, es_ES, fa_IR, fr_FR, in_ID, it_IT, ja_JP, pl_PL, pt_BR, pt_PT, ru_RU, uk_UK, vi_VN, zh_CN, zh_TW.

Request parameters

ParameterTypeRequiredApplies toDescription
sectionStringYesAllOne value: wiki, news, learn, or questions.
categoryStringNowiki, newsCategory filter, maximum 64 characters. For news, it is mutually exclusive with categoryFilter.
categoryFilterStringNonewsExcludes the specified categories, maximum 64 characters. Mutually exclusive with category.
tagNameStringNoAllFilters by associated tag name.
titleStringNowiki, news, questionsFuzzy title search, maximum 200 characters.
prioritySortBooleanNonewsSorts by priority. Default: false.
levelStringNolearnBeginner, Intermediate, or Advanced. Mutually exclusive with excludeLevel.
excludeLevelStringNolearnExcludes one learning level. Mutually exclusive with level.
excludeDocumentIdStringNoquestionsExcludes one document ID, typically for related-content queries.
excludeContentKeyStringNoquestionsExcludes contentKey.
withCountBooleanNoAllWhether to return total and pages. Default: false.
pageIntegerNoAllPage number, starting from 1. Default: 1.
pageSizeIntegerNoAllItems per page. Default: 25; maximum: 200.
populateThumbnailBooleanNowiki, news, learnWhether to return thumbnail. Default: false. Ignored for questions.
populateTagListsBooleanNoAllWhether to return tagLists. Default: false.
populateCoinsBooleanNoAllWhether to return coinsMaps. Default: false.

Request example

curl "https://api-spot.weex.com/api/v3/content/articles/list?section=news&categoryFilter=events&prioritySort=true&page=1&pageSize=10&withCount=true&populateThumbnail=true&populateTagLists=true&populateCoins=true" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale: en_US" \
-H "Content-Type: application/json"

Response parameters

FieldTypeDescription
totalLongTotal records. null when withCount=false.
pageIntegerCurrent page number.
pageSizeIntegerPage size.
pagesIntegerTotal pages. null when withCount=false.
hasNextPageBooleanWhether another page is available.
itemsArticleListItem[]Article items.

ArticleListItem

FieldTypeApplies toDescription
idLongAllContent ID.
documentIdStringAllDocument ID.
v4IdStringAllLegacy-compatible content ID.
sectionStringAllwiki, news, learn, or questions.
titleStringAllLocalized title.
summaryStringwiki, news, questionsLocalized summary. null for learn.
contentKeyStringAllContent key.
enabledBooleanwiki, news, questionsWhether the content is enabled. null for learn.
enabledDateLongwiki, news, questionsEnable time in UTC milliseconds. null for learn.
categoryStringwiki, newsContent category.
imgCategoryStringwikiWiki image category.
linkStringnewsExternal source link.
sourceSiteStringnewsSource site.
outerPicStringnewsExternal source image.
originalSourceUrlStringnewsOriginal source URL.
priorityIntegernewsNews priority.
dateLonglearnLearning content date in UTC milliseconds.
levelStringlearnBeginner, Intermediate, or Advanced.
outerIdStringAllExternal content ID.
outerLocaleIdLongwiki, learn, questionsExternal locale ID. null for news.
sourceLangStringwiki, learn, questionsSource language. null for news.
titleEnStringAllEnglish title.
translationBooleanwiki, learn, questionsTranslation flag. null for news.
translationStatusStringwiki, learn, questionsTranslation status. null for news.
thumbnailObjectwiki, news, learnnull when unsupported, not requested, or absent.
tagListsArrayAllnull when not requested; an empty array when requested but no tags exist.
coinsMapsArrayAllnull when not requested; an empty array when requested but no coins exist.
publishedAtLongAllPublication time in UTC milliseconds.
createdAtLongAllCreation time in UTC milliseconds.
updatedAtLongAllUpdate time in UTC milliseconds.

Response example

{
"total": 8102,
"page": 1,
"pageSize": 10,
"pages": 811,
"hasNextPage": true,
"items": [
{
"id": 1811667,
"documentId": "nixq62735vbptclw9y0xti6f",
"v4Id": null,
"section": "news",
"title": "Data: 12,000 ETH withdrawn from Poloniex",
"summary": "A market news summary.",
"contentKey": null,
"enabled": true,
"enabledDate": 1781062934160,
"category": "news-flash",
"imgCategory": null,
"link": "https://example.com/article",
"sourceSite": "rootData",
"outerPic": null,
"originalSourceUrl": "https://example.com/article",
"priority": null,
"date": null,
"level": null,
"outerId": "rootData_2270427",
"outerLocaleId": null,
"sourceLang": null,
"titleEn": "Data: 12,000 ETH withdrawn from Poloniex",
"translation": null,
"translationStatus": null,
"thumbnail": null,
"tagLists": [],
"coinsMaps": [],
"publishedAt": 1781062922400,
"createdAt": 1781062922391,
"updatedAt": 1781062935084
}
]
}