跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.lfg.rich/llms.txt

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

LFG.RICH API 在以下路径下提供只读端点:
https://lfg.rich/api/bsc/tokens
响应通常使用以下结构:
{
  "success": true,
  "data": {}
}

代币列表

GET /api/bsc/tokens?sort=volume&page=1&limit=20
查询参数:
参数
sortvolume, active, latest, gainers
page页码
limit每页结果数量
search按名称、符号或地址搜索
verified1true,只返回已验证代币

获取代币详情

GET /api/bsc/tokens/:address
返回代币元数据和协议状态,包括:
  • name
  • symbol
  • logo_url
  • current_price
  • floor_price
  • real_eth
  • market_cap
  • volume_24h
  • trades_24h
  • holders
  • pool_id

获取代币交易

GET /api/bsc/tokens/:address/trades?page=1&limit=50
返回代币最近交易历史。 交易类型包括:
  • buy
  • sell
  • borrow
  • borrowmore
  • repay

获取图表 K 线

GET /api/bsc/tokens/:address/candles?interval=1h&limit=200
返回用于图表的 K 线数据和地板数据。

获取协议配置

GET /api/bsc/tokens/config
返回协议配置、原生币价格、合约地址和链信息。