> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hacker News

> Tech community news aggregator with full-text search powered by Algolia, covering startup launches, programming discussions, and technology trends.

Tech community news aggregator with full-text search powered by Algolia, covering startup launches, programming discussions, and technology trends. Best for monitoring developer sentiment, finding community discussions about specific technologies, and surfacing trending technical topics. Unlike general news search (Brave, Serper), Hacker News is curated by the tech community — results reflect developer interest and technical depth.

2 endpoints available through Lava's AI Gateway.

<Info>This provider is **managed** — no additional setup required.</Info>

## Endpoints

### Get items, users, and feeds from Firebase API

**GET** `https://hacker-news.firebaseio.com/v0/topstories.json` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://hacker-news.firebaseio.com/v0/topstories.json', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fhacker-news.firebaseio.com%2Fv0%2Ftopstories.json" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Search stories and comments via Algolia

**GET** `https://hn.algolia.com/api/v1/search?query=rust+programming` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://hn.algolia.com/api/v1/search?query=rust+programming', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fhn.algolia.com%2Fapi%2Fv1%2Fsearch%3Fquery%3Drust%2Bprogramming" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
