Hacker News

Get Hacker News user profile

Get a Hacker News user profile by username.

GET/v1/hackernews/users/{username}
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
1
username*stringpath

Hacker News username (case-sensitive).

min 1 chars · max 255 chars · pattern: ^[A-Za-z0-9_-]+$

Response fields
13

Endpoint-specific response payload.

datalookupStatus
string

Whether the user was found or not found.

one of: found, not_found

Profile when lookupStatus is `found`; null when `not_found`.

dataprofileusername
string

Canonical Hacker News username.

min 1 chars

dataprofilecreatedAt
stringnullable

Account creation time as an ISO-8601 timestamp.

dataprofilekarma
integernullable

Public karma score when present.

dataprofileabout
stringnullable

Plain-text about section when present (HTML stripped).

dataprofileprofileUrl
string

Canonical news.ycombinator.com user URL.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metacached
booleanoptional

True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.

Code example

curl "https://api.socialfetch.dev/v1/hackernews/users/tptacek" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Hacker News user profile lookup result.