{"uid":"cap_ihIx7QN-pysUmLQC2ylkf","slug":"hacker-news-user-profile-lookup-0a715167","name":"Hacker News User Profile Lookup","description":"Hacker News user profile: karma, account age, submission count and recent story/comment activity with top story.","url":"https://hacker-news.x402tookit.com/hn-user?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["username"],"properties":{"username":{"type":"string","description":"Case-sensitive HN username, e.g. pg"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"about":{"type":["null","string"]},"karma":{"type":["null","number"]},"source":{"type":["null","string"]},"profile":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"username":{"type":["null","string"]},"createdAt":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"submissions":{"type":["null","number"]},"karmaPerYear":{"type":["null","number"]},"accountAgeDays":{"type":["null","number"]},"recentActivity":{"type":["null","object"],"properties":{"sampled":{"type":["null","number"]},"stories":{"type":["null","number"]},"comments":{"type":["null","number"]},"topStory":{"type":["null","object"],"properties":{"by":{"type":["null","string"]},"id":{"type":["null","number"]},"url":{"type":["null","string"]},"title":{"type":["null","string"]},"domain":{"type":["null","string"]},"points":{"type":["null","number"]},"comments":{"type":["null","number"]},"postedAt":{"type":["null","string"]},"discussion":{"type":["null","string"]}}},"topDomains":{"type":["array","null"],"items":{"type":"object","properties":{"count":{"type":["null","number"]},"domain":{"type":["null","string"]}}}},"storyPoints":{"type":["null","number"]},"lastActiveAt":{"type":["null","string"]},"avgStoryPoints":{"type":["null","number"]}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0e13UzpRv2Co7uV27mrQ0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a Hacker News user's karma, account age, submission count, and recent activity including their top story.","exampleAgentPrompt":"Can you pull up the Hacker News profile for 'pg' — I want to see their karma, how long they've been on the site, total submissions, and what their top story was?","exampleUseCases":[{"title":"Vetting a job candidate's HN presence","prompt":"Can you look up the Hacker News profile for the username 'tptacek'? I want to know their karma, account age, and how active they've been recently before I interview them."},{"title":"Researching a prolific HN contributor","prompt":"Pull up the HN profile for 'dang' — show me their karma, how many years the account has been active, their karma per year, and what their highest-scoring story was."},{"title":"Checking a new HN account's credibility","prompt":"Can you look up the Hacker News user 'throwaway12345' and tell me how old the account is, how much karma they have, and how many submissions they've made? I want to know if they're a legitimate long-time user."}],"resultDescription":"Returns a structured profile for the requested HN user including: karma score, account creation date, account age in days, total submission count, karma per year, a summary of recent activity (story count, comment count, story points, top domains, last active date), details on their top story (title, URL, points, comment count), an 'about' bio if present, and optionally a narrative summary and verdict. May include a degraded flag if data is partial.","failureModes":["Username not found — HN usernames are case-sensitive and must exist","Degraded response if HN API is slow or partially unavailable","Null fields for users with no submissions or very new accounts","Rate limiting or payment failure returning 402"],"whenToPreferThis":"Use this endpoint when you need rich profile metadata for a specific Hacker News user — including karma trajectory, submission history, and top content — rather than just searching HN stories or getting site-wide trends. Ideal for due diligence, community research, or verifying HN identity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:33.549Z","isFirstParty":false,"canonicalSlug":"hacker-news-user-profile-lookup-0a715167"}