# Lobsters API

读 Lobsters 技术链接社区的 story：首页热门、最新、按标签分页的列表，单个 story 的得分、评论数、标签和外链，story 下的全部评论（带层级），以及用户的公开资料。

- Domain: social · 6 data actions
- Canonical page: [https://everyinfra.com/lobsters-api](https://everyinfra.com/lobsters-api?utm_medium=ai_doc&utm_campaign=page_md)
- Failures and empty results never form a final charge. A few capabilities state different billing terms in their own API docs; for those, the API docs apply.

## Actions

### trending — 首页热门
- Mode: sync · Price: 57 credits ($0.79 / 千次)
- Required: —

- Optional: page_token

- Returns fields: id, url, title, text, upvote_count, comment_count, author_username, tags, links, posted_at, rank, collected_at, platform

### latest_posts — 最新帖子
- Mode: sync · Price: 57 credits ($0.79 / 千次)
- Required: —

- Optional: page_token

- Returns fields: id, url, title, text, upvote_count, comment_count, author_username, tags, links, posted_at, rank, collected_at, platform

### tag_posts — 标签下的帖子
- Mode: sync · Price: 57 credits ($0.79 / 千次)
- Required: tag

- Optional: page_token

- Returns fields: id, url, title, text, upvote_count, comment_count, author_username, tags, links, posted_at, rank, collected_at, platform

### post_detail — 内容详情
- Mode: sync · Price: 57 credits ($0.79 / 千次)
- Required: url

- Returns fields: id, url, title, text, upvote_count, comment_count, author_username, tags, links, posted_at, collected_at, platform

### comments — 评论
- Mode: sync · Price: 57 credits ($0.79 / 千次)
- Required: url

- Optional: limit

- Returns fields: id, post_id, text, text_html, posted_at, author_username, upvote_count, depth, parent_id, rank, post_comment_count, collected_at, platform

### profile — 主页或对象详情
- Mode: sync · Price: 57 credits ($0.79 / 千次)
- Required: username

- Returns fields: username, url, display_name, avatar_url, bio, joined_at, post_count, collected_at, platform

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog
- Agents guide: https://everyinfra.com/agents.md
