API 参考
CheesePad API 提供 cheesepad.ai 背后的已索引数据:pool、microsale、Melt Pool、Secure Lock 锁仓、代币查询与价格。本页上的每个路由都是公开的 GET:无需 API 密钥、无需登录、无需 Authorization 请求头。另有两个公开路由与使用它们的流程一起说明:Microsale 中的 GET /microsale/generate-salt,以及 AI 代理 中的 /agent-trade/* 路由。其他任何路由都服务于 CheesePad 应用,可能随时变更,恕不另行通知。
API 提供的是 CheesePad 索引器已存储的内容,因此可能比链上落后几个区块,并且响应会缓存几秒钟(见缓存)。凡是要据此采取行动的内容,请读取合约:链上部分请参阅 launchpad 集成文档。
基础 URL
https://api.cheesepad.ai
路径没有前缀:GET https://api.cheesepad.ai/launchpad/list。没有全局的 API 版本。两个 discovery 路由位于 /v2/ 之下;其他所有路由都没有版本号,并且可能发生变化。
从浏览器调用
API 只响应来自 CheesePad 自有站点的浏览器请求。携带任何其他 Origin 请求头的请求会得到 HTTP 200、空响应体,且没有 CORS 头,因此你自己域名上的网页应用无法直接调用它。请从你的服务器调用(没有 Origin 请求头的请求会被正常处理),再把数据传给前端。不要在没有检查响应体是否为空的情况下就把 200 当作成功。
链
请以数字形式的链 ID 传入链。
| 链 | 链 ID | Slug | 原生币 | 测试网 |
|---|---|---|---|---|
| BNB Smart Chain | 56 | bsc | BNB | 否 |
| Robinhood Chain | 4663 | robinhood | ETH | 否 |
| Arc | 5042 | arc | USDC | 否 |
| BNB Smart Chain Testnet | 97 | bsc-test | BNB | 是 |
| Arc Testnet | 5042002 | arc-test | USDC | 是 |
slug 出现在 poolUrl 的值中。会检查链的路由在收到其他任何 ID 时返回 400。
约定
- 响应为 JSON。
- 原始金额是以代币最小单位表示的十进制字符串。名为
formatted…的字段是已经除以小数位数的 JSON 数字;它们是浮点数,因此需要精确计算时请使用原始字符串。 - 小数位数:请从响应中读取
token.decimals和currency.decimals。不要假定是 18:一次销售可能以小数位数更少的 ERC20 quote token 募资。 - 时间为 Unix 秒,但
createdAt、updatedAt以及贡献者列表的date字段(ISO-8601 字符串)除外。 - 原生货币在任何出现货币或 quote token 地址的位置都是零地址
0x0000000000000000000000000000000000000000。 - 地址:请以 EIP-55 校验和形式发送。有些路由按原样匹配字符串,对小写地址返回 404 或空结果;下表将它们标记为区分大小写。
- 布尔值接受
true、false、1、0、t、f(不区分大小写),除非表中写明只能是true|false。 - 数组参数:重复该键,
excludeChainIds=97&excludeChainIds=5042002,或使用excludeChainIds[]=97。 - 未知参数会被忽略。
poolDetails是一个 JSON 编码的字符串,包含项目的链下元数据:请将其作为 JSON 解析。已观察到的键有tt(标题)、lu(logo URL)、bn(横幅 URL)、ws(网站)、tw(X)、tg(Telegram)和ds(描述)。每个键都是可选的。- 每个路由下的示例是经过缩短的真实响应:数组只显示第一项,列表的
docs显示为[ … ],超过 100 个字符的字符串用…截断,因此被截断的poolDetails不是有效的 JSON。
分页
列表路由接受从 1 开始的 page 和 limit,并返回如下的外层结构:
| 字段 | 类型 | 说明 |
|---|---|---|
docs | array | 当前页的结果 |
totalDocs | number | 匹配的总数 |
limit | number | 使用的每页大小 |
page | number | 当前页,从 1 开始 |
totalPages | number | 至少为 1,即使没有结果 |
pagingCounter | number | 第一条结果的位置,(page - 1) * limit + 1 |
hasPrevPage, hasNextPage | boolean | |
prevPage, nextPage | number 或 null |
超出末尾的页返回 docs: []。有缓存的路由会以字母顺序返回相同的键。
错误
错误使用同一种外层结构:
{
"statusCode": 400,
"timestamp": "2026-11-24T03:23:11.136Z",
"path": "/v2/discovery/pools?limit=101",
"message": "limit must not be greater than 100",
"error": "Bad Request"
}
message 是一个字符串或字符串数组。部分响应(未知路由、401、通用 500)没有 error。
| 状态 | 何时出现 |
|---|---|
| 400 | 查询参数缺失或无效;message 会指出是哪一个 |
| 404 | 记录不存在(Not Found、Pool not found、Microsale not found) |
| 429 | 被限流的路由调用过于频繁(ThrottlerException: Too Many Requests) |
| 500 | 服务器错误;/lockers 的 owner 或 token 无效时也会返回 |
| 200,空响应体 | 来自不被允许的来源的浏览器请求(见上文) |
缓存
响应在服务器端缓存。轮询速度快于缓存时间只会得到相同的数据。
| 路由 | 缓存 |
|---|---|
/v2/discovery/* | 30 秒,附带 Cache-Control: public, s-maxage=30, stale-while-revalidate=60 |
/launchpad/*, /microsale/*, /bonding-curve/*, /token-info/* | 5 秒 |
/lockers/tokens, /master-data/token-price | 60 秒 |
/lockers, /lockers/detail | 不缓存 |
本页上的读取路由没有公布的速率限制。轮询速度请不要快于它们的缓存时间。
Discovery
GET /v2/discovery/pools
列出所有链上的 launchpad pool(预售、公平发行和订阅)。
| 参数 | 类型 | 默认值 | 取值 |
|---|---|---|---|
page | integer | 1 | 1 或更大 |
limit | integer | 21 | 1 到 100 |
keyword | string | 对代币名称、符号或地址进行不区分大小写的匹配 | |
excludeChainIds | integer array | 要排除的链 | |
status | string | all | all;live(活跃、已开始、未结束);upcoming(活跃、未开始);ended(已 finalize、已取消、已上线,或已过结束时间) |
type | string | all | all、presale、fairlaunch、subscription |
sort | string | newest | newest(按创建时间,最新在前)、endingSoon(按结束时间,最早在前)、raised(按募集总额,最高在前) |
verified | boolean | false | true:只返回带有 KYC、审计、SAFU 或 doxx 徽章,或带有 AI 审计的 pool |
protected | boolean | false | true:只返回受保护的 pool |
agentIdOnly | boolean | false | true:只返回 Agent ID 阶段仍在进行的 pool(Agent ID 白名单,公开销售尚未开放) |
此路由没有 chainId 过滤器:请使用 excludeChainIds。已取消的 pool 也包含在内。protected 只存在于此路由。docs 中的每一项都是完整的 pool 文档。
示例
curl 'https://api.cheesepad.ai/v2/discovery/pools?limit=1'
{
"docs": [ … ],
"hasNextPage": true,
"hasPrevPage": false,
"limit": 1,
"nextPage": 2,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 86,
"totalPages": 86
}
GET /v2/discovery/microsales
列出所有链上的 microsale。
| 参数 | 类型 | 默认值 | 取值 |
|---|---|---|---|
page, limit, keyword, excludeChainIds | 同 /v2/discovery/pools | ||
listed | boolean | false | true:只返回已在 DEX 上线的 microsale |
sort | string | newest | newest、endingSoon、hardCap(按硬顶,最高在前) |
agentIdOnly | boolean | false | true:只返回仅限 Agent ID 的 microsale |
只有已募集至少 0.5(以 quote 单位计)且未被隐藏的 microsale 才会出现在这里和 /microsale/list 中。每一项都是完整的 microsale 文档,不含 vaultInfo。
示例
curl 'https://api.cheesepad.ai/v2/discovery/microsales?limit=1'
{
"docs": [ … ],
"hasNextPage": true,
"hasPrevPage": false,
"limit": 1,
"nextPage": 2,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 13,
"totalPages": 13
}
Pool
GET /launchpad/list
| 参数 | 类型 | 默认值 | 取值 |
|---|---|---|---|
chainId | integer | 单条链 | |
excludeChainIds | integer array | 要排除的链 | |
keyword | string | 同 discovery | |
owner | address | 由该地址创建的 pool | |
agentIdOnly | boolean | false | 同 discovery |
sortBy | string | 最新在前 | hardcap、softcap(最高在前);starttime、endtime(最早在前) |
page | integer | 1 | |
limit | integer | 20 | 1 到 100 |
每一项都是 pool 文档,但不含 _id、query、createdAt、updatedAt、pool.currency 以及 pool.formatted… 字段。
示例
curl 'https://api.cheesepad.ai/launchpad/list?chainId=56&limit=1'
{
"docs": [ … ],
"hasNextPage": true,
"hasPrevPage": false,
"limit": 1,
"nextPage": 2,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 74,
"totalPages": 74
}
GET /launchpad/full_info
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
chainId | integer | 是 | |
poolAddress | address | 是 | pool 地址 |
返回完整的 pool 文档,或 404。
示例
curl 'https://api.cheesepad.ai/launchpad/full_info?chainId=56&poolAddress=0xd0Bb361eF31e84Ae085F852941F11277A6D7E57a'
{
"_id": "6adf206ec197d2d986e5f626",
"aiAuditUrl": null,
"chainId": 56,
"createdAt": "2026-10-26T09:42:06.089Z",
"currency": {
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"name": "BNB",
"symbol": "BNB"
},
"index": 73,
"initialMarketCap": null,
"pool": {
"affiliateBps": 0,
"buybackPercent": 0,
"claimTime": 0,
"contributorCount": 23,
"currency": "0x0000000000000000000000000000000000000000",
"cycle": 0,
"cyclePercent": 0,
"endTime": 1793059200,
"formattedHardCap": 0,
"formattedListingRate": 11111111,
"formattedMaxContribution": 20,
"formattedMinContribution": 0,
"formattedRate": 11111111,
"formattedSoftCap": 0,
"formattedSoftCapTokens": 0.33333333,
"formattedTotalCommitted": 20.48,
"formattedTotalRaised": 0,
"formattedTotalSellingTokens": 0.66666666,
"fundManager": "0xd0Bb361eF31e84Ae085F852941F11277A6D7E57a",
"hardCap": "0",
"hardCapTokensPerUser": "3333333300000000",
"kycDetails": "",
"listedAt": 0,
"listingPercent": 51,
"listingRate": "11111111000000000",
"lockDuration": 15552000,
"lockId": "-1",
"maxContribution": "20000000000000000000",
"minContribution": "0",
"owner": "0xa7Da8FcA8160478038C1B04d9E1F2ad7233CB0f7",
"poolDetails": "{\"lu\":\"https://cdn.cheesepad.ai/photos/1793007609006-1814215…",
"poolType": 2,
"publicSaleStartTime": 0,
"rate": "11111111000000000",
"refundType": 1,
"requireContributorValidation": false,
"router": "0x10ED43C718714eb63d5aA57B78B54704E256024E",
"softCap": "0",
"softCapTokens": "333333330000000000",
"startTime": 1793008800,
"state": 2,
"tgePercent": 0,
"totalCommitted": "20480000000000000000",
"totalRaised": "0",
"totalSellingTokens": "666666660000000000",
"totalVolumePurchased": "0",
"whitelistTierCount": 0
},
"poolAddress": "0xd0Bb361eF31e84Ae085F852941F11277A6D7E57a",
"protection": {
"enabled": false
},
"query": "GrokLet|GROKLET|0x3b6a6897896246306A814f9B46fab9c016516666|0…",
"token": {
"address": "0x3b6a6897896246306A814f9B46fab9c016516666",
"decimals": 9,
"name": "GrokLet",
"symbol": "GROKLET"
},
"updatedAt": "2026-11-03T08:57:09.523Z",
"whitelistSource": "list"
}
GET /launchpad/detail
参数与 full_info 相同。poolAddress 可以是 pool 地址或代币地址。返回 poolAddress、poolDetails、kycDetails、rate、protection、whitelistSource 和 currency。如果 pool 不存在或已被取消,则返回 404。
示例
curl 'https://api.cheesepad.ai/launchpad/detail?chainId=56&poolAddress=0x2B69CD81939D8841e102C0b4F33d5515b2Ac6a43'
{
"currency": {
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"name": "BNB",
"symbol": "BNB"
},
"kycDetails": "",
"poolAddress": "0x2B69CD81939D8841e102C0b4F33d5515b2Ac6a43",
"poolDetails": "{\"lu\":\"https://cdn.cheesepad.ai/photos/1792348342217-4458779…",
"protection": {
"enabled": false
},
"rate": "7000000000000000000000",
"whitelistSource": "list"
}
GET /launchpad/contributors
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
chainId | integer | 是 | 上表中的一条链 |
poolAddress | address | 是 | 区分大小写 |
返回 { user, amount, twitter, date } 的数组:user 是小写地址,amount 是以该 pool 的货币计的原始金额,twitter 是贡献者关联的 X 主页或 null,date 是 ISO 字符串或 null。对于未知的 pool,返回 404 Pool not found。该列表来自 CheesePad 的活动记录,可能不完整:如需完整列表,请在链上索引贡献事件(见事件与数据)。
示例
curl 'https://api.cheesepad.ai/launchpad/contributors?chainId=56&poolAddress=0x2B69CD81939D8841e102C0b4F33d5515b2Ac6a43'
[
{
"user": "0xd1c40f09db7d9a26bca12dc04ed2774ed1e087c9",
"amount": "200000000000000000",
"twitter": null,
"date": "2026-10-21T10:16:38Z"
}
]
GET /launchpad/subscription/allocation/proof
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
chainId | integer | 是 | 上表中的一条链 |
poolAddress | address | 是 | Subscription pool 的 fundManager |
user | address | 是 | 任意大小写 |
返回该钱包的分配叶子节点 { index, user, purchased, proof },用于 claimAndRefundWithProof 和其他 proof 调用(见 Subscription 分配)。在平台计算出分配之前,返回 404 Allocation not computed yet;对于不在分配中的钱包,返回 404 User not found in allocation。
示例:分配尚未计算时
curl 'https://api.cheesepad.ai/launchpad/subscription/allocation/proof?chainId=56&poolAddress=0x0000000000000000000000000000000000000001&user=0x0000000000000000000000000000000000000002'
{
"error": "Not Found",
"message": "Allocation not computed yet",
"path": "/launchpad/subscription/allocation/proof?chainId=56&poolAddr…",
"statusCode": 404,
"timestamp": "2026-11-24T04:10:55.358Z"
}
Pool 文档
| 字段 | 类型 | 说明 |
|---|---|---|
_id | string | 数据库 id |
chainId | number | |
index | number | 该 pool 在 launchpad 上的索引 |
poolAddress | string | |
token | object | { name, symbol, address, decimals } |
currency | object | { name, symbol, address, decimals };零地址表示原生币 |
pool | object | 链上的 pool,见下 |
query | string 或 null | 搜索文本 |
initialMarketCap | number 或 null | |
aiAuditUrl | string 或 null | |
protection | object | 见 Protection 对象 |
whitelistSource | string | list(白名单地址)或 agentId(Agent ID 持有者) |
createdAt, updatedAt | string | ISO-8601 |
pool 对应链上的 Pool 结构体,金额为原始字符串:poolType(0 预售,1 公平发行,2 订阅)、owner、fundManager、router、currency、startTime、endTime、publicSaleStartTime、whitelistTierCount、minContribution、maxContribution、softCap、hardCap、softCapTokens、totalSellingTokens、hardCapTokensPerUser、rate、listingRate、lockDuration、listingPercent、buybackPercent、affiliateBps、refundType、state(0 活跃,1 已 finalize,2 已取消)、listedAt、claimTime、totalRaised、totalCommitted、totalVolumePurchased、lockId(没有锁仓时为 "-1")、poolDetails、tgePercent、cyclePercent、cycle、requireContributorValidation、contributorCount、kycDetails,以及各金额的 formatted… 版本。该 pool 类型不使用的字段为 null。
Protection 对象
来自 /launchpad/list、/launchpad/detail、/launchpad/full_info、/token-info/sales 和 /v2/discovery/pools 的 pool 文档带有 protection 对象。未受保护的 pool 只有 {"enabled": false}。受保护的 pool 有:
| 字段 | 类型 | 说明 |
|---|---|---|
enabled | boolean | 此处始终为 true |
fundBps | number | 募资额中资金的占比,以 BPS 计:finalize 前为估算值,之后为实际占比 |
badgeBps | number | 徽章数值,以 BPS 计,扣除平台费之前(Protected 40% 即 4000) |
level | string | 依据 badgeBps:bronze(10–15%)、silver(16–25%)或 gold(26% 及以上) |
windowSeconds | number | 退款窗口时长 |
fund | string | 以原始货币单位计的资金;finalize 前为 "0" |
refundedTokens | string | 目前已退款的代币,原始单位 |
refundedCurrency | string | 退款中已支付的货币,原始单位 |
windowStart | number | Unix 秒;finalize 前为 0 |
windowEnd | number | Unix 秒,包含暂停带来的延长;finalize 前为 0 |
swept | boolean | 资金已支付给所有者 |
sweptAmount | string | 支付给所有者的金额,原始单位 |
burnedTokens | string | 在 sweep 时销毁的已退款代币,原始单位 |
burnOk | boolean | 销毁成功 |
这些值是从链上索引而来的,可能落后于链;如需实时状态,请读取 launchpad 上的 getProtection(见 pool)。
Microsale
GET /microsale/list
| 参数 | 类型 | 默认值 | 取值 |
|---|---|---|---|
chainId | integer | 单条链 | |
excludeChainIds | integer array | 每个都必须是上表中的一条链 | |
keyword | string | ||
owner | address | ||
filterBy | string | listed:只返回已上线的 microsale | |
agentIdOnly | boolean | false | true:只返回仅限 Agent ID 的 microsale |
sortBy | string | 最新在前 | hardcap(最高在前)、starttime、endtime(最早在前) |
page | integer | 1 | |
limit | integer | 20 | 1 到 100 |
每一项都是 microsale 文档,但不含 _id、query、createdAt、updatedAt 以及 formatted… 字段。
示例
curl 'https://api.cheesepad.ai/microsale/list?chainId=56&limit=1'
{
"docs": [ … ],
"hasNextPage": true,
"hasPrevPage": false,
"limit": 1,
"nextPage": 2,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 13,
"totalPages": 13
}
GET /microsale/full_info
| 参数 | 类型 | 必填 |
|---|---|---|
chainId | integer | 是 |
fundManager | address | 是 |
返回完整的 microsale 文档,或 404。
示例
curl 'https://api.cheesepad.ai/microsale/full_info?chainId=56&fundManager=0xA2842004a12d930645Ece7A6C946e955BbFb17E1'
{
"_id": "6a6c117477d9bdec56eecad6",
"agentIdOnly": false,
"aiAuditUrl": null,
"buyTaxBps": 300,
"chainId": 56,
"configId": 0,
"contributorCount": 1,
"createdAt": "2026-07-31T03:07:33.019Z",
"currency": {
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"name": "BNB",
"symbol": "BNB"
},
"endTime": 4941227230,
"filledAt": 1785467298,
"formattedHardCap": 15,
"formattedListingRate": 30877192.98245614,
"formattedRate": 37333333.333333336,
"formattedTotalRaised": 15,
"formattedTotalVolumePurchased": 560000000,
"fundManager": "0xA2842004a12d930645Ece7A6C946e955BbFb17E1",
"hardCap": "15000000000000000000",
"index": 221,
"isHidden": false,
"kycDetails": "",
"listedAt": 1785499189,
"listingRate": "30877192982456140350877192",
"lockDuration": "31536000",
"lockId": "71",
"maxContribution": null,
"microSaleType": 0,
"owner": "0x5997b4e6107A139E48f5696766E0b41AaF6b0f46",
"poolDetails": "{\"tt\":\"SQUID GAME\",\"lu\":\"https://f005.backblazeb2.com/file/c…",
"query": "SQUID GAME|SQUID|0x43b5e0049388f5131C3c5fC3c986a5Ce41dC6666|…",
"rate": "37333333333333333333333333",
"router": "0x10ED43C718714eb63d5aA57B78B54704E256024E",
"sellTaxBps": 300,
"startTime": 1785467230,
"state": 1,
"taxConfig": {
"allocation": {
"burn": 0,
"feeReceiver": 10000,
"holders": 0,
"liquidity": 0
},
"buyTaxBps": 300,
"feeReceiver": "0x2e6cf763dC12d81Baf7ff84bf03797030241ffEa",
"minDispatch": "1000000000000000000000000",
"minHolderShare": "100000000000000000000000",
"quoteToken": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"sellTaxBps": 300,
"taxBps": 300,
"taxDuration": "0"
},
"taxEndsAt": 0,
"token": {
"address": "0x43b5e0049388f5131C3c5fC3c986a5Ce41dC6666",
"decimals": 18,
"name": "SQUID GAME",
"symbol": "SQUID"
},
"tokenType": 3,
"totalRaised": "15000000000000000000",
"totalSellingTokens": "560000000000000000000000000",
"totalVolumePurchased": "559999999999999999999999995",
"updatedAt": "2026-07-31T12:02:16.328Z",
"vault": "0x0000000000000000000000000000000000000000",
"vaultInfo": null
}
GET /microsale/detail
参数与 full_info 相同。返回 fundManager、poolDetails、kycDetails、rate、tokenType、vault、vaultInfo、agentIdOnly 和 currency。如果 microsale 不存在或已被取消,则返回 404。
示例
curl 'https://api.cheesepad.ai/microsale/detail?chainId=56&fundManager=0xA2842004a12d930645Ece7A6C946e955BbFb17E1'
{
"agentIdOnly": false,
"currency": {
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"name": "BNB",
"symbol": "BNB"
},
"fundManager": "0xA2842004a12d930645Ece7A6C946e955BbFb17E1",
"kycDetails": "",
"poolDetails": "{\"tt\":\"SQUID GAME\",\"lu\":\"https://f005.backblazeb2.com/file/c…",
"rate": "37333333333333333333333333",
"tokenType": 3,
"vault": "0x0000000000000000000000000000000000000000",
"vaultInfo": null
}
GET /microsale/contributors
与 /launchpad/contributors 相同,只是用 fundManager(区分大小写)取代 poolAddress。对于未知的销售,返回 404 Microsale not found。
示例
curl 'https://api.cheesepad.ai/microsale/contributors?chainId=56&fundManager=0xA2842004a12d930645Ece7A6C946e955BbFb17E1'
[
{
"user": "0x5997b4e6107a139e48f5696766e0b41aaf6b0f46",
"amount": "15000000000000000000",
"twitter": null,
"date": "2026-07-31T03:08:18Z"
}
]
Microsale 文档
| 字段 | 类型 | 说明 |
|---|---|---|
_id | string | |
chainId, index | number | |
microSaleType | number | 0 |
owner, fundManager, router | string | |
token | object | { name, symbol, address, decimals } |
currency | object | { name, symbol, address, decimals } |
startTime, endTime | number | |
hardCap, totalSellingTokens, rate, listingRate, totalRaised, totalVolumePurchased | string | 原始值 |
state | number | 0 活跃,1 已 finalize,2 已取消 |
listedAt, filledAt | number 或 null | |
configId | number | config 模板 |
poolDetails | string | JSON 字符串 |
tokenType | number 或 null | 0 CheeseToken,4 CheeseTaxTokenV2(较早的 CheeseTaxToken 销售为 3) |
taxConfig | object 或 null | { taxBps, feeReceiver, minDispatch, minHolderShare, allocation: { feeReceiver, holders, burn, liquidity }, buyTaxBps, sellTaxBps, taxDuration, quoteToken };除 taxBps 外,任何字段都可能为 null |
buyTaxBps, sellTaxBps | number | |
taxEndsAt | number | |
contributorCount | number 或 null | |
maxContribution, lockDuration, lockId | string 或 null | |
vault | string 或 null | vault 地址,用于 vault 发行;没有 vault 时为零地址或 null |
vaultInfo | object 或 null | { factory, xHandle, official, type };当 factory 是 CheesePad 的 factory 时,official 为 true |
isHidden | boolean 或 null | |
agentIdOnly | boolean | 只有 Agent ID 持有者可以贡献 |
aiAuditUrl, query, kycDetails | ||
formatted… | number | 格式化后的金额 |
createdAt, updatedAt | string | ISO-8601 |
Melt Pool
/bonding-curve 路由提供 Melt Pool 的数据。
GET /bonding-curve/list
| 参数 | 类型 | 默认值 | 取值 |
|---|---|---|---|
chainId | integer | 单条链 | |
keyword | string | 最多 128 个字符,全文搜索 | |
sortBy | string | 最新在前 | newest、trending(都是最新在前)、volume(24 小时成交量)、progress、marketcap、price |
filterBy | string | active(未毕业)、graduated | |
pair | string | 全部 | all;native(或其别名 bnb):以原生币计价的曲线;bstock:以 CheesePad 精选 quote token 集合计价的曲线 |
owner | address | 区分大小写 | |
agentIdOnly | true | false | ||
page | integer | 1 | |
limit | integer | 20 | 1 到 100 |
无论 filterBy 如何设置,sortBy=marketcap 和 sortBy=price 都只返回活跃的曲线。其他 ERC20 quote token 没有对应的 pair 值:它们出现在 all 之下,带有 quoteKind: "token"。每一项都是一个 Melt Pool 文档。
示例
curl 'https://api.cheesepad.ai/bonding-curve/list?chainId=56&limit=1'
{
"docs": [ … ],
"hasNextPage": true,
"hasPrevPage": false,
"limit": 1,
"nextPage": 2,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 7319,
"totalPages": 7319
}
GET /bonding-curve/detail
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
chainId | integer | 是 | |
fundManager | address | 二选一 | 区分大小写 |
token | address |
fundManager 和 token 恰好传一个;两个都传或都不传会返回 400。返回 Melt Pool 文档外加 officialVault({ official, type } 或 null),或 404。
示例
curl 'https://api.cheesepad.ai/bonding-curve/detail?chainId=56&fundManager=0x8655aCEe94dc7BA9F5Ad3aBCFe97707Ef8bA9fF5'
{
"agentIdOnly": false,
"buyCount": 13943,
"buyTaxBps": 300,
"buyerCount": 7177,
"chainId": 56,
"formattedGraduationQuote": 11019.455036755855,
"formattedPrice": 3.50848293638205e-06,
"formattedVolume24h": 37.54529368799625,
"fundManager": "0x8655aCEe94dc7BA9F5Ad3aBCFe97707Ef8bA9fF5",
"graduationBlock": 127974869,
"graduationQuote": "14999999999999999998",
"index": 7318,
"initialBase": "1073000000000000000000000000",
"initialQuote": "5293783886016895725",
"lastTradeAt": 1795482542,
"listedAt": 1792152105,
"marketCapUsd": 3508.48293638205,
"maxWalletBps": 0,
"officialVault": {
"official": true,
"type": "Splitter"
},
"owner": "0xD54952c5E9EDd6fD6555C1ca549ADdBaE4dD334D",
"pair": "0x7F1aa5830253EE670bFA31435ef611fABea7c9ce",
"poolDetails": "{\"tt\":\"Black Shiba\",\"lu\":\"https://cdn.cheesepad.ai/photos/17…",
"postGradSeedScanned": true,
"postGradTracked": true,
"priceStale": false,
"progressBps": 10000,
"query": "black shiba manyu 0x8a64dd261385ccaa79c4f2dc941f2e2683186666…",
"quoteKind": "native",
"quoteToken": "0x0000000000000000000000000000000000000000",
"reserveBase": "279900000000000000000000000",
"reserveQuote": "20293783886016895724",
"router": "0x10ED43C718714eb63d5aA57B78B54704E256024E",
"sellCount": 12040,
"sellTaxBps": 300,
"spotPriceQuotePerBase": "6260117649",
"spotlightAchievedAt": 1792152108,
"state": 1,
"taxConfig": {
"burnBps": 0,
"feeReceiverBps": 10000,
"holdersBps": 0,
"liquidityBps": 0
},
"taxEndsAt": 4945752105,
"token": {
"address": "0x8a64DD261385cCAA79c4f2dC941F2e2683186666",
"decimals": 18,
"name": "Black Shiba",
"symbol": "Manyu"
},
"tokenType": 4,
"totalSellingBase": "793100000000000000000000000",
"tradeCount": 25983,
"vault": "0x9Fbd08875aeaAB859BF696F46F5Ad973133BcBA2",
"vaultFactory": "0x9d04B0Bfe281411d4A01a69BD89f7Ba6b7F5A59b",
"volumeQuote24h": "66991334977243727"
}
GET /bonding-curve/trades
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
chainId | integer | 必填 | |
fundManager 或 token | address | 恰好一个;fundManager 区分大小写 | |
page | integer | 1 | |
limit | integer | 20 | 1 到 100 |
返回分页的交易列表,最新在前:曲线上的买入和卖出、流动性的添加和移除,以及毕业之后的 DEX 兑换(标记为 source: "dex")。每笔交易包含 chainId、poolIndex、token、fundManager、txHash、logIndex、blockNumber、timestamp、user、isBuy、type(buy、sell、addLiquidity、removeLiquidity)、quoteAmount 和 baseAmount(原始字符串)、baseReserve 和 quoteReserve({ raw, formatted })、price 和 volume({ native, usd },其中 native 以 quote token 为单位)以及 marketCap。未知的 token 返回 404;未知的 fundManager 返回空页。
示例
curl 'https://api.cheesepad.ai/bonding-curve/trades?chainId=56&fundManager=0x8655aCEe94dc7BA9F5Ad3aBCFe97707Ef8bA9fF5&limit=1'
{
"docs": [
{
"baseAmount": "6084736577622830313420882",
"baseReserve": {
"formatted": 762488220.4426788,
"raw": "762488220442678802410753305"
},
"blockNumber": 135372360,
"chainId": 56,
"fundManager": "0x8655aCEe94dc7BA9F5Ad3aBCFe97707Ef8bA9fF5",
"isBuy": false,
"logIndex": 754,
"marketCap": 3508.48293638205,
"poolIndex": 7318,
"price": {
"native": 6.260117649e-09,
"usd": 3.50848293638205e-06
},
"quoteAmount": "38301589657064989",
"quoteReserve": {
"formatted": 4.773265966193835,
"raw": "4773265966193834847"
},
"source": "dex",
"timestamp": 1795482542,
"token": "0x8a64DD261385cCAA79c4f2dC941F2e2683186666",
"txHash": "0x074712240d8dfbf81483912066dbc97f109c593b61b4075dfdddec1f022b16dd",
"type": "sell",
"user": "0x7a1F91ED962893c2E262d0D1EFC4bb93e7f0A429",
"volume": {
"native": 0.03830158965706499,
"usd": 21.466125923302076
}
}
],
"hasNextPage": true,
"hasPrevPage": false,
"limit": 1,
"nextPage": 2,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 26069,
"totalPages": 26069
}
GET /bonding-curve/holders
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
chainId | integer | 必填 | |
fundManager 或 token | address | 恰好一个 | |
limit | integer | 50 | 最多 200;没有分页 |
返回 { chainId, fundManager, holderCount, holders: [{ address, balance, percentage }] }。余额由曲线和 DEX 交易推算得出(买入减去卖出),以整枚代币计,假定小数位数为 18 且总供应量固定为 1,000,000,000。钱包之间的转账不计入,因此这些数值是近似的:如需精确余额,请读取代币合约。
示例
curl 'https://api.cheesepad.ai/bonding-curve/holders?chainId=56&fundManager=0x8655aCEe94dc7BA9F5Ad3aBCFe97707Ef8bA9fF5'
{
"chainId": 56,
"fundManager": "0x8655aCEe94dc7BA9F5Ad3aBCFe97707Ef8bA9fF5",
"holderCount": 5503,
"holders": [
{
"address": "0x76bF54EE1BF8dBe863Ca3A445F2703457626Acfc",
"balance": 453069488.65581244,
"percentage": 45.30694886558124
}
]
}
Melt Pool 文档
| 字段 | 类型 | 说明 |
|---|---|---|
chainId, index | number | |
owner, fundManager, router | string | |
quoteToken | string | 零地址表示原生币 |
quoteKind | string | native;bstock(CheesePad 精选的 quote token 集合);token(任何其他 ERC20 quote) |
token | object | { address, name, symbol, decimals } |
tokenType | number | 0 CheeseToken,4 CheeseTaxTokenV2 |
initialBase, initialQuote, totalSellingBase, reserveBase, reserveQuote, graduationQuote | string | 原始值 |
vault, vaultFactory | string 或 null | |
agentIdOnly | boolean | 只有 Agent ID 持有者可以买入 |
maxWalletBps | number | 每个钱包的上限,以占总供应量的 BPS 计;0 表示没有上限 |
state | number | 毕业后为 1 |
listedAt | number 或 null | |
progressBps | number | 距离毕业的进度;10000 即 100% |
buyTaxBps, sellTaxBps | number | |
taxEndsAt | number 或 null | |
taxConfig | object 或 null | { feeReceiverBps, holdersBps, burnBps, liquidityBps } |
spotPriceQuotePerBase | string 或 null | |
marketCapUsd, formattedPrice, formattedGraduationQuote, formattedVolume24h | number | |
priceStale | boolean | USD 价格已过期 |
pair | string 或 null | 毕业后的 DEX 交易对(不是 pair 查询参数) |
tradeCount, buyCount, sellCount, buyerCount, lastTradeAt | number | |
volumeQuote24h | string | 原始值 |
spotlightAchievedAt | number 或 null | |
poolDetails | string | JSON 字符串 |
Melt Pool 文档不包含 quote token 的符号或小数位数:对于 ERC20 quote,请从 quote token 读取 symbol() 和 decimals()。字段 postGradTracked、graduationBlock 和 postGradSeedScanned 是内部字段,可能发生变化。
锁仓
/lockers 路由只提供主网上的 Secure Lock 锁仓(BNB Smart Chain、Robinhood Chain 和 Arc)。它们使用蛇形命名的 chain_id。
GET /lockers
| 参数 | 类型 | 默认值 | 取值 |
|---|---|---|---|
chain_id | integer | 必填 | |
owner | address | 锁仓所有者;无效地址返回 500 | |
token | address | 被锁定的代币;无效地址返回 500 | |
isLiquidity | true | false | 仅 LP 锁仓或仅代币锁仓 | |
isGroupToken | true | false | false | true:每个代币一行,被锁定的数量求和 |
sortBy | string | lockerId | lockerId |
sortType | string | asc | asc、desc |
page | integer | 1 | |
limit | integer | 10 |
docs 中的每个锁仓包含 chain_id、lock_id(字符串)、address(代币)、owner、factory(LP 锁仓的 LP factory,否则为零地址)、amount 和 unlocked_amount(原始字符串)、formatted_current_locked_amount(数字)、lock_date 和 expired(锁仓时间和解锁时间,字符串形式的 Unix 秒)、token_decimals、is_liquidity 以及 lock_version。
当 isGroupToken=true 时,每一行的结构不同:address、chain_id、decimals、factory、formatted_current_locked_amount、isLiquidity、lockId、convertedLockId 和 createdAt。
示例
curl 'https://api.cheesepad.ai/lockers?chain_id=56&limit=1'
{
"docs": [
{
"chain_id": 56,
"factory": "0x0000000000000000000000000000000000000000",
"amount": "163264000000",
"unlocked_amount": "0",
"formatted_current_locked_amount": 163.264,
"expired": "1795550400",
"address": "0xc468Fd1B6724Cf1447f73080950299658433046a",
"lock_id": "0",
"owner": "0x14e5281d7F9888D94A1beE1a074a2e24Ea9a2136",
"lock_date": "1763457891",
"token_decimals": 9,
"is_liquidity": false,
"lock_version": 3
}
],
"totalDocs": 222,
"limit": 1,
"page": 1,
"totalPages": 222,
"pagingCounter": 1,
"hasPrevPage": false,
"hasNextPage": true,
"prevPage": null,
"nextPage": 2
}
curl 'https://api.cheesepad.ai/lockers?chain_id=56&limit=1&isGroupToken=true'
{
"docs": [
{
"address": "0xc468Fd1B6724Cf1447f73080950299658433046a",
"chain_id": 56,
"convertedLockId": 0,
"createdAt": "2025-11-18T09:25:06.931Z",
"decimals": 9,
"factory": "0x0000000000000000000000000000000000000000",
"formatted_current_locked_amount": 163.264,
"isLiquidity": false,
"lockId": "0"
}
],
"totalDocs": 201,
"limit": 1,
"page": 1,
"totalPages": 201,
"pagingCounter": 1,
"hasPrevPage": false,
"hasNextPage": true,
"prevPage": null,
"nextPage": 2
}
GET /lockers/detail
| 参数 | 类型 | 必填 |
|---|---|---|
chain_id | integer | 是 |
locker_id | string | 是,锁仓 ID |
返回一个锁仓,采用 /lockers 的结构,或 404。
示例
curl 'https://api.cheesepad.ai/lockers/detail?chain_id=56&locker_id=0'
{
"chain_id": 56,
"factory": "0x0000000000000000000000000000000000000000",
"amount": "163264000000",
"unlocked_amount": "0",
"formatted_current_locked_amount": 163.264,
"expired": "1795550400",
"address": "0xc468Fd1B6724Cf1447f73080950299658433046a",
"lock_id": "0",
"owner": "0x14e5281d7F9888D94A1beE1a074a2e24Ea9a2136",
"lock_date": "1763457891",
"token_decimals": 9,
"is_liquidity": false,
"lock_version": 3
}
GET /lockers/tokens
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
chainId | integer | 是 | 此路由使用驼峰命名 |
tokens | address array | 是 | 一个或两个代币地址 |
返回一个以每个代币地址(与发送时一致)为键的对象,值为其当前被锁定的数量,以整枚代币计(数字)。
示例
curl 'https://api.cheesepad.ai/lockers/tokens?chainId=56&tokens=0xc468Fd1B6724Cf1447f73080950299658433046a'
{
"0xc468Fd1B6724Cf1447f73080950299658433046a": 163.264
}
代币查询
GET /token-info/sales 和 GET /token-info/microsales
查找出售指定代币的 pool(sales)或 microsale(microsales),覆盖除 BNB Smart Chain Testnet 之外的所有链。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
tokenAddresses | address array | 必填;1 到 100 个,可重复传参或以逗号分隔 | |
page | integer | 1 | |
limit | integer | 20 | 1 到 100 |
返回分页列表,最新在前。每一项都是完整的 pool 或 microsale 文档(不含 _id 和 query),外加 poolUrl,即该销售在 cheesepad.ai 上的页面(例如 https://www.cheesepad.ai/sale/bsc/<poolAddress> 或 https://www.cheesepad.ai/microsale/bsc/<fundManager>)。
示例
curl 'https://api.cheesepad.ai/token-info/sales?tokenAddresses=0x3b6a6897896246306A814f9B46fab9c016516666'
{
"docs": [
{
"aiAuditUrl": null,
"chainId": 56,
"createdAt": "2026-10-26T09:42:06.089Z",
"currency": {
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"name": "BNB",
"symbol": "BNB"
},
"index": 73,
"initialMarketCap": null,
"pool": {
"affiliateBps": 0,
"buybackPercent": 0,
"claimTime": 0,
"contributorCount": 23,
"currency": "0x0000000000000000000000000000000000000000",
"cycle": 0,
"cyclePercent": 0,
"endTime": 1793059200,
"formattedHardCap": 0,
"formattedListingRate": 11111111,
"formattedMaxContribution": 20,
"formattedMinContribution": 0,
"formattedRate": 11111111,
"formattedSoftCap": 0,
"formattedSoftCapTokens": 0.33333333,
"formattedTotalCommitted": 20.48,
"formattedTotalRaised": 0,
"formattedTotalSellingTokens": 0.66666666,
"fundManager": "0xd0Bb361eF31e84Ae085F852941F11277A6D7E57a",
"hardCap": "0",
"hardCapTokensPerUser": "3333333300000000",
"kycDetails": "",
"listedAt": 0,
"listingPercent": 51,
"listingRate": "11111111000000000",
"lockDuration": 15552000,
"lockId": "-1",
"maxContribution": "20000000000000000000",
"minContribution": "0",
"owner": "0xa7Da8FcA8160478038C1B04d9E1F2ad7233CB0f7",
"poolDetails": "{\"lu\":\"https://cdn.cheesepad.ai/photos/1793007609006-1814215…",
"poolType": 2,
"publicSaleStartTime": 0,
"rate": "11111111000000000",
"refundType": 1,
"requireContributorValidation": false,
"router": "0x10ED43C718714eb63d5aA57B78B54704E256024E",
"softCap": "0",
"softCapTokens": "333333330000000000",
"startTime": 1793008800,
"state": 2,
"tgePercent": 0,
"totalCommitted": "20480000000000000000",
"totalRaised": "0",
"totalSellingTokens": "666666660000000000",
"totalVolumePurchased": "0",
"whitelistTierCount": 0
},
"poolAddress": "0xd0Bb361eF31e84Ae085F852941F11277A6D7E57a",
"poolUrl": "https://www.cheesepad.ai/sale/bsc/0xd0Bb361eF31e84Ae085F852941F11277A6D7E57a",
"protection": {
"enabled": false
},
"token": {
"address": "0x3b6a6897896246306A814f9B46fab9c016516666",
"decimals": 9,
"name": "GrokLet",
"symbol": "GROKLET"
},
"updatedAt": "2026-11-03T08:57:09.523Z",
"whitelistSource": "list"
}
],
"hasNextPage": false,
"hasPrevPage": false,
"limit": 20,
"nextPage": null,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 1,
"totalPages": 1
}
curl 'https://api.cheesepad.ai/token-info/microsales?tokenAddresses=0x43b5e0049388f5131C3c5fC3c986a5Ce41dC6666'
{
"docs": [ … ],
"hasNextPage": false,
"hasPrevPage": false,
"limit": 20,
"nextPage": null,
"page": 1,
"pagingCounter": 1,
"prevPage": null,
"totalDocs": 1,
"totalPages": 1
}
价格
GET /master-data/token-price
无参数。返回 BNB 和 ETH 的 USD 价格:
{ "binancecoin": { "usd": 612.4 }, "ethereum": { "usd": 3021.7 } }
这两个键始终存在。如果价格提供方失败,数值最多可能是 24 小时前的;如果从未获取过价格,则为 0。没有 Arc 原生币 USDC 的条目。
示例
curl 'https://api.cheesepad.ai/master-data/token-price'
{
"binancecoin": {
"usd": 554.1093433720175
},
"ethereum": {
"usd": 1704.5077504226904
}
}
实时数据
没有 webhook。如需响应链上活动,请订阅合约的事件(见事件与数据),或轮询这些路由,但速度不要快于它们的缓存时间。