{
  "x402Version": 2,
  "id": 57584,
  "slug": "57584",
  "resource": "https://api.sitecheck-api.workers.dev/api/hn",
  "description": "Hacker News stories or comments from the Algolia search API: keyword search (q) or the current front page (mode=front), optionally since a date. Stories give title, URL, HN link, points, comments, author and time. Comments give their text (400 characters, HTML stripped) and the story title. Up to 50 results. Public data, no key.",
  "type": "http",
  "serviceName": "SiteCheck",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J8vnmBx4pS1X7UUBTfz1yWBKiw69Dj2yRGRHDaXBRdhR",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xa4751fCAa83c9669cfe507bb6807507729839be3",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "limit": "5",
            "q": "x402",
            "type": "story"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "checkedAt": "2026-10-13T18:40:00.000Z",
            "query": {
              "mode": null,
              "q": "x402",
              "since": null,
              "type": "story"
            },
            "results": [
              {
                "author": "example",
                "comments": 58,
                "createdAt": "2026-09-30T14:12:03Z",
                "hnUrl": "https://news.ycombinator.com/item?id=50001234",
                "points": 142,
                "title": "Show HN: Pay-per-call APIs for AI agents with x402",
                "url": "https://example.com/x402-agents"
              }
            ],
            "returned": 1,
            "source": "Hacker News via the Algolia HN Search API (https://hn.algolia.com/api). Posts belong to their authors; attribution: Hacker News (https://news.ycombinator.com)",
            "total": 120
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "limit": {
                    "description": "Max results, 1-50, default 20",
                    "type": "string"
                  },
                  "mode": {
                    "description": "front: the current front page (stories only)",
                    "type": "string"
                  },
                  "q": {
                    "description": "Keywords",
                    "type": "string"
                  },
                  "since": {
                    "description": "YYYY-MM-DD: only items from this day on",
                    "type": "string"
                  },
                  "type": {
                    "description": "story (default) or comment",
                    "type": "string"
                  }
                },
                "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"
      }
    }
  },
  "tags": [
    "hacker news",
    "news",
    "tech trends",
    "social signals",
    "research",
    "bazaar"
  ],
  "sourceHost": "api.sitecheck-api.workers.dev",
  "lastUpdated": "2026-10-13T20:39:12.729Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T20:39:12.617Z"
  },
  "metadata": {
    "serviceName": "SiteCheck",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "limit": "5",
              "q": "x402",
              "type": "story"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "checkedAt": "2026-10-13T18:40:00.000Z",
              "query": {
                "mode": null,
                "q": "x402",
                "since": null,
                "type": "story"
              },
              "results": [
                {
                  "author": "example",
                  "comments": 58,
                  "createdAt": "2026-09-30T14:12:03Z",
                  "hnUrl": "https://news.ycombinator.com/item?id=50001234",
                  "points": 142,
                  "title": "Show HN: Pay-per-call APIs for AI agents with x402",
                  "url": "https://example.com/x402-agents"
                }
              ],
              "returned": 1,
              "source": "Hacker News via the Algolia HN Search API (https://hn.algolia.com/api). Posts belong to their authors; attribution: Hacker News (https://news.ycombinator.com)",
              "total": 120
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "limit": {
                      "description": "Max results, 1-50, default 20",
                      "type": "string"
                    },
                    "mode": {
                      "description": "front: the current front page (stories only)",
                      "type": "string"
                    },
                    "q": {
                      "description": "Keywords",
                      "type": "string"
                    },
                    "since": {
                      "description": "YYYY-MM-DD: only items from this day on",
                      "type": "string"
                    },
                    "type": {
                      "description": "story (default) or comment",
                      "type": "string"
                    }
                  },
                  "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.sitecheck-api.workers.dev",
    "manifest_name": "api.sitecheck-api.workers.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": {},
    "type": "string"
  }
}