Skip to main content
POST
/
api
/
hackernews
/
users
/hackernews/users
curl --request POST \
  --url https://api.anysite.io/api/hackernews/users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "id": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@hackernews_user",
    "created_at": 123,
    "karma": 123,
    "bio": "<string>",
    "submitted_ids": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
id
string
required

Hacker News username (case-sensitive)

Minimum string length: 1
Examples:

"pg"

"dang"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@hackernews_user
created_at
integer | null
karma
integer | null
bio
string | null
submitted_ids
integer[]