Hacker News Data Scraper & Activity Monitoring avatar
Hacker News Data Scraper & Activity Monitoring
Try for free

Pay $1.00 for 1,000 results

View all Actors
Hacker News Data Scraper & Activity Monitoring

Hacker News Data Scraper & Activity Monitoring

nx-node/hacker-news-data-scraper-activity-monitoring
Try for free

Pay $1.00 for 1,000 results

Unofficial Hacker News API to extract data from all Hacker News categories. You can filter posts based on specific keywords, track trends using the unique activity monitoring feature, and receive updates directly in your Slack channel.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "hnDataSource": "",
8  "proxyConfig": {
9    "useApifyProxy": true
10  }
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/nx-node~hacker-news-data-scraper-activity-monitoring/runs?token=$API_TOKEN" \
17  -X POST \
18  -d @input.json \
19  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 99.5% runs succeeded
  • 0.0 days response time
  • Created in Mar 2024
  • Modified 5 days ago