Lobsters API

Lobsters is a computing-focused community where members submit links and discuss them. The API reads stories from the front page, the newest page and any tag page, one story by its link, every comment on a story, and a user's public profile.

A story's ID is the short code in its link, as in https://lobste.rs/s/5kmyma; url takes the link or the bare code. upvote_count is the net score, upvotes minus downvotes, because the site does not show the two separately. links holds the links submitted with the story, and url is the story's discussion page on Lobsters. Story lists come 25 to a page.

All you need is one API key, no Lobsters account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.

Send POST https://api.everyinfra.com/api/v1/social with platform set to lobsters and action set to a capability name from the list below, for example trending.

  • 6 capabilities
  • $0.79 per 1,000 requests
  • No charge for failed calls or empty results

Platform availability

24h health
Normal
Normal

Last 30 days

Available capabilities

Each Lobsters action, what it does, its price and its health over the last 24 hours. Open an action for its parameters, response fields and code samples.

CapabilityWhat it doesPer 1,000Blank rows: $0.7924-hour health · All normal
TrendingtrendingList the stories on the Lobsters front page in the site's order, 25 per page, each with title, url, links, upvote_count, comment_count, tags, author_username, posted_at and rank.Normal
Latest postslatest_postsList the stories on the Lobsters newest page, 25 per page, with the same fields as the front page.Normal
Tag poststag_postsList the Lobsters stories under one tag, such as programming or rust, 25 per page, with the same fields as the front page.Normal
Post detailspost_detailRead one Lobsters story from its link or short code in url: title, url, links, text when the story has its own text, upvote_count, comment_count, tags, author_username and posted_at.Normal
CommentscommentsRead every comment on one Lobsters story in a single call, in page order, each with text, text_html, author_username, upvote_count, depth, parent_id, posted_at and rank.Normal
ProfilesprofileRead one Lobsters user's public profile from a username or profile link: username, url, display_name and avatar_url, plus bio, joined_at and post_count when the profile shows them.Normal

5 questions to ask before choosing a data API for Lobsters

Do I need to log in to Lobsters or provide a cookie to make calls?

No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.

How is it billed? Are failed requests charged? Is there a free trial?

Billing is per request, $0.79 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.

Can I connect this Lobsters API to Claude or Cursor?

Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.

What compliance points apply when using Lobsters data?

The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.

What Lobsters data can I get?

Available Lobsters capabilities (6): Trending, Latest posts, Tag posts, Post details, Comments, Profiles. The parameters and response fields of each capability are in the API reference on this page.

What does each Lobsters action accept?

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.

Sync delivery for every action.

ActionRequiredOptionalLimitPer 1,000Blank rows: $0.79Response fields
trending

Trending

List the stories on the Lobsters front page in the site's order, 25 per page, each with title, url, links, upvote_count, comment_count, tags, author_username, posted_at and rank. Each page is one call; send the response's next_page_token as page_token to get the next one.

page_tokenEach call returns one page of up to 25 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.id · url · title · text · upvote_count · comment_count · author_username · tags · links · posted_at · rank · collected_at · platform
latest_posts

Latest posts

List the stories on the Lobsters newest page, 25 per page, with the same fields as the front page. Paging works the same way: next_page_token goes back in as page_token, one call per page.

page_tokenEach call returns one page of up to 25 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.id · url · title · text · upvote_count · comment_count · author_username · tags · links · posted_at · rank · collected_at · platform
tag_posts

Tag posts

List the Lobsters stories under one tag, such as programming or rust, 25 per page, with the same fields as the front page. To read further, keep tag and pass next_page_token as page_token; every page is a separate call.

tagpage_tokenEach call returns one page of up to 25 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect.id · url · title · text · upvote_count · comment_count · author_username · tags · links · posted_at · rank · collected_at · platform
post_detail

Post details

Read one Lobsters story from its link or short code in url: title, url, links, text when the story has its own text, upvote_count, comment_count, tags, author_username and posted_at. Comments come from comments.

url——id · url · title · text · upvote_count · comment_count · author_username · tags · links · posted_at · collected_at · platform
comments

Comments

Read every comment on one Lobsters story in a single call, in page order, each with text, text_html, author_username, upvote_count, depth, parent_id, posted_at and rank. parent_id names the comment being replied to, and post_comment_count is the story's comment count. There is no paging.

urllimit—id · post_id · text · text_html · posted_at · author_username · upvote_count · depth · parent_id · rank · post_comment_count · collected_at · platform
profile

Profiles

Read one Lobsters user's public profile from a username or profile link: username, url, display_name and avatar_url, plus bio, joined_at and post_count when the profile shows them.

username——username · url · display_name · avatar_url · bio · joined_at · post_count · collected_at · platform

What do the Lobsters trending parameters mean?

List the stories on the Lobsters front page in the site's order, 25 per page, each with title, url, links, upvote_count, comment_count, tags, author_username, posted_at and rank. Each page is one call; send the response's next_page_token as page_token to get the next one.

Full API reference: parameters, code samples, response example and health

What do the Lobsters latest_posts parameters mean?

List the stories on the Lobsters newest page, 25 per page, with the same fields as the front page. Paging works the same way: next_page_token goes back in as page_token, one call per page.

Full API reference: parameters, code samples, response example and health
page_tokenOptional
Page token for trending, latest_posts and tag_posts. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping tag the same on tag_posts. Pages hold up to 25 stories and each is one call; the last page has no next_page_token.

What do the Lobsters tag_posts parameters mean?

List the Lobsters stories under one tag, such as programming or rust, 25 per page, with the same fields as the front page. To read further, keep tag and pass next_page_token as page_token; every page is a separate call.

Full API reference: parameters, code samples, response example and health
tagRequired
A Lobsters tag name such as programming or rust, the part after /t/ in a tag page link. Case does not matter.
Lobsters About: Tags — Lobsters' About page says every submitted story must be tagged by the submitter from a predefined list of tags, that each tag has its own page and feed such as lobste.rs/t/programming, and that all users see all stories by default. The source supports listing stories by tag name in `tag`; this API's parameters are defined by EveryInfra, and the source does not vouch for results. · Checked
page_tokenOptional
Page token for trending, latest_posts and tag_posts. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping tag the same on tag_posts. Pages hold up to 25 stories and each is one call; the last page has no next_page_token.

What do the Lobsters post_detail parameters mean?

Read one Lobsters story from its link or short code in url: title, url, links, text when the story has its own text, upvote_count, comment_count, tags, author_username and posted_at. Comments come from comments.

Full API reference: parameters, code samples, response example and health
urlRequired
A Lobsters story link such as https://lobste.rs/s/5kmyma, with or without the title part, or just the short code 5kmyma. Other forms are rejected before any charge.

What do the Lobsters comments parameters mean?

Read every comment on one Lobsters story in a single call, in page order, each with text, text_html, author_username, upvote_count, depth, parent_id, posted_at and rank. parent_id names the comment being replied to, and post_comment_count is the story's comment count. There is no paging.

Full API reference: parameters, code samples, response example and health
urlRequired
A Lobsters story link such as https://lobste.rs/s/5kmyma, with or without the title part, or just the short code 5kmyma. Other forms are rejected before any charge.
limitOptional
Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without limit, whatever the value.

What do the Lobsters profile parameters mean?

Read one Lobsters user's public profile from a username or profile link: username, url, display_name and avatar_url, plus bio, joined_at and post_count when the profile shows them.

Full API reference: parameters, code samples, response example and health
usernameRequired
A Lobsters username such as jcs, or a profile link such as https://lobste.rs/u/jcs. Other forms are rejected before any charge.

How to use the Lobsters API

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
lobsters_trending.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"lobsters","action":"trending","params":{}}'

Lobsters API questions

What can I retrieve with the Lobsters API?

Set platform to lobsters. The current catalog lists trending, latest posts, tag posts, post details, comments, and more. These action names identify different Lobsters objects or views; they are not interchangeable search modes.

Which input starts the Lobsters trending request?

The trending action has no required business input. Send the platform and action identifiers, plus only the optional parameters you need.

Which fields can Lobsters trending return?

Its declared schema includes title, text, upvote_count, and comment_count. A declared field can still be absent from an individual record, and every other action has its own field list.

Does every Lobsters action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

Google Analytics needs consent. Privacy