Skip to main content
GET
/
leaderboard
榜单
curl --request GET \
  --url http://127.0.0.1:3000/leaderboard
{}

Documentation Index

Fetch the complete documentation index at: https://docs.forevex.trade/llms.txt

Use this file to discover all available pages before exploring further.

返回首页 榜单 JSON,供前端列表页使用。依赖已连接 PostgreSQL 及库内榜单相关数据(分析写缓存时会更新排行榜等,详见主仓库 README)。

查询参数

参数说明
limit返回条数,默认 30,范围 1~100

示例

curl -s "http://127.0.0.1:3000/leaderboard?limit=20" | jq .
若未配置数据库或尚无数据,行为以服务端实现为准(可能为空列表或错误响应);部署前请在目标环境实测。

Query Parameters

limit
integer
default:30

返回条数,默认 30,范围 1~100

Required range: 1 <= x <= 100

Response

200 - application/json

榜单 JSON

The response is of type object.