# Search Hacker News

Provider: Crawl4AI
Final price: $0.00015/success
Success rate: 100%

Stories or comments on Hacker News that match a query, from the public Algolia API: title, link, points, author, comment count, time, and the Hacker News page. `tags` picks story, comment, ask_hn, show_hn or poll; `sort` is relevance or date; `limit` up to 100 in one call. Columns: title, url, hn_url, points, author, comments, created, id, text.

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.hackernews.search.stories' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"rust async"}'
```

[View on Toolswitch](https://toolswitch.dev/en/tools/crawl4ai.hackernews.search.stories)
