Welcome to the new WEEX API documentation. Looking for the previous version?Switch to the legacy docs
WEEX
WEEX Partner REST API

Content Endpoints

Endpoint

Get Article List

Get Article List.

GET
/api/v3/content/articles/list
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight1

Get Article List › query Parameters

section
​string · required

One value: wiki, news, learn, or questions.

category
​string

Category filter, maximum 64 characters. For news, it is mutually exclusive with categoryFilter.

categoryFilter
​string

Excludes the specified categories, maximum 64 characters. Mutually exclusive with category.

tagName
​string

Filters by associated tag name.

title
​string

Fuzzy title search, maximum 200 characters.

prioritySort
​boolean

Sorts by priority. Default: false.

level
​string

Beginner, Intermediate, or Advanced. Mutually exclusive with excludeLevel.

excludeLevel
​string

Excludes one learning level. Mutually exclusive with level.

excludeDocumentId
​string

Excludes one document ID, typically for related-content queries.

excludeContentKey
​string

Excludes contentKey.

withCount
​boolean

Whether to return total and pages. Default: false.

page
​integer

Page number, starting from 1. Default: 1.

pageSize
​integer

Items per page. Default: 25; maximum: 200.

populateThumbnail
​boolean

Whether to return thumbnail. Default: false. Ignored for questions.

populateTagLists
​boolean

Whether to return tagLists. Default: false.

populateCoins
​boolean

Whether to return coinsMaps. Default: false.

Get Article List › Responses

200

Successful response

total
​integer

Total records. null when withCount=false.

page
​integer

Current page number.

pageSize
​integer

Page size.

pages
​integer

Total pages. null when withCount=false.

hasNextPage
​boolean

Whether another page is available.

​object[]

Article items.


Get Article List by Coin

Get Article List by Coin.

GET
/api/v3/content/articles/listByCoin
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight1

Get Article List by Coin › query Parameters

section
​string · required

One content section: wiki, news, learn, or questions.

symbol
​string

Coin symbol, for example BTC. At least one of symbol and slug is required.

slug
​string

Coin slug, for example btc. At least one of symbol and slug is required.

startEnableDate
​string

Inclusive lower bound of enabledDate, as a Unix timestamp in seconds or milliseconds. Ignored for other sections.

endEnableDate
​string

Inclusive upper bound of enabledDate, as a Unix timestamp in seconds or milliseconds. When omitted, results do not go beyond the current time. Ignored for other sections.

withCount
​boolean

Whether to return total and pages. Default: false.

page
​integer

Page number, starting from 1. Default: 1.

pageSize
​integer

Number of items per page. Default: 25; maximum: 200.

populateThumbnail
​boolean

Whether to return thumbnail. Default: false. Ignored for questions.

populateTagLists
​boolean

Whether to return tagLists. Default: false.

populateCoins
​boolean

Whether to return coinsMaps. Default: false.

Get Article List by Coin › Responses

200

Successful response

total
​integer

Total records. May be null when withCount=false.

page
​integer

Current page number.

pageSize
​integer

Page size.

pages
​integer

Total pages. May be null when withCount=false.

hasNextPage
​boolean

Whether another page is available.

​object[]

Article items. Fields are documented in Get Article List.


Get Article Detail

Get Article Detail.

GET
/api/v3/content/articles/detail
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight1

Get Article Detail › query Parameters

section
​string · required

One value: wiki, news, learn, or questions.

documentId
​string

Document ID. Takes precedence when both IDs are supplied.

v4Id
​string

Legacy-compatible ID. At least one of documentId and v4Id is required.

populateThumbnail
​boolean

Whether to return thumbnail. Default: false. Ignored for questions.

populateTagLists
​boolean

Whether to return tagLists. Default: false. Ignored for news.

populateCoins
​boolean

Whether to return coinsMaps. Default: false.

Get Article Detail › Responses

200

Successful response

id
​integer

Content ID.

documentId
​string

Document ID.

v4Id
​string | null

Legacy-compatible content ID.

section
​string

wiki, news, learn, or questions.

title
​string

Localized title.

summary
​string

Localized summary. null for learn.

contentKey
​string | null

Content key.

enabled
​boolean

Whether the content is enabled. null for learn.

enabledDate
​integer

Enable time in UTC milliseconds. null for learn.

category
​string

Content category.

imgCategory
​string

Wiki image category.

link
​string | null

External source link.

sourceSite
​string | null

Source site.

outerPic
​string | null

External source image.

originalSourceUrl
​string | null

Original source URL.

priority
​integer | null

News priority.

date
​integer | null

Learning content date in UTC milliseconds.

level
​string | null

Beginner, Intermediate, or Advanced.

outerId
​string

External content ID.

outerLocaleId
​integer

External locale ID. null for news.

sourceLang
​string | null

Source language. null for news.

titleEn
​string

English title.

translation
​boolean

Translation flag. null for news.

translationStatus
​string

Translation status. null for news.

thumbnail
​object | null

null when unsupported, not requested, or absent.

tagLists
​array

null when not requested; an empty array when requested but no tags exist.

coinsMaps
​array

null when not requested; an empty array when requested but no coins exist.

publishedAt
​integer

Publication time in UTC milliseconds.

createdAt
​integer

Creation time in UTC milliseconds.

updatedAt
​integer

Update time in UTC milliseconds.

body
​string

HTML body. The content field from learn is mapped to body.

articleUrl
​string

WEEX article URL generated by the server.

total
​integer

Total records. null when withCount=false.

page
​integer

Current page number.

pageSize
​integer

Page size.

pages
​integer

Total pages. null when withCount=false.

hasNextPage
​boolean

Whether another page is available.

items
​object[]

Article items.


Get Latest Banner

Get Latest Banner.

GET
/api/v3/content/banners/latest
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight1

Get Latest Banner › query Parameters

type
​string · required

Banner type: News, Wiki, Learn main, Learn details, News details bottom, learn pop up, learn pop up detail, or News details text.

Get Latest Banner › Responses

200

Successful response

id
​integer

Banner ID.

documentId
​string

Document ID.

title
​string

Banner title.

description
​string

Banner description.

cta
​string

Call-to-action text.

link
​string

Target URL.

type
​string

Banner type.

​object

Banner image metadata. Omitted when no image exists.

publishedAt
​integer

Publication time in UTC milliseconds.

createdAt
​integer

Creation time in UTC milliseconds.

updatedAt
​integer

Update time in UTC milliseconds.