Hacker News API

Hacker News Profile API

Get a Hacker News user's public profile by username - karma, bio, and account details as clean JSON.

POST/v1/run/hackernews.profile
Uptime
100.00%
30d · 24 calls
Requests
24
30d · weekly, last 12 wks
Response
0.2s
median · 30d

Provider network

Providers ranked by traffic

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "bio": "A short example description of this item.",
    "karma": 42,
    "username": "alex_rivera"
  },
  "found": true
}
Response interface
interface HackernewsProfileResponse {
  data: {
    bio: string;
    karma: number;
    username: string;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/hackernews.profile
curl -X POST https://api.getanyapi.com/v1/run/hackernews.profile \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"pg"}'
FieldTypeExample value
Request body
handlestring"pg"Hacker News username, e.g. "pg".
Response
dataobject
data.biostring
data.karmainteger
data.usernamestringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0015
Price /1k reqUSD$1.50

FAQ

About the Hacker News Profile API

The AnyAPI Hacker News Profile API returns Hacker News profile data as normalized JSON from one POST call to /v1/run/hackernews.profile. Get a Hacker News user's public profile by username - karma, bio, and account details as clean JSON. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Hacker News profile calls through AnyAPI succeeded, with a median response time of 0.2 seconds across 24 measured calls.

It costs from $1.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Get a Hacker News user's public profile by username - karma, bio, and account details as clean JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Hacker News profile calls through AnyAPI succeeded, with a median response time of 0.2 seconds across 24 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.