Mlion API 接口文档
Base URL (生产): https://api.mlion.ai
Base URL (测试): https://api2-test.mountainlion.ai
API 版本前缀: /v2/api/(仅 dashboardTokenSearch 使用 /v1/api/)
通用说明
认证
需要登录的接口须在请求头中携带:
Authorization: Bearer <token>
响应格式
所有接口返回统一结构:
{
"success": true,
"data": { ... },
"message": ""
}
失败时:
{
"success": false,
"data": null,
"message": "错误描述"
}
流式响应(SSE)
流式接口返回 text/event-stream,客户端需使用 EventSource 或手动解析 SSE 数据。
目录
- User — 用户相关
- Quote/Token — 行情与代币
- Dashboard — 仪表盘
- News — 新闻资讯
- KOL/Twitter — KOL 与推特
- Report — 报告
- Chat — 对话
- Message — 消息管理
- Image/Share — 图片与分享
- Other — 其他功能
1. User — 用户相关
1.1 发送邮箱验证码
- POST
/v2/api/sendAppEmailCode
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| email |
string |
是 |
邮箱地址 |
| type |
string |
否 |
验证码用途(register/reset) |
响应: 发送成功返回 success: true
1.2 注册
- POST
/v2/api/register
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| email |
string |
是 |
邮箱地址 |
| password |
string |
是 |
密码 |
| code |
string |
是 |
邮箱验证码 |
| invitation_code |
string |
否 |
邀请码 |
{
"success": true,
"data": {
"token": "eyJ...",
"user_id": 12345
}
}
1.3 修改密码
- POST
/v2/api/modifyPassword
- 认证: 不需要(通过邮箱验证码验证身份)
| 参数 |
类型 |
必填 |
说明 |
| email |
string |
是 |
邮箱地址 |
| new_password |
string |
是 |
新密码 |
| code |
string |
是 |
邮箱验证码 |
1.4 检查用户是否存在
- POST
/v2/api/userCheckExist
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| email |
string |
是 |
邮箱地址 |
{
"success": true,
"data": { "exist": true }
}
1.5 获取用户评级
- POST
/v2/api/userRate
- 认证: 不需要(有 token 返回个人数据,无 token 返回公共数据)
| 参数 |
类型 |
必填 |
说明 |
| chain_id |
string |
否 |
链 ID |
| wallet_address |
string |
否 |
钱包地址 |
1.6 获取用户信息
- GET/POST
/v2/api/getUserInfo
- 认证: 需要
{
"success": true,
"data": {
"user_id": 12345,
"email": "user@example.com",
"membership": "ml-plus",
"expire_time": "2026-12-31"
}
}
1.7 获取邀请信息
- GET/POST
/v2/api/getInviteInfo
- 认证: 需要
{
"success": true,
"data": {
"invitation_code": "ABC123",
"invited_count": 5,
"reward_points": 100
}
}
2. Quote/Token — 行情与代币
2.1 获取代币列表
- GET
/v2/api/getCoinList
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| page |
int |
否 |
页码,默认 1 |
| page_size |
int |
否 |
每页数量,默认 20 |
| sort |
string |
否 |
排序字段 |
{
"success": true,
"data": {
"list": [
{
"coin_id": "bitcoin",
"symbol": "BTC",
"name": "Bitcoin",
"price": 65000.0,
"change_24h": 2.5
}
],
"total": 1000
}
}
2.2 获取实时价格
- GET
/v2/api/getRealTimePrice
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
是 |
代币 ID(如 bitcoin) |
2.3 获取总 Token 数
- GET
/v2/api/getTotalTokens
- 认证: 不需要
响应: 返回平台统计的代币总数及分类数量。
2.4 获取预测信息
- GET/POST
/v2/api/getPredictInfo
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
是 |
代币 ID |
| language |
string |
否 |
语言(cn/en),默认 cn |
响应: 返回 AI 生成的价格预测及信心指数。
2.5 获取周价格
- GET
/v2/api/getWeekPrice
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
是 |
代币 ID |
响应: 返回过去 7 天的价格走势数据。
2.6 AI 择币
- GET/POST
/v2/api/aiChooseToken
- 认证: 不需要
响应: 返回 AI 推荐的代币列表及理由。
2.7 深度洞察
- POST
/v2/api/deepInsight
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
是 |
代币 ID |
| language |
string |
否 |
语言(cn/en) |
| query |
string |
否 |
自定义查询问题 |
响应: 返回深度分析报告,包含技术面、基本面、情绪分析。
2.8 GZH 深度洞察
- POST
/v2/api/gzhDeepInsight
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| article_url |
string |
是 |
公众号文章 URL |
| language |
string |
否 |
语言(cn/en) |
2.9 指令润色
- POST
/v2/api/instruction/polish
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| instruction |
string |
是 |
原始指令文本 |
| language |
string |
否 |
语言(cn/en) |
{
"success": true,
"data": {
"polished": "润色后的指令文本"
}
}
2.10 获取日播
- GET/POST
/v2/api/broadcast/daily/query
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| date |
string |
否 |
日期(YYYY-MM-DD),默认今日 |
| language |
string |
否 |
语言(cn/en) |
响应: 返回当日播客内容列表(包含音频 URL)。
3. Dashboard — 仪表盘
3.1 搜索代币(v1)
- GET
/v1/api/dashboardTokenSearch
- 认证: 不需要
- 注意: 此接口使用
/v1/api/ 前缀
| 参数 |
类型 |
必填 |
说明 |
| keyword |
string |
是 |
搜索关键词 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
3.2 获取仪表盘代币列表
- GET
/v2/api/dashboardTokenList
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| category |
string |
否 |
分类筛选 |
| sort_by |
string |
否 |
排序字段 |
| order |
string |
否 |
asc/desc |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
3.3 获取代币详情
- GET
/v2/api/dashboardTokenDetail
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
是 |
代币 ID |
3.4 获取代币历史价格
- GET
/v2/api/dashboardTokenHistory
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
是 |
代币 ID |
| interval |
string |
否 |
时间间隔(1h/4h/1d/1w) |
| limit |
int |
否 |
数据点数量 |
3.5 获取加密市场数据
- GET
/v2/api/dashboardCryptoMarket
- 认证: 不需要
响应: 返回市场总市值、24h 交易量、BTC 占比等全局数据。
3.6 获取以太坊 Gas 数据
- GET
/v2/api/dashboardEthGas
- 认证: 不需要
响应: 返回当前以太坊 Gas 费用(慢/标准/快)。
3.7 获取恐贪指数
- GET
/v2/api/dashboardFearAndGreed
- 认证: 不需要
响应: 返回当前市场恐贪指数及历史趋势。
3.8 获取热门代币
- GET
/v2/api/dashboardHotTokens
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| limit |
int |
否 |
返回数量,默认 10 |
3.9 获取山寨季指数
- GET
/v2/api/dashboardAltcoinSeason
- 认证: 不需要
响应: 返回山寨季指数及各时间维度排名。
3.10 获取泡沫指数
- GET
/v2/api/dashboardBubbleIndex
- 认证: 不需要
响应: 返回市场泡沫风险评分。
3.11 获取交易信号
- GET
/v2/api/dashboardTradeSignal
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| coin_id |
string |
否 |
代币 ID,默认 BTC |
4. News — 新闻资讯
4.1 获取实时新闻(加密)
- GET
/v2/api/news/real/time/sw
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
| language |
string |
否 |
语言(cn/en) |
| tag |
string |
否 |
标签筛选 |
{
"success": true,
"data": {
"list": [
{
"news_id": "abc123",
"title": "新闻标题",
"summary": "AI 生成摘要",
"source": "CoinDesk",
"published_at": "2026-04-24T10:00:00Z",
"tags": ["Bitcoin", "ETF"]
}
],
"total": 500
}
}
4.2 获取实时新闻(AI)
- GET
/v2/api/news/real/time/ai/sw
- 认证: 不需要
Query 参数: 同 4.1
响应: 同 4.1,内容为 AI 行业新闻。
4.3 获取新闻短评(流式)
- POST
/v2/api/news/real/time/comment/short/gen
- 认证: 不需要
- 响应类型: SSE(
text/event-stream)
| 参数 |
类型 |
必填 |
说明 |
| news_id |
string |
是 |
新闻 ID |
| language |
string |
是 |
语言(cn/en) |
| news_type |
string |
是 |
新闻类型(crypto/ai) |
data: {"content": "短评文本片段"}
data: [DONE]
4.4 获取每周热门新闻
- GET
/v2/api/news/weekly/hot
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| week |
string |
否 |
周(YYYY-Www),默认本周 |
| language |
string |
否 |
语言(cn/en) |
4.5 获取推文新闻
- GET
/v2/api/news/tweet
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
| language |
string |
否 |
语言 |
4.6 获取话题列表
- GET
/v2/api/getTopics
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| language |
string |
否 |
语言(cn/en) |
| category |
string |
否 |
分类 |
5.1 获取 KOL 列表
- GET
/v2/api/news/kollist
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
| language |
string |
否 |
语言筛选 |
{
"success": true,
"data": {
"list": [
{
"kol_id": "kol_001",
"twitter_id": "elonmusk",
"name": "Elon Musk",
"followers": 180000000,
"influence_score": 98.5
}
]
}
}
5.2 获取推文详情
- GET
/v2/api/getTweetInfo
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| tweet_id |
string |
是 |
推文 ID |
5.3 获取推文列表
- GET
/v2/api/getTWList
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| kol_id |
string |
否 |
KOL ID |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
5.4 搜索推文列表
- GET
/v2/api/searchTWList
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| keyword |
string |
是 |
搜索关键词 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
5.5 翻译 KOL 推文
- POST
/v2/api/transKOL
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| tweet_id |
string |
是 |
推文 ID |
| tweet_text |
string |
是 |
推文原文 |
| target_language |
string |
否 |
目标语言(cn/en),默认 cn |
{
"success": true,
"data": {
"translated": "翻译后的文本",
"source_language": "en"
}
}
5.6 关注 KOL
- POST
/v2/api/news/follow_kol
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| kol_id |
string |
是 |
KOL ID |
5.7 取关 KOL
- POST
/v2/api/news/unfollow_kol
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| kol_id |
string |
是 |
KOL ID |
6. Report — 报告
6.1 获取报告 PDF
- GET
/v2/api/getReportPDF
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| report_id |
string |
是 |
报告 ID |
响应: 返回 PDF 文件 URL 或直接流式返回 PDF 内容。
6.2 获取报告类型更新时间
- GET
/v2/api/getReportTypeUpdateTime
- 认证: 不需要
响应: 返回各报告类型的最新更新时间。
6.3 获取报告数据
- GET
/v2/api/getReportData
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| report_type |
string |
是 |
报告类型 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
6.4 获取报告列表
- GET
/v2/api/getReportList
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| category |
string |
否 |
报告类别 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
6.5 获取报告详情
- GET
/v2/api/getReportDetail
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| report_id |
string |
是 |
报告 ID |
6.6 获取报告热词
- GET
/v2/api/getReportHotWords
- 认证: 不需要
响应: 返回近期报告中的高频关键词及出现次数。
6.7 获取报告分类
- GET
/v2/api/getReportCategory
- 认证: 不需要
响应: 返回支持的报告分类列表。
7. Chat — 对话
7.1 发送流式对话
| 参数 |
类型 |
必填 |
说明 |
| content |
string |
是 |
用户消息内容 |
| messages |
array |
否 |
历史消息列表 |
| msggroup |
string |
否 |
消息组 ID |
| code |
string |
否 |
附加代码内容 |
| model |
string |
否 |
会员模型标识(ml-plus) |
| llm_model |
string |
否 |
指定底层模型(见上方列表) |
| source |
string |
否 |
来源标识 |
| language |
string |
否 |
语言(cn/en) |
| owner |
string |
否 |
内容归属标识 |
| output_type |
string |
否 |
输出类型 |
| chain_id |
string |
否 |
链 ID(Web3 场景) |
| agent_id |
string |
否 |
Agent ID |
| wallet_type |
string |
否 |
钱包类型 |
| visitor_id |
string |
否 |
访客 ID(未登录用户标识) |
| search_type |
string |
否 |
搜索类型 |
| trade_signal_text |
string |
否 |
交易信号文本 |
| regenerate_response |
bool |
否 |
是否重新生成 |
| 事件 |
说明 |
code |
会话码 |
systemLanguage |
检测到的语言 |
msggroup |
消息组 ID |
responseType |
响应类型标识 |
attitude |
情感态度 |
sub_questions |
相关问题推荐 |
whisper |
系统提示 |
content |
正文流内容 |
[DONE] |
流结束标志 |
7.2 获取思维导图
- POST
/v2/api/getMindMap
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| message |
string |
是 |
主题或内容 |
| msggroup |
string |
否 |
消息组 ID |
| code |
string |
否 |
附加代码内容 |
| language |
string |
否 |
语言(cn/en),默认 cn |
| type |
int |
否 |
1=思维导图(默认),2=表格 |
{
"success": true,
"data": {
"mindmap": "# 主题\n## 子节点1\n## 子节点2",
"format": "markdown"
}
}
8. Message — 消息管理
8.1 获取消息列表
- GET/POST
/v2/api/getMessageList
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| msggroup |
string |
是 |
消息组 ID |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
{
"success": true,
"data": {
"list": [
{
"msg_id": "msg_001",
"role": "user",
"content": "用户发送的消息",
"created_at": "2026-04-24T10:00:00Z"
}
],
"total": 50
}
}
8.2 获取消息组列表
- GET/POST
/v2/api/getMsgGroupList
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| page |
int |
否 |
页码 |
| page_size |
int |
否 |
每页数量 |
8.3 删除消息组
- POST
/v2/api/delMsgGroupList
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| msggroup_ids |
array |
是 |
消息组 ID 列表 |
8.4 删除消息
- POST
/v2/api/delMessages
- 认证: 需要
| 参数 |
类型 |
必填 |
说明 |
| msg_ids |
array |
是 |
消息 ID 列表 |
9. Image/Share — 图片与分享
9.1 图片列表上传
- POST
/v2/api/imageListUpload
- 认证: 不需要
- Content-Type:
multipart/form-data
| 参数 |
类型 |
必填 |
说明 |
| images |
file[] |
是 |
图片文件列表 |
| type |
string |
否 |
上传用途标识 |
{
"success": true,
"data": {
"urls": ["https://cdn.mlion.ai/upload/xxx.jpg"]
}
}
9.2 文字生图
- POST
/v2/api/textToImage
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| prompt |
string |
是 |
图片描述提示词 |
| size |
string |
否 |
图片尺寸(默认 1024×1024) |
| style |
string |
否 |
风格描述 |
| language |
string |
否 |
提示词语言(cn/en) |
{
"success": true,
"data": {
"image_url": "https://cdn.mlion.ai/gen/yyy.png"
}
}
9.3 生成新闻分享图
- POST
/v2/api/share/pic/news
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| news_id |
string |
是 |
新闻 ID |
| template |
string |
否 |
分享模板 |
响应: 返回生成的分享图 URL。
9.4 生成 AI 新闻分享图
- POST
/v2/api/share/pic/news/ai
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| news_id |
string |
是 |
AI 类新闻 ID |
| template |
string |
否 |
分享模板 |
9.5 生成热点新闻分享图
- POST
/v2/api/share/pic/news/hot
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| date |
string |
否 |
日期(YYYY-MM-DD) |
| template |
string |
否 |
分享模板 |
9.6 生成 KOL 分享图
- POST
/v2/api/share/pic/news/kol
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| kol_id |
string |
是 |
KOL ID |
| tweet_id |
string |
否 |
指定推文 ID |
| template |
string |
否 |
分享模板 |
10. Other — 其他功能
10.1 生成报告分享图
- POST
/v2/api/share/pic/report
- 认证: 不需要
| 参数 |
类型 |
必填 |
说明 |
| report_id |
string |
是 |
报告 ID |
| template |
string |
否 |
分享模板 |
响应: 返回生成的报告分享图 URL。
10.2 支付相关
- POST
/v2/api/pay(及子路由)
- 认证: 需要
功能: 处理会员订阅支付,支持多种支付方式。
| 参数 |
类型 |
必填 |
说明 |
| product_id |
string |
是 |
商品 ID |
| payment_method |
string |
是 |
支付方式 |
| chain_id |
string |
否 |
链 ID(加密支付) |
| wallet_address |
string |
否 |
钱包地址(加密支付) |
10.3 获取用户评级(详情)
- POST
/v2/api/userRate
- 认证: 不需要(有 token 时返回个人评级)
此接口同时在 User 分组(1.5)中列出,此处为功能完整性补充说明。
功能: 综合链上行为、交易历史、持仓情况,计算用户信用评级分数(0–100)。
{
"success": true,
"data": {
"score": 85,
"level": "A",
"breakdown": {
"trading_activity": 90,
"holding_diversity": 80,
"on_chain_behavior": 85
}
}
}
Mlion API Documentation
Base URL (Production): https://api.mlion.ai
Base URL (Staging): https://api2-test.mountainlion.ai
API Version Prefix: /v2/api/ (only dashboardTokenSearch uses /v1/api/)
General
Authentication
Endpoints that require login must include the following header:
Authorization: Bearer <token>
All endpoints return a unified structure:
{
"success": true,
"data": { ... },
"message": ""
}
On failure:
{
"success": false,
"data": null,
"message": "Error description"
}
Streaming Response (SSE)
Streaming endpoints return text/event-stream. Clients should use EventSource or parse SSE data manually.
Table of Contents
- User
- Quote/Token
- Dashboard
- News
- KOL/Twitter
- Report
- Chat
- Message
- Image/Share
- Other
1. User
1.1 Send Email Verification Code
- POST
/v2/api/sendAppEmailCode
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| email |
string |
Yes |
Email address |
| type |
string |
No |
Code purpose (register/reset) |
Response: Returns success: true when sent successfully
1.2 Register
- POST
/v2/api/register
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| email |
string |
Yes |
Email address |
| password |
string |
Yes |
Password |
| code |
string |
Yes |
Email verification code |
| invitation_code |
string |
No |
Invitation code |
{
"success": true,
"data": {
"token": "eyJ...",
"user_id": 12345
}
}
1.3 Change Password
- POST
/v2/api/modifyPassword
- Auth: Not required (identity verified via email code)
| Parameter |
Type |
Required |
Description |
| email |
string |
Yes |
Email address |
| new_password |
string |
Yes |
New password |
| code |
string |
Yes |
Email verification code |
1.4 Check User Existence
- POST
/v2/api/userCheckExist
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| email |
string |
Yes |
Email address |
{
"success": true,
"data": { "exist": true }
}
1.5 Get User Rating
- POST
/v2/api/userRate
- Auth: Not required (returns personal data with token, public data without)
| Parameter |
Type |
Required |
Description |
| chain_id |
string |
No |
Chain ID |
| wallet_address |
string |
No |
Wallet address |
1.6 Get User Info
- GET/POST
/v2/api/getUserInfo
- Auth: Required
{
"success": true,
"data": {
"user_id": 12345,
"email": "user@example.com",
"membership": "ml-plus",
"expire_time": "2026-12-31"
}
}
1.7 Get Invitation Info
- GET/POST
/v2/api/getInviteInfo
- Auth: Required
{
"success": true,
"data": {
"invitation_code": "ABC123",
"invited_count": 5,
"reward_points": 100
}
}
2. Quote/Token
2.1 Get Token List
- GET
/v2/api/getCoinList
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| page |
int |
No |
Page number, default 1 |
| page_size |
int |
No |
Items per page, default 20 |
| sort |
string |
No |
Sort field |
{
"success": true,
"data": {
"list": [
{
"coin_id": "bitcoin",
"symbol": "BTC",
"name": "Bitcoin",
"price": 65000.0,
"change_24h": 2.5
}
],
"total": 1000
}
}
2.2 Get Real-Time Price
- GET
/v2/api/getRealTimePrice
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
Yes |
Token ID (e.g. bitcoin) |
2.3 Get Total Token Count
- GET
/v2/api/getTotalTokens
- Auth: Not required
Response: Returns total token count and category breakdown tracked by the platform.
2.4 Get Price Prediction
- GET/POST
/v2/api/getPredictInfo
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
Yes |
Token ID |
| language |
string |
No |
Language (cn/en), default cn |
Response: Returns AI-generated price prediction and confidence score.
2.5 Get Weekly Price
- GET
/v2/api/getWeekPrice
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
Yes |
Token ID |
Response: Returns price trend data for the past 7 days.
2.6 AI Token Picks
- GET/POST
/v2/api/aiChooseToken
- Auth: Not required
Response: Returns AI-recommended token list with reasoning.
2.7 Deep Insight
- POST
/v2/api/deepInsight
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
Yes |
Token ID |
| language |
string |
No |
Language (cn/en) |
| query |
string |
No |
Custom query question |
Response: Returns deep analysis report covering technical, fundamental, and sentiment analysis.
2.8 WeChat Article Deep Insight
- POST
/v2/api/gzhDeepInsight
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| article_url |
string |
Yes |
WeChat public account article URL |
| language |
string |
No |
Language (cn/en) |
2.9 Instruction Polish
- POST
/v2/api/instruction/polish
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| instruction |
string |
Yes |
Original instruction text |
| language |
string |
No |
Language (cn/en) |
{
"success": true,
"data": {
"polished": "Polished instruction text"
}
}
2.10 Get Daily Broadcast
- GET/POST
/v2/api/broadcast/daily/query
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| date |
string |
No |
Date (YYYY-MM-DD), defaults to today |
| language |
string |
No |
Language (cn/en) |
Response: Returns today's podcast content list (including audio URLs).
3. Dashboard
3.1 Search Token (v1)
- GET
/v1/api/dashboardTokenSearch
- Auth: Not required
- Note: This endpoint uses the
/v1/api/ prefix
| Parameter |
Type |
Required |
Description |
| keyword |
string |
Yes |
Search keyword |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
3.2 Get Dashboard Token List
- GET
/v2/api/dashboardTokenList
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| category |
string |
No |
Category filter |
| sort_by |
string |
No |
Sort field |
| order |
string |
No |
asc/desc |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
3.3 Get Token Detail
- GET
/v2/api/dashboardTokenDetail
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
Yes |
Token ID |
3.4 Get Token Price History
- GET
/v2/api/dashboardTokenHistory
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
Yes |
Token ID |
| interval |
string |
No |
Time interval (1h/4h/1d/1w) |
| limit |
int |
No |
Number of data points |
3.5 Get Crypto Market Data
- GET
/v2/api/dashboardCryptoMarket
- Auth: Not required
Response: Returns global market data including total market cap, 24h volume, and BTC dominance.
3.6 Get Ethereum Gas Data
- GET
/v2/api/dashboardEthGas
- Auth: Not required
Response: Returns current Ethereum gas fees (slow/standard/fast).
3.7 Get Fear & Greed Index
- GET
/v2/api/dashboardFearAndGreed
- Auth: Not required
Response: Returns current market fear & greed index and historical trend.
3.8 Get Hot Tokens
- GET
/v2/api/dashboardHotTokens
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| limit |
int |
No |
Return count, default 10 |
3.9 Get Altcoin Season Index
- GET
/v2/api/dashboardAltcoinSeason
- Auth: Not required
Response: Returns altcoin season index with rankings across multiple time periods.
3.10 Get Bubble Index
- GET
/v2/api/dashboardBubbleIndex
- Auth: Not required
Response: Returns market bubble risk score.
3.11 Get Trade Signal
- GET
/v2/api/dashboardTradeSignal
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| coin_id |
string |
No |
Token ID, defaults to BTC |
4. News
4.1 Get Real-Time News (Crypto)
- GET
/v2/api/news/real/time/sw
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
| language |
string |
No |
Language (cn/en) |
| tag |
string |
No |
Tag filter |
{
"success": true,
"data": {
"list": [
{
"news_id": "abc123",
"title": "News title",
"summary": "AI-generated summary",
"source": "CoinDesk",
"published_at": "2026-04-24T10:00:00Z",
"tags": ["Bitcoin", "ETF"]
}
],
"total": 500
}
}
4.2 Get Real-Time News (AI)
- GET
/v2/api/news/real/time/ai/sw
- Auth: Not required
Query Parameters: Same as 4.1
Response: Same as 4.1, content covers AI industry news.
- POST
/v2/api/news/real/time/comment/short/gen
- Auth: Not required
- Response Type: SSE (
text/event-stream)
| Parameter |
Type |
Required |
Description |
| news_id |
string |
Yes |
News ID |
| language |
string |
Yes |
Language (cn/en) |
| news_type |
string |
Yes |
News type (crypto/ai) |
data: {"content": "Comment text fragment"}
data: [DONE]
4.4 Get Weekly Hot News
- GET
/v2/api/news/weekly/hot
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| week |
string |
No |
Week (YYYY-Www), defaults to current week |
| language |
string |
No |
Language (cn/en) |
- GET
/v2/api/news/tweet
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
| language |
string |
No |
Language |
4.6 Get Topic List
- GET
/v2/api/getTopics
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| language |
string |
No |
Language (cn/en) |
| category |
string |
No |
Category |
5.1 Get KOL List
- GET
/v2/api/news/kollist
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
| language |
string |
No |
Language filter |
{
"success": true,
"data": {
"list": [
{
"kol_id": "kol_001",
"twitter_id": "elonmusk",
"name": "Elon Musk",
"followers": 180000000,
"influence_score": 98.5
}
]
}
}
- GET
/v2/api/getTweetInfo
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| tweet_id |
string |
Yes |
Tweet ID |
- GET
/v2/api/getTWList
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| kol_id |
string |
No |
KOL ID |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
- GET
/v2/api/searchTWList
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| keyword |
string |
Yes |
Search keyword |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
- POST
/v2/api/transKOL
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| tweet_id |
string |
Yes |
Tweet ID |
| tweet_text |
string |
Yes |
Original tweet text |
| target_language |
string |
No |
Target language (cn/en), default cn |
{
"success": true,
"data": {
"translated": "Translated text",
"source_language": "en"
}
}
5.6 Follow KOL
- POST
/v2/api/news/follow_kol
- Auth: Required
| Parameter |
Type |
Required |
Description |
| kol_id |
string |
Yes |
KOL ID |
5.7 Unfollow KOL
- POST
/v2/api/news/unfollow_kol
- Auth: Required
| Parameter |
Type |
Required |
Description |
| kol_id |
string |
Yes |
KOL ID |
6. Report
6.1 Get Report PDF
- GET
/v2/api/getReportPDF
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| report_id |
string |
Yes |
Report ID |
Response: Returns PDF file URL or streams PDF content directly.
6.2 Get Report Type Update Time
- GET
/v2/api/getReportTypeUpdateTime
- Auth: Not required
Response: Returns the latest update time for each report type.
6.3 Get Report Data
- GET
/v2/api/getReportData
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| report_type |
string |
Yes |
Report type |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
6.4 Get Report List
- GET
/v2/api/getReportList
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| category |
string |
No |
Report category |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
6.5 Get Report Detail
- GET
/v2/api/getReportDetail
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| report_id |
string |
Yes |
Report ID |
6.6 Get Report Hot Words
- GET
/v2/api/getReportHotWords
- Auth: Not required
Response: Returns high-frequency keywords from recent reports and their occurrence counts.
6.7 Get Report Categories
- GET
/v2/api/getReportCategory
- Auth: Not required
Response: Returns the list of supported report categories.
7. Chat
7.1 Send Streaming Chat
| Parameter |
Type |
Required |
Description |
| content |
string |
Yes |
User message content |
| messages |
array |
No |
Conversation history |
| msggroup |
string |
No |
Message group ID |
| code |
string |
No |
Additional code content |
| model |
string |
No |
Premium model identifier (ml-plus) |
| llm_model |
string |
No |
Specify underlying model (see list above) |
| source |
string |
No |
Source identifier |
| language |
string |
No |
Language (cn/en) |
| owner |
string |
No |
Content ownership identifier |
| output_type |
string |
No |
Output type |
| chain_id |
string |
No |
Chain ID (Web3 context) |
| agent_id |
string |
No |
Agent ID |
| wallet_type |
string |
No |
Wallet type |
| visitor_id |
string |
No |
Visitor ID (for unauthenticated users) |
| search_type |
string |
No |
Search type |
| trade_signal_text |
string |
No |
Trade signal text |
| regenerate_response |
bool |
No |
Whether to regenerate response |
| Event |
Description |
code |
Session code |
systemLanguage |
Detected language |
msggroup |
Message group ID |
responseType |
Response type identifier |
attitude |
Sentiment attitude |
sub_questions |
Related question suggestions |
whisper |
System hint |
content |
Streaming body content |
[DONE] |
Stream end marker |
7.2 Get Mind Map
- POST
/v2/api/getMindMap
- Auth: Required
| Parameter |
Type |
Required |
Description |
| message |
string |
Yes |
Topic or content |
| msggroup |
string |
No |
Message group ID |
| code |
string |
No |
Additional code content |
| language |
string |
No |
Language (cn/en), default cn |
| type |
int |
No |
1=Mind map (default), 2=Table |
{
"success": true,
"data": {
"mindmap": "# Topic\n## Sub-node 1\n## Sub-node 2",
"format": "markdown"
}
}
8. Message
8.1 Get Message List
- GET/POST
/v2/api/getMessageList
- Auth: Required
| Parameter |
Type |
Required |
Description |
| msggroup |
string |
Yes |
Message group ID |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
{
"success": true,
"data": {
"list": [
{
"msg_id": "msg_001",
"role": "user",
"content": "User message content",
"created_at": "2026-04-24T10:00:00Z"
}
],
"total": 50
}
}
8.2 Get Message Group List
- GET/POST
/v2/api/getMsgGroupList
- Auth: Required
| Parameter |
Type |
Required |
Description |
| page |
int |
No |
Page number |
| page_size |
int |
No |
Items per page |
8.3 Delete Message Group
- POST
/v2/api/delMsgGroupList
- Auth: Required
| Parameter |
Type |
Required |
Description |
| msggroup_ids |
array |
Yes |
List of message group IDs |
8.4 Delete Messages
- POST
/v2/api/delMessages
- Auth: Required
| Parameter |
Type |
Required |
Description |
| msg_ids |
array |
Yes |
List of message IDs |
9. Image/Share
9.1 Upload Image List
- POST
/v2/api/imageListUpload
- Auth: Not required
- Content-Type:
multipart/form-data
| Parameter |
Type |
Required |
Description |
| images |
file[] |
Yes |
Image file list |
| type |
string |
No |
Upload purpose identifier |
{
"success": true,
"data": {
"urls": ["https://cdn.mlion.ai/upload/xxx.jpg"]
}
}
9.2 Text to Image
- POST
/v2/api/textToImage
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| prompt |
string |
Yes |
Image description prompt |
| size |
string |
No |
Image size (default 1024×1024) |
| style |
string |
No |
Style description |
| language |
string |
No |
Prompt language (cn/en) |
{
"success": true,
"data": {
"image_url": "https://cdn.mlion.ai/gen/yyy.png"
}
}
9.3 Generate News Share Image
- POST
/v2/api/share/pic/news
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| news_id |
string |
Yes |
News ID |
| template |
string |
No |
Share template |
Response: Returns the generated share image URL.
9.4 Generate AI News Share Image
- POST
/v2/api/share/pic/news/ai
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| news_id |
string |
Yes |
AI news ID |
| template |
string |
No |
Share template |
9.5 Generate Hot News Share Image
- POST
/v2/api/share/pic/news/hot
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| date |
string |
No |
Date (YYYY-MM-DD) |
| template |
string |
No |
Share template |
9.6 Generate KOL Share Image
- POST
/v2/api/share/pic/news/kol
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| kol_id |
string |
Yes |
KOL ID |
| tweet_id |
string |
No |
Specific tweet ID |
| template |
string |
No |
Share template |
10. Other
10.1 Generate Report Share Image
- POST
/v2/api/share/pic/report
- Auth: Not required
| Parameter |
Type |
Required |
Description |
| report_id |
string |
Yes |
Report ID |
| template |
string |
No |
Share template |
Response: Returns the generated report share image URL.
10.2 Payment
- POST
/v2/api/pay (and sub-routes)
- Auth: Required
Function: Handles membership subscription payments with support for multiple payment methods.
| Parameter |
Type |
Required |
Description |
| product_id |
string |
Yes |
Product ID |
| payment_method |
string |
Yes |
Payment method |
| chain_id |
string |
No |
Chain ID (crypto payment) |
| wallet_address |
string |
No |
Wallet address (crypto payment) |
10.3 Get User Rating (Detail)
- POST
/v2/api/userRate
- Auth: Not required (returns personal rating when token is provided)
This endpoint is also listed under User (1.5); included here for completeness.
Function: Calculates user credit score (0–100) based on on-chain behavior, trading history, and holdings.
{
"success": true,
"data": {
"score": 85,
"level": "A",
"breakdown": {
"trading_activity": 90,
"holding_diversity": 80,
"on_chain_behavior": 85
}
}
}