Api Endpoint

Hacker News Search & Stories

Hacker News Search & Stories: full-text search of Hacker News stories or comments (HN Search by Algolia). Per hit the title, text, author, points, comment count, linked URL, time and item URL in the shared social schema; next_cursor gives the next page. Tech news, launches and developer discussion for market and competitor research. Bad input is free; not found or no match is not charged.

Open interactive test console

Offering

Provider
social.duoleads.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://social.duoleads.com/v1/hackernews/search
MIME type
application/json
First seen
2026-10-25T21:34:56.095Z
Last seen
Tags
hacker-news, hackernews, tech-news, comments, Search

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39"
  }
]

Observed health

Status
Healthy
Latest latency
156 ms
Average latency
275 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "minLength": 1,
          "description": "Search text (1-200 characters).",
          "maxLength": 200
        },
        "limit": {
          "type": "string",
          "pattern": "^0*([1-9]|1[0-9]|20)$",
          "description": "Results per page, 1-20. Default 20."
        },
        "type": {
          "type": "string",
          "description": "story or comment. Default story.",
          "enum": [
            "story",
            "comment"
          ]
        },
        "cursor": {
          "type": "string",
          "minLength": 1,
          "description": "next_cursor of the previous page (a page number).",
          "maxLength": 6
        }
      },
      "required": [
        "q"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "cursor": {
              "description": "next_cursor of the previous page (a page number).",
              "maxLength": 6,
              "type": "string"
            },
            "limit": {
              "description": "Results per page, 1-20. Default 20.",
              "pattern": "^[0-9]{1,4}$",
              "type": "string"
            },
            "q": {
              "description": "Search text (1-200 characters).",
              "maxLength": 200,
              "type": "string"
            },
            "type": {
              "description": "story or comment. Default story.",
              "enum": [
                "story",
                "comment"
              ],
              "type": "string"
            }
          },
          "required": [
            "q"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}