SocialTap Hacker News API

Public Hacker News stories with exact points and comment counts, their comments in thread order, and users with exact karma and about text. A user's stories, comments and favorites, the front page and the other feeds, and each month's Who is hiring thread as job postings. Search stories and comments by keyword, or find the stories that link to a page.

GitHub OpenAPI

Operations 11

GET /v1/hackernews/comment One comment with its story, parent and thread depth #
GET /v1/hackernews/comments Comments and replies on a story, in thread order #
GET /v1/hackernews/feed_stories Front page, new, best, Ask HN, Show HN and jobs #
GET /v1/hackernews/search_comments Comments by keyword, ranked or newest first #
GET /v1/hackernews/search_stories Stories by keyword, ranked or newest first #
GET /v1/hackernews/story Story, job or poll with exact points and comment count #
GET /v1/hackernews/user Exact karma, about text and submission count #
GET /v1/hackernews/user_comments Every comment a user wrote, newest first #
GET /v1/hackernews/user_favorites Stories a user saved, with points and comments #
GET /v1/hackernews/user_stories Every story a user posted, newest first #
GET /v1/hackernews/whoishiring_jobs Jobs from a month's Who is hiring thread #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/socialtap-dev:socialtap-dev-hacker-news-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

socialtap-dev-hacker-news-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@socialtap.dev
    name: SocialTap support
  description: 'SocialTap is the social media scraper API for developers and AI agents. Send a public link, a handle or a search and get live data back in one schema. Failed requests are free. Available now: activity on GitHub; ads on Facebook, Google, LinkedIn and TikTok; albums on Apple Music and Spotify; comments on Bluesky, Facebook, GitHub, Hacker News, Instagram, LinkedIn, Reddit, Rumble, Snapchat, Threads, TikTok, X and YouTube; communities on Facebook, LinkedIn, Reddit and X; contribution calendars on GitHub; downloads on TikTok; effects on TikTok; embeds on Instagram; engagement stats on Facebook, Instagram, LinkedIn, Reddit, Rumble, TikTok, X and YouTube; events on Facebook; hashtags on Instagram and TikTok; issues on GitHub; jobs on Hacker News and LinkedIn; livestreams on TikTok, Twitch and X; offers on Amazon; places on Facebook and Instagram; playlists on Amazon, Apple Music, Instagram, Pinterest, Spotify, TikTok and X; podcasts on Spotify; posts on Amazon, Apple Music, Bluesky, Facebook, Hacker News, Instagram, Kick, Kwai, LinkedIn, Pinterest, Reddit, Rumble, Snapchat, SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; products on Amazon, Facebook and TikTok Shop; profiles on Amazon, Apple Music, Bluesky, Facebook, GitHub, Google, Hacker News, Instagram, Komi, Kwai, LinkedIn, Linkme, Linktree, Lnk.Bio, Pillar, Pinterest, Reddit, Rumble, Snapchat, SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; readmes on GitHub; relationships on X; releases on GitHub; repositories on GitHub; reviews on Amazon and TikTok Shop; sounds on Instagram and TikTok; suggestions on Google, Instagram and TikTok; topics on Instagram and Pinterest; transcripts on Facebook, Instagram, Kick, LinkedIn, Reddit, Rumble, TikTok, Twitch, X and YouTube; trends on Instagram and Pinterest; usernames on Instagram; web pages on Pinterest; web results on Facebook, Instagram, LinkedIn, Telegram, TikTok and X.


    **AI agents and coding assistants:** before writing integration code, read llms.txt (how to authenticate, pick an endpoint, paginate and handle errors, plus every endpoint), the agent guide and the API reference. Every docs page is also Markdown: append `index.md` to its URL or send `Accept: text/markdown`.


    Authenticate with the `x-api-key` header. Branch on `error.code`, never on `message`; retry only the codes an operation''s `x-socialtap-retry` lists as retryable (error codes). Plans do not limit request rate: a per-account runaway ceiling answers `rate_limited` with a `retry-after` header.


    Every operation states its price in `x-socialtap-pricing` (credits per request, or per page for lists), list operations their cursor paging in `x-socialtap-pagination`.


    Failed requests and cache hits cost no credits.'
  termsOfService: https://socialtap.dev/terms/
  title: SocialTap Hacker News API
  version: '1'
servers:
- url: https://socialtap.dev
security:
- apiKey: []
tags:


# --- truncated at 32 KB (512 KB total) ---
# Full source: https://artifacts.apis.io/socialtap-dev/openapi/socialtap-dev-hacker-news-api-openapi.yml