Discover/thelayoff.com API
live

thelayoff.com APIwww.thelayoff.com

Access TheLayoff.com forum posts by company slug, with titles, dates, authors, reactions, view counts, and full reply threads via 2 REST endpoints.

Endpoints
2
Updated
2mo ago
Try it
Page number for pagination (1-based).
Sort order: 'new' for newest first, 'active' for most recently active.
Company slug used in the URL path (e.g., 'apple', 'google', 'amazon', 'meta').
api.parse.bot/scraper/7ebc6abd-1ea4-4195-af2a-531a49ef94ff/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7ebc6abd-1ea4-4195-af2a-531a49ef94ff/get_posts?page=1&sort=new&company=google' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Get a paginated list of forum posts for a specific company's layoff discussion page. Returns post titles, content previews, dates, authors, view counts, reactions, and reply counts.

Input
ParamTypeDescription
pageintegerPage number for pagination (1-based).
sortstringSort order: 'new' for newest first, 'active' for most recently active.
companystringCompany slug used in the URL path (e.g., 'apple', 'google', 'amazon', 'meta').
Response
{
  "type": "object",
  "fields": {
    "page": "integer, the current page number",
    "sort": "string, the sort order applied",
    "posts": "array of post objects with title, url, post_id, content, date, date_display, author, views, reactions_total, reactions_up, reactions_down, replies, last_reply_date",
    "company": "string, the company slug used in the request",
    "posts_count": "integer, number of posts returned on this page",
    "company_title": "string, descriptive title of the company's discussion page",
    "has_next_page": "boolean, whether a next page of results exists",
    "has_previous_page": "boolean, whether a previous page exists"
  },
  "sample": {
    "data": {
      "page": 1,
      "sort": "new",
      "posts": [
        {
          "url": "https://www.thelayoff.com/t/1kq7pfwbw",
          "date": "2026-04-27T14:46:29Z",
          "title": "Why does iOS 26 S_U_C_K ?",
          "views": 0,
          "author": "Anonymous",
          "content": "It's a perfect example of what's wrong with Apple...",
          "post_id": "@OP+1kq7pfwbw",
          "replies": 1,
          "date_display": "16 days ago",
          "reactions_up": 0,
          "reactions_down": 0,
          "last_reply_date": "2026-04-27T17:23:20Z",
          "reactions_total": 0
        }
      ],
      "company": "apple",
      "posts_count": 40,
      "company_title": "Topics regarding layoffs at Apple Inc.",
      "has_next_page": true,
      "has_previous_page": false
    },
    "status": "success"
  }
}

About the thelayoff.com API

The TheLayoff.com API provides 2 endpoints for retrieving company-specific layoff forum data, including post listings via get_posts and full thread details via get_post_detail. Each post object exposes title, author, content, ISO 8601 date, view count, upvote and downvote reaction counts, and reply count. The get_posts endpoint supports pagination and sort order, while get_post_detail returns complete reply threads with per-reply reactions and author attribution.

What the API Returns

The get_posts endpoint returns a paginated list of forum posts for any company supported by TheLayoff.com, identified by a company slug such as apple, google, or amazon. Each response includes the current page number, sort order, a has_next_page and has_previous_page flag for cursor navigation, the company_title string, and a posts array. Every post object in that array carries a post_id, title, url, truncated content preview, date (ISO 8601), date_display (relative human-readable string), author, views, reactions_total, reactions_up, and reactions_down.

Thread Detail and Replies

The get_post_detail endpoint accepts a post_id obtained from get_posts and returns the full original post alongside its complete reply thread. The top-level response includes the post's title, content, author, date, date_display, views, reactions_up, reactions_total, and url. The replies array contains individual reply objects, each with reply_id, content, author, date, date_display, reactions_total, reactions_up, and reactions_down. The endpoint automatically strips the @OP+ prefix if it appears in a supplied post_id.

Filtering and Pagination

The get_posts endpoint accepts three optional parameters: company (the URL slug for the company), page (1-based integer for pagination), and sort (new for newest-first or active for most recently active threads). There is no full-text search parameter; filtering by keyword or date range within results must be handled client-side. Posts from multiple companies require separate requests, one per company slug.

Common use cases
  • Track layoff discussion activity at a specific company by monitoring posts_count and reactions_total over time using get_posts.
  • Aggregate community sentiment signals by comparing reactions_up and reactions_down across posts and replies for a given company.
  • Build a layoff news feed by polling get_posts with sort=new across multiple company slugs and surfacing the latest date values.
  • Analyze reply volume per post using get_post_detail to measure community engagement depth beyond surface-level view counts.
  • Extract author participation patterns across threads by collecting author fields from both posts and reply objects.
  • Archive full thread content including all replies for HR research, journalism, or workforce trend analysis.
  • Compare discussion velocity across companies by tracking has_next_page depth and views growth for different company slugs.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does TheLayoff.com offer an official developer API?+
TheLayoff.com does not publish an official public developer API or documented data access program. There is no API key signup or developer portal available from the site itself.
What does `get_posts` return versus `get_post_detail`, and when should I use each?+
get_posts returns a paginated list of post summaries for a company slug — titles, truncated content previews, reaction counts, view counts, and reply counts. It is suited for discovery and feed construction. get_post_detail returns the full original post content plus the complete replies array with per-reply attribution, and should be used when you need the full thread text and all reactions at the reply level.
Can I search for posts by keyword or filter by date range?+
The get_posts endpoint supports sorting by new or active and pagination via the page parameter, but does not currently expose keyword search or date-range filtering as query parameters. Results can be filtered client-side using the date (ISO 8601) and content fields returned in each post object. You can fork this API on Parse and revise it to add a keyword or date-filter endpoint.
Does the API cover all companies listed on TheLayoff.com, or only a subset?+
The get_posts endpoint accepts any company slug that corresponds to a valid company discussion page on TheLayoff.com — such as apple, amazon, or meta. Coverage is limited to companies with active forum pages on the site. There is no endpoint that lists all available company slugs. You can fork this API on Parse and revise it to add a company-discovery or slug-listing endpoint.
Is any user-identifying information exposed in post or reply objects?+
The API returns the author field as a display name string for both posts and replies, matching what is publicly visible on TheLayoff.com forum pages. No email addresses, user IDs, profile links, or private account data are included in any response object.
Page content last updated . Spec covers 2 endpoints from www.thelayoff.com.
Related APIs in JobsSee all →
ceo.ca API
Monitor trending stocks, browse popular discussion posts, and read full conversation threads from CEO.ca to stay informed on market discussions and investment opportunities. Get real-time insights into what's being talked about and what stocks are gaining traction on the platform.
reddit.com API
Search Reddit posts and comments across any subreddit. Retrieve post discussions with full comment threads, search by keyword, and browse subreddit feeds by category (hot, new, top, rising) with flexible sorting and pagination.
threads.com API
Search for posts and users on Threads by keyword to discover content, view engagement metrics like likes and replies, and explore user profiles with their media. Find trending discussions and connect with creators all in one search experience.
insights.trendforce.com API
Access semiconductor and AI industry analysis articles from TrendForce Insights, browsing post listings and retrieving full article content organized into text sections and figures. Perfect for staying updated on tech industry trends and feeding structured article data into language models for analysis.
jobs.lever.co API
Access job postings on any Lever-hosted company job board. List, filter, search, and group open roles, retrieve full posting details, and extract application form questions via Lever's public API.
nofluffjobs.com API
Search and filter job openings from No Fluff Jobs by category, seniority level, location, and keywords to find IT, marketing, sales, and HR positions tailored to your needs. Retrieve detailed information about specific job postings including requirements, company details, and employment terms to help you make informed application decisions.
news.ycombinator.com API
Browse Hacker News top/new/best/ask/show stories and job posts, search stories by keyword and timeframe, fetch user profiles, retrieve comment threads for a post, and compute basic engagement stats and trending stories.
archive.4plebs.org API
Search and browse archived 4chan threads, posts, and media with filters for username, tripcode, subject, and date ranges. Explore board galleries, view thread replies, and discover random threads from the 4plebs archive.