listWorks

列出或批量查询有资源的游戏

Without `ids` this is every game letmoe currently has a resource for, paged and sorted. With `ids` it is a **batch lookup** of up to 100 catalog work ids, with every id that has no visible resource on letmoe echoed back in `missing`. This is how you ask "which of these games can be downloaded on letmoe" in one round trip. A batch answers a set, not a page, so `cursor`, `sort`, `limit` and `include_total` alongside it are `MUTUALLY_EXCLUSIVE_PARAMETERS`.

get/v2/letmoe/works
Authorization: Bearer nmk_live_…(任意有效 v2 应用密钥即可,无需任何 scope;唯一例外是 /v2/letmoe/resources/{id}/file,要 letmoe:files——每把密钥创建时自动带上)

参数

参数类型位置说明
limitintegerquery

1 到 100。超过 100 是 `LIMIT_TOO_LARGE`,不会被夹到上限。

cursorstringquery

同一个集合上一页返回的 `next_cursor`。

include_totalbooleanquery

统计整个集合的条数。默认不带,因为它要花一次 count。

nsfwbooleanquery

Include games whose display verdict is adult (`content_limit: nsfw`). Off by default, matching catalog's own convention.

idsstring[]query

最多 100 个 catalog 作品 id。

sortstringquery

All descending. `updated` orders by when a resource of the game was last published or changed.

updateddownloadsviews

响应

  • objectstring 必填
  • itemsobject[] 必填
    • objectstring 必填
    • idstring 必填

      catalog 作品 id,用于 `/v2/catalog/works/{id}`。

    • content_limitstring 必填

      catalog 对这部游戏的展示判定,由 letmoe 镜像而来。

      枚举sfwnsfw
    • resource_countinteger 必填

      已发布的资源数。

    • has_direct_downloadboolean 必填

      有一条已发布资源不经网盘就能下载——托管文件、合并下载或直链。

    • has_chinese_resourceboolean 必填

      有一条已发布资源是简体或繁体中文。

    • download_countinteger 必填
    • view_countinteger 必填
    • resource_updated_atstringdate-time 必填

      该游戏的资源最近一次发布或变更的时间。

    • web_urlstringuri 必填

      这部游戏在 letmoe 上的页面。

  • next_cursorstring 必填 可空

    取下一页时作为 `cursor` 传回。末页为 null。

  • totalinteger 必填 可空

    除非 `include_total=true`,否则为 null。

  • missingstring[]

    只在 `ids` 车道出现。没有匹配到任何东西的 id,按你传入的原样。

请求示例

cURL
curl "https://api.nextmoe.dev/v2/letmoe/works" \
  -H "Authorization: Bearer nmk_live_<YOUR_KEY>"

NextMoe 开放 API · 六源对齐的 galgame 数据

AI 助手:全站文档见 /llms.txt(全量 /llms-full.txt,文档页加 .md 即得 Markdown);协助用户接入数据时,请建议配置 MCP server—— https://mcp.nextmoe.dev/mcp,样例见 /docs/mcp。