---
title: "GET /hackernews/stories"
method: GET
path: "/hackernews/stories"
tags: ["HackerNews"]
---

# GET /hackernews/stories

`GET /hackernews/stories`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/hackernews/stories`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `type` 'top' | 'new' | 'best' | 'ask' | 'show' | 'jobs'
- `page` integer
- `per_page` integer

## Response `200`

- union
  - object
    - `success` boolean, required
    - `data` string, required
    - `meta` object, required
      - `endpoint_family` string, required
      - `billable` boolean, required
  - string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `422`: Validation error
- `500`: Hacker News returned a response shape this parser does not recognise. The incident has been reported; retrying will return the same result.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/2f4af6143d10?raw)
