# Scrape Top Hacker News AI Stories

**Use case:** 

Aggregate the most viral AI and machine learning articles currently trending on Hacker News. Filter by minimum upvotes to curate a high-signal newsletter or fee

## Input

```json
{
  "mode": "topStories",
  "itemIds": [],
  "usernames": [],
  "startUrls": [],
  "enableCommentHierarchy": false,
  "maxItems": 50,
  "maxComments": 0,
  "maxDepth": 5,
  "minScore": 150,
  "domainAllowlist": [
    "arxiv.org",
    "github.com",
    "huggingface.co"
  ],
  "domainBlocklist": [],
  "excludeDeadOrDeleted": true,
  "commentAuthorFilter": [],
  "minCommentCount": 10
}
```

## Output

```json
{
  "title": {
    "label": "Title"
  },
  "url": {
    "label": "Url"
  },
  "score": {
    "label": "Score"
  },
  "author": {
    "label": "Author"
  },
  "numComments": {
    "label": "Num comments"
  },
  "createdAt": {
    "label": "Created at"
  },
  "domain": {
    "label": "Domain"
  }
}
```

## About this Actor

This example demonstrates how to use [Hacker News Scraper](https://apify.com/crawlerbros/hackernews-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crawlerbros/hackernews-scraper) to learn more, explore other use cases, and run it yourself.