HackerNews

Fetch HackerNews posts with their comment threads or search the archive for stories and comments.

Available Tools

ToolEndpointCredits
Post/api/v1/tools/hackernews/post1
Search/api/v1/tools/hackernews/search1

Authentication

All tool endpoints use the same Authorization header as the scrape API:

Authorization: Bearer sc_live_your_key_here

Response Format

Every tool returns a consistent envelope with data and meta fields:

{ "data": { ... }, "meta": { "tool": "hackernews-post", "creditsUsed": 1, "requestId": "req_abc123" } }

Credit cost and request ID are also returned in response headers: X-Request-Cost, X-Remaining-Credits, X-Request-Id.