{"uid":"cap_EblU6wqj8eT5zV1lJBkX_","slug":"hackernews-x402-vercel-app-84fdd7e6","name":"Hacker News User Profile Lookup","description":"Hacker News user profile. Returns karma score, account age, about text, and number of submissions.","url":"https://hackernews-x402.vercel.app/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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["username"],"properties":{"username":{"type":"string","description":"Hacker News username (required)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"id":{"type":"string"},"karma":{"type":"number"},"submitted_count":{"type":"number"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"username":"dang"}}},"response":{"id":"dang","about":"&quot; Conflict is essential to human life, whether between different aspects of oneself, between oneself and the environment, between different individuals or between different groups. It follows that the aim of healthy living is not the direct elimination of conflict, which is possible only by forcible suppression of one or other of its antagonistic components, but the toleration of it—the capacity to bear the tensions of doubt and of unsatisfied need and the willingness to hold judgement in s","karma":39779,"created":"2007-08-18T16:35:47.000Z","submitted_count":83207}},"exampleRequest":{"username":"dang"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_89Xm9aguCR5pT1NM5gYjd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a Hacker News user's karma score, account creation date, about text, and total submission count for a given username.","exampleAgentPrompt":"Can you look up the Hacker News profile for username 'tptacek' — I want to know their karma score, how long they've been on HN, and how many things they've submitted?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the user's HN username (id), karma score (integer), account creation timestamp (ISO 8601), about/bio text, and total number of submissions.","failureModes":["Username not found — returns error if the Hacker News username does not exist","Missing required 'username' query parameter — returns a 400-style error","Network or upstream Hacker News API unavailability — may return 5xx or timeout","Payment failure — x402 payment of $0.002 USDC not processed, returns 402"],"whenToPreferThis":"Use this endpoint when you need structured profile data for a specific Hacker News user — karma, tenure, bio, and submission count — as a single low-cost lookup. Prefer this over scraping HN directly or using the Firebase HN API when you want a simple, paid, structured JSON response without managing API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:27:16.375Z","isFirstParty":false}