{"uid":"cap_wWafuR15MpbhooqVxXkRP","slug":"2s-io-hacker-news-user-profile-lookup-87cbe8dc","name":"2s.io Hacker News User Profile Lookup","description":"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.","url":"https://2s.io/api/news/hn-user","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["username"],"properties":{"username":{"type":"string","maxLength":40,"minLength":1,"description":"HN username, e.g. pg, dang."}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X588BfKmdmh94oC4YXpcc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns profile metadata for a Hacker News user by username, including karma, account age, bio, and submission count.","exampleAgentPrompt":"Can you pull up the Hacker News profile for the user 'dang' — I want to know their karma, when they joined, their bio, and how many submissions they've made?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the HN user's ID, account creation time in both Unix epoch and ISO format, karma score, about/bio text, number of items submitted, and a canonical link to their news.ycombinator.com profile page. If the username does not exist, returns an empty result.","failureModes":["Unknown or nonexistent username returns an empty result rather than an error","Username too short (< 1 char) or too long (> 40 chars) will fail schema validation","Payment failure (x402) if insufficient USDC balance","Rate limiting or service unavailability returning a non-200 response"],"whenToPreferThis":"Use this endpoint when you need structured, ground-truth metadata about a specific Hacker News user by their username — especially karma, account age, or bio text. Prefer this over scraping news.ycombinator.com directly, as it returns clean structured JSON with parsed timestamps. Best when building tools that enrich HN data, verify account legitimacy, or analyze community members.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:48:43.367Z","isFirstParty":false}