replynodes-com Hackernews API

The Hackernews API from replynodes-com — 10 operation(s) for hackernews.

Operations 10

GET /v1/hackernews/capabilities List available operations #
GET /v1/hackernews/stories_top Fetch current Hacker News top stories #
GET /v1/hackernews/stories_new Fetch current Hacker News new stories #
GET /v1/hackernews/stories_best Fetch current Hacker News best stories #
GET /v1/hackernews/stories_ask Fetch current Ask HN stories #
GET /v1/hackernews/stories_show Fetch current Show HN stories #
GET /v1/hackernews/stories_job Fetch current Hacker News job postings #
GET /v1/hackernews/item/{id} Fetch a single Hacker News item and its comment tree #
GET /v1/hackernews/user/{handle} Fetch a public Hacker News user profile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/replynodes-com:replynodes-com-hackernews-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

replynodes-com-hackernews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ReplyNodes Fetcher Hackernews API
  version: v1
  description: 'Read-only data APIs for AI agents. Bearer auth. Prepaid credits / free tier.


    Click **Authorize** and paste ONLY the API key (no "Bearer" prefix) — Swagger adds it automatically.'
servers:
- url: https://api.replynodes.com
security:
- bearerAuth: []
tags:
- name: Hackernews
paths:
  /v1/hackernews/capabilities:
    get:
      summary: List available operations
      security: []
      responses:
        '200':
          description: ok
      tags:
      - Hackernews
      operationId: getV1HackernewsCapabilities
      x-operation-id-source: derived
  /v1/hackernews/stories_top:
    get:
      operationId: hackernews_stories_top
      summary: Fetch current Hacker News top stories
      description: Fetch current Hacker News top stories. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 1
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/stories_new:
    get:
      operationId: hackernews_stories_new
      summary: Fetch current Hacker News new stories
      description: Fetch current Hacker News new stories. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 1
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/stories_best:
    get:
      operationId: hackernews_stories_best
      summary: Fetch current Hacker News best stories
      description: Fetch current Hacker News best stories. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 1
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/stories_ask:
    get:
      operationId: hackernews_stories_ask
      summary: Fetch current Ask HN stories
      description: Fetch current Ask HN stories. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 1
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/stories_show:
    get:
      operationId: hackernews_stories_show
      summary: Fetch current Show HN stories
      description: Fetch current Show HN stories. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 1
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/stories_job:
    get:
      operationId: hackernews_stories_job
      summary: Fetch current Hacker News job postings
      description: Fetch current Hacker News job postings. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 1
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/search:
    get:
      operationId: hackernews_search
      summary: Search Hacker News via Algolia
      description: Search Hacker News via Algolia. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: q
        in: query
        required: true
        description: Search query.
        schema:
          type: string
      - name: tags
        in: query
        required: false
        description: Algolia HN Search tag filter (e.g. story, comment, ask_hn).
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Maximum number of results; values outside 1..100 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: page
        in: query
        required: false
        description: Result page.
        schema:
          type: integer
          minimum: 0
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/item/{id}:
    get:
      operationId: hackernews_item
      summary: Fetch a single Hacker News item and its comment tree
      description: Fetch a single Hacker News item and its comment tree. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: id
        in: path
        required: true
        description: Hacker News item id.
        schema:
          type: integer
      - name: depth
        in: query
        required: false
        description: Maximum comment-tree depth to resolve; values outside 1..10 are rejected.
        schema:
          type: integer
          minimum: 1
          maximum: 10
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/hackernews/user/{handle}:
    get:
      operationId: hackernews_user
      summary: Fetch a public Hacker News user profile
      description: Fetch a public Hacker News user profile. Returns the normalized public contract; raw provider records are internal to the runtime boundary and never cross the public gateway.
      tags:
      - Hackernews
      parameters:
      - name: handle
        in: path
        required: true
        description: Hacker News username.
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success response. The data payload retains the provider-specific JSON shape described by this operation.
          headers:
            X-Request-Id:
              description: Correlation identifier echoed as meta.request_id.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppResponse'
        '400':
          description: Normalized error with code invalid_request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Normalized error with code not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Normalized error with code rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          headers:
            Retry-After:
              description: Seconds until the quota window resets.
              schema:
                type: integer
        '502':
          description: Normalized error with code upstream_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Normalized error with code degraded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    AnonymousContinuation:
      type: object
      required:
      - url
      properties:
        url:
          type: string
          format: uri
          const: https://replynodes.com/auth.md
    AppResponse:
      type: object
      properties:
        data:
          description: Provider-specific JSON payload. May be an object or a list; single lookups do not imply a one-element array. For example, hackernews_item returns an object with item and comments.
        meta:
          $ref: '#/components/schemas/GatewayResponseMeta'
      additionalProperties: false
      required:
      - data
      - meta
      description: Shared gateway success envelope for heterogeneous provider reads; data retains each adapter's public JSON shape.
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            retryable:
              type: boolean
            reason:
              type: string
            continuation:
              $ref: '#/components/schemas/AnonymousContinuation'
            status:
              type: integer
            detail:
              type: string
            readme:
              type: string
            next_action:
              $ref: '#/components/schemas/NextAction'
          additionalProperties: false
          required:
          - code
          - message
          - request_id
      additionalProperties: false
      required:
      - error
    NextAction:
      type: object
      description: Typed next step for an agent (ADR 0024). Present only where a next step exists; branch on action, never on message text.
      required:
      - action
      - method
      - url
      - required_fields
      - docs
      properties:
        action:
          type: string
          enum:
          - get_api_key
          - verify_email
          - resend_code
          - renew_key
          - top_up
          - retry_later
          description: Closed set; values may be added, never renamed or removed.
        method:
          type: string
          enum:
          - GET
          - POST
        url:
          type: string
          format: uri
        required_fields:
          type: array
          items:
            type: string
        optional_fields:
          type: array
          items:
            type: string
        human_message:
          type: string
          description: Short sentence the agent can show its human.
        docs:
          type: string
          format: uri
        retry_after_seconds:
          type: integer
          minimum: 1
          description: When the same request may be retried without completing the action.
        auth:
          type: string
          enum:
          - bearer_api_key
          description: Credential the call needs; bearer_api_key means send the same API key as a Bearer token.
      additionalProperties: false
    GatewayResponseMeta:
      type: object
      required:
      - request_id
      properties:
        request_id:
          type: string
        contract_version:
          type: string
        generated_at:
          type: string
          format: date-time
        availability:
          type: string
        detail:
          type: string
        missing_fields:
          type: array
          items:
            type: string
        next_cursor:
          type: string
        stale:
          type: boolean
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: rn_test_<64hex> or rn_live_<64hex>
      description: API key. Paste the raw key only (e.g. rn_test_...) — the "Bearer " prefix is added automatically.