cURL
curl --request GET \ --url https://api.example.com/api/research/v1/list-hackernews-items
{ "items": [ { "title": "<string>", "id": 123, "url": "<string>", "score": 1, "commentCount": 123, "by": "<string>", "submittedAt": 123 } ], "pagination": { "nextCursor": "<string>", "totalCount": 123 } }
ListHackernewsItems retrieves top stories from Hacker News.
Maximum items per page (1-100).
Cursor for next page.
Feed type: "top", "new", "best", "ask", "show". Defaults to "top".
Successful response
ListHackernewsItemsResponse contains Hacker News items.
Show child attributes
PaginationResponse contains pagination metadata returned alongside list results.
Was this page helpful?