Api Endpoint

Hacker News Comments & Threads

Hacker News Comments & Threads: one Hacker News story or comment by id or news.ycombinator.com URL with its direct replies (up to 8 per call, next_cursor for more), deleted and dead replies skipped. Per item the text as plain text, author, score, reply count, parent and time in the shared social schema. 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/thread
MIME type
application/json
First seen
2026-10-25T21:34:56.095Z
Last seen
Tags
hacker-news, comments, Threads, discussion, tech-news

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
148 ms
Average latency
434 ms
HTTP status
402
Last checked
Reachability
92.9% over 14 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": {
        "id": {
          "type": "string",
          "minLength": 1,
          "pattern": "^([0-9]+|.*=[0-9%].*)$",
          "description": "The story or comment: a Hacker News item id (a positive whole number) or a news.ycombinator.com/item?id= URL.",
          "maxLength": 200
        },
        "limit": {
          "type": "string",
          "pattern": "^0*([1-9]|1[0-9]|[2-4][0-9]{1}|50)$",
          "description": "Direct replies wanted, 1-50 (default 10); one call returns at most 8, next_cursor pages through the rest."
        },
        "cursor": {
          "type": "string",
          "minLength": 1,
          "description": "next_cursor of the previous page (a reply offset).",
          "maxLength": 6
        }
      },
      "required": [
        "id"
      ]
    }
  },
  "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 reply offset).",
              "maxLength": 6,
              "type": "string"
            },
            "id": {
              "description": "The story or comment: a Hacker News item id (a positive whole number) or a news.ycombinator.com/item?id= URL.",
              "maxLength": 200,
              "type": "string"
            },
            "limit": {
              "description": "Direct replies wanted, 1-50 (default 10); one call returns at most 8, next_cursor pages through the rest.",
              "pattern": "^[0-9]{1,4}$",
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "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"
}