news
Hacker News user profile by username.
Hacker News user profile by username. Returns id, account creation time (unix + ISO), karma, the about/bio text, number of items submitted, and the canonical news.ycombinator.com profile URL. Unknown user returns an empty result.
get/api/news/hn-user
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/news/hn-user
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
usernamestring required
HN username, e.g. pg, dang.
trial1
Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.
Response
(unresolved $ref)
Changes
No recorded changes to this operation across all 1 revision of this API.