# Search Hacker News Stories by Keyword: OpenAI & More

**Use case:** 

Search Hacker News for any keyword like OpenAI and get matching stories ranked by relevance, each with points, author, and a direct comment-thread link.

## Input

```json
{
  "query": "openai",
  "tags": "story",
  "sortBy": "relevance",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "points": {
    "label": "Points",
    "format": "number"
  },
  "numComments": {
    "label": "Comments",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "hnUrl": {
    "label": "HN Item",
    "format": "link"
  }
}
```

## About this Actor

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