Hacker News

Social news website

Go to site
Explore
/
Apps
/
Hacker News

Hacker News API Integrations

Build and run workflows using the Hacker News API. Use 1000s of source-available triggers and actions across 2,400+ apps. Or write custom code to integrate any app or API in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Overview

The Hacker News API on Pipedream allows you to tap into the vibrant pool of stories, comments, and user data from one of tech's favorite forums. By leveraging this API, you can automate the process of extracting data for analysis, tracking mentions of specific topics, or even monitoring the performance of your own submissions. The real power lies in integrating this wealth of information with other services to create custom, automated workflows that save time and keep you informed.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    hacker_news: {
      type: "app",
      app: "hacker_news",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `http://hn.algolia.com/api/v1/search_by_date?query=pipedream`,
    })
  },
})

Choose an API to Connect with Hacker News API

1
-
24
of
2,400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.

Example Use Cases

  • Trending Alerts to Slack: Use the Hacker News API to monitor stories gaining traction. Set up a workflow that checks for stories with a high number of points or comments and automatically sends a summary of these trending topics to a designated Slack channel. This keeps your team in the loop with minimal effort.

  • Competitor Mention Tracker: Keep an eye on the mention of competitors or specific technologies. Create a workflow that searches comments and stories for predefined keywords and compiles them into a report delivered to your email. This can help with market analysis and competitive intelligence.

  • Personal Dashboard Update: If you are actively participating in Hacker News, you might want a dashboard that tracks your posts’ performance. Set up a workflow to pull data on your stories, such as points and comment counts, and push updates to a Google Sheet. This provides a personal analytics platform to track and analyze your engagement.

pipedream

"Google Alerts" for Hacker News

Google Alerts let you "monitor the web for interesting new content" and many of our users like to do the same for Hacker News.

The Hacker News components turn the Hacker News API into an event stream based on your given keyword(s).

Components can emit events, which can be retrieved programmatically via CLI, API or SSE. They can also trigger Pipedream workflows on every event. For example, you can process items from an RSS feed and access the items via REST API, or trigger code to run on every new item using the SSE interface or a workflow.

Usage

or:

Install the Pipedream CLI, then deploy the Hacker News "new stories by keyword" component from the registry:

pd deploy hacker_news-new-stories-by-keyword

Or, deploy the "new comments by keyword" component from the registry:

pd deploy hacker_news-new-stories-by-keyword

Submit your keyword and deploy your component.

You have turned the Hacker News API into a real time event stream!

Docs

Why use components?

Components are similar to serverless functions, like those offered by AWS Lambda. You don't have to manage the server that runs the code — components are hosted on Pipedream infrastructure — and they run on specific events like HTTP requests and timers.

But we believe components are simpler to learn, write, and maintain for many use cases. They let you focus more on the code, and less on the configuration of the function and its associated services:

  • You can configure an HTTP server via props, and can use a built-in key-value store to manage state. Components creates the HTTP interface for you on deploy, and the key-value store comes for free: there's no need to create these resources manually.
  • Components are meant to be reusable. They can accept input via props, which a user sets on deploy.
  • Components are self-contained. Their name, version, props, and code are all defined in one file. This makes components easy to understand at a glance, and easy to fork and modify.

This is also an early release. The component API will improve over time. Right now, we're looking for any and all feedback. Tell us what you're building, what works and what doesn't, and anything you think would improve the product.

Pricing

Pipedream is currently free, subject to the limits noted below. Paid tiers for higher volumes are coming soon.

If you exceed any of these limits, please reach out.

Limits

Components are subject to the limits of the Pipedream platform.

Found a Bug? Have a Feature to suggest?

Any bugs or feature requests for specific components can be raised in this repo as new Github issues or pull requests.

Pipedream also operates a roadmap to solicit feature requests for the Pipedream platform at large (the pipedream.com UI, workflows, the CLI, etc).

You can always reach out to our team - we're happy to discuss feedback or help fix a bug.

List Reactions with Facebook Groups API on New Comments by Keyword from Hacker News API
Hacker News + Facebook Groups
 
Try it
Create GA4 Property with Google Analytics API on New Comments by Keyword from Hacker News API
Hacker News + Google Analytics
 
Try it
Add Single Row with Google Sheets API on New Stories by Keyword from Hacker News API
Hacker News + Google Sheets
 
Try it
Send Message to Channel with Slack API on New Stories by Keyword from Hacker News API
Hacker News + Slack
 
Try it
Get Film with SWAPI API on New Stories by Keyword from Hacker News API
Hacker News + SWAPI - Star Wars
 
Try it
New Stories by Keyword from the Hacker News API

Emit new stories that mention a specific keyword

 
Try it
New Comments by Keyword from the Hacker News API

Emit new comments that mention a specific keyword

 
Try it

Authentication

Name Slug: hacker_news

The Hacker News API does not require authentication.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo