{
  "x402Version": 2,
  "id": 57494,
  "slug": "57494",
  "resource": "https://api.weblens.dev/discussions",
  "description": "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.",
  "type": "http",
  "serviceName": "WebLens",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5f71Ce4135004b5fa4dF81014721598E1C7c5AF8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "34sd6wPrmoR9UG9rUgYAFtcWYSVzqDNsvH9VkCkycUeb",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "limit": 10,
            "query": "cloudflare workers"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "discussedAt": "2026-08-02T12:00:00.000Z",
            "query": "cloudflare workers",
            "requestId": "req_disc123",
            "sort": "relevance",
            "source": "hackernews",
            "stories": [
              {
                "author": "jgrahamc",
                "comments": 133,
                "discussionUrl": "https://news.ycombinator.com/item?id=32979198",
                "points": 689,
                "postedAt": "2022-09-27T14:00:00.000Z",
                "title": "Workerd: Open-source Cloudflare Workers runtime",
                "url": "https://github.com/cloudflare/workerd"
              }
            ],
            "summary": {
              "commentsReturned": 2870,
              "firstSeen": "2018-03-12T00:00:00.000Z",
              "lastSeen": "2026-07-30T00:00:00.000Z",
              "pointsReturned": 3421,
              "returned": 10,
              "topDomains": [
                {
                  "count": 3,
                  "domain": "github.com"
                }
              ],
              "totalMatches": 1259
            }
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "search",
    "social",
    "bazaar"
  ],
  "sourceHost": "api.weblens.dev",
  "lastUpdated": "2026-10-13T18:09:03.956Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T18:09:03.726Z"
  },
  "metadata": {
    "serviceName": "WebLens",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "limit": 10,
              "query": "cloudflare workers"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "discussedAt": "2026-08-02T12:00:00.000Z",
              "query": "cloudflare workers",
              "requestId": "req_disc123",
              "sort": "relevance",
              "source": "hackernews",
              "stories": [
                {
                  "author": "jgrahamc",
                  "comments": 133,
                  "discussionUrl": "https://news.ycombinator.com/item?id=32979198",
                  "points": 689,
                  "postedAt": "2022-09-27T14:00:00.000Z",
                  "title": "Workerd: Open-source Cloudflare Workers runtime",
                  "url": "https://github.com/cloudflare/workerd"
                }
              ],
              "summary": {
                "commentsReturned": 2870,
                "firstSeen": "2018-03-12T00:00:00.000Z",
                "lastSeen": "2026-07-30T00:00:00.000Z",
                "pointsReturned": 3421,
                "returned": 10,
                "topDomains": [
                  {
                    "count": 3,
                    "domain": "github.com"
                  }
                ],
                "totalMatches": 1259
              }
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.weblens.dev",
    "manifest_name": "api.weblens.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "discussedAt": "string",
      "query": "string",
      "requestId": "string",
      "sort": "string",
      "source": "hackernews",
      "stories": [
        {
          "author": "string",
          "comments": 0,
          "discussionUrl": "string",
          "points": 0,
          "postedAt": "string",
          "title": "string",
          "url": "string"
        }
      ],
      "summary": {
        "commentsReturned": 0,
        "firstSeen": "string",
        "lastSeen": "string",
        "pointsReturned": 0,
        "returned": 0,
        "topDomains": [
          "value"
        ],
        "totalMatches": 0
      }
    },
    "type": "string"
  }
}