Api Endpoint

WebLens

What Hacker News said about a topic: matching stories with points, comment counts and links to the threads, plus aggregates — total matches, points and comments returned, the domains most often submitted, and the first/last time it was discussed.

Open interactive test console

Offering

Provider
api.weblens.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Social Intelligence
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.weblens.dev/discussions
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
Search, Social

Payment pricing

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

Payment option 1
0.004 USDC
Atomic price: 4000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.004 USDC
Atomic price: 4000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "4000",
    "payTo": "0x5f71Ce4135004b5fa4dF81014721598E1C7c5AF8"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "4000",
    "payTo": "34sd6wPrmoR9UG9rUgYAFtcWYSVzqDNsvH9VkCkycUeb"
  }
]

Observed health

Status
Healthy
Latest latency
197 ms
Average latency
451 ms
HTTP status
204
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

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "limit": {
          "default": 10,
          "description": "Stories to return (1-50, default 10)",
          "example": 10,
          "maximum": 50,
          "minimum": 1,
          "type": "number"
        },
        "query": {
          "description": "What to search Hacker News for",
          "example": "cloudflare workers",
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        "sort": {
          "default": "relevance",
          "description": "Rank by relevance (default) or newest first",
          "enum": [
            "relevance",
            "recent"
          ],
          "type": "string"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "limit": {
              "default": 10,
              "description": "Stories to return (1-50, default 10)",
              "example": 10,
              "maximum": 50,
              "minimum": 1,
              "type": "number"
            },
            "query": {
              "description": "What to search Hacker News for",
              "example": "cloudflare workers",
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            },
            "sort": {
              "default": "relevance",
              "description": "Rank by relevance (default) or newest first",
              "enum": [
                "relevance",
                "recent"
              ],
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "discussedAt": {
              "type": "string"
            },
            "query": {
              "type": "string"
            },
            "requestId": {
              "type": "string"
            },
            "sort": {
              "type": "string"
            },
            "source": {
              "enum": [
                "hackernews"
              ],
              "type": "string"
            },
            "stories": {
              "description": "Each: title, url, points, comments, author, postedAt, discussionUrl",
              "items": {
                "properties": {
                  "author": {
                    "type": "string"
                  },
                  "comments": {
                    "type": "integer"
                  },
                  "discussionUrl": {
                    "description": "Link to the HN thread",
                    "type": "string"
                  },
                  "points": {
                    "type": "integer"
                  },
                  "postedAt": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "summary": {
              "description": "totalMatches, returned, pointsReturned, commentsReturned, topDomains, firstSeen, lastSeen",
              "properties": {
                "commentsReturned": {
                  "description": "Summed over the RETURNED stories only",
                  "type": "integer"
                },
                "firstSeen": {
                  "type": "string"
                },
                "lastSeen": {
                  "type": "string"
                },
                "pointsReturned": {
                  "description": "Summed over the RETURNED stories only",
                  "type": "integer"
                },
                "returned": {
                  "type": "integer"
                },
                "topDomains": {
                  "description": "Most-submitted domains among the returned stories",
                  "type": "array"
                },
                "totalMatches": {
                  "description": "Stories HN matched overall, which may exceed those returned",
                  "type": "integer"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}