Get a Hacker News comment with its ancestor chain to the root story.
Endpoint
/v1/hackernews/comments/{id}/context
Path
Hacker News comment id.
const response = await fetch( "https://api.socialfetch.dev/v1/hackernews/comments/2921983/context", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);