{
  "x402Version": 2,
  "id": 42787,
  "slug": "42787",
  "resource": "https://2s.io/api/news/hn-search",
  "description": "Full-text search across all of Hacker News (via the Algolia HN API). Search stories or comments by keyword, sorted by relevance or by date (newest first). Filter by tags (story/comment/ask_hn/show_hn/poll) and by author. Each hit: title, URL, author, points, comment count, story/comment text, created time, and canonical HN URL. Net-new vs news.hn-top (curated feeds) and news.search (general news).",
  "type": "http",
  "serviceName": "2s",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782067076/bazaar-icons/58f7ba8f2b3b8047.png",
  "resourceType": "News",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 60
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "author": "example",
            "limit": 1,
            "query": "",
            "sort": "relevance",
            "tags": "story"
          },
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "const": "GET"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "author": {
                    "description": "Restrict to one HN author.",
                    "maxLength": 40,
                    "type": "string"
                  },
                  "limit": {
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "query": {
                    "default": "",
                    "description": "Search keywords (may be empty when filtering by tags/author).",
                    "maxLength": 400,
                    "type": "string"
                  },
                  "sort": {
                    "enum": [
                      "relevance",
                      "date"
                    ],
                    "type": "string"
                  },
                  "tags": {
                    "enum": [
                      "story",
                      "comment",
                      "ask_hn",
                      "show_hn",
                      "poll"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "public-records",
    "identifiers",
    "ai-agents",
    "us-gov-data",
    "x402",
    "bazaar"
  ],
  "sourceHost": "2s.io",
  "lastUpdated": "2026-10-08T06:13:14.021Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:13:13.899Z"
  },
  "metadata": {
    "serviceName": "2s",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782067076/bazaar-icons/58f7ba8f2b3b8047.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "author": "example",
              "limit": 1,
              "query": "",
              "sort": "relevance",
              "tags": "story"
            },
            "type": "http"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "method": {
                  "const": "GET"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "author": {
                      "description": "Restrict to one HN author.",
                      "maxLength": 40,
                      "type": "string"
                    },
                    "limit": {
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "query": {
                      "default": "",
                      "description": "Search keywords (may be empty when filtering by tags/author).",
                      "maxLength": 400,
                      "type": "string"
                    },
                    "sort": {
                      "enum": [
                        "relevance",
                        "date"
                      ],
                      "type": "string"
                    },
                    "tags": {
                      "enum": [
                        "story",
                        "comment",
                        "ask_hn",
                        "show_hn",
                        "poll"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http"
                }
              },
              "required": [
                "type",
                "method",
                "queryParams"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "2s.io",
    "manifest_name": "2s.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  }
}