Social

Hacker News Profile

A Hacker News user's karma, creation date, about text and recent submissions.

live hackernews.profile $0.0015 per request ($1.50 per 1,000)

Pricing

$0.0015 per request ($1.50 per 1,000), paid from a prepaid USD wallet. The exact amount is on every response as cost_usd; max_cost_usd refuses anything higher; failed calls are refunded.

1,000 requests = $1.50 · 10,000 = $15.00 · 100,000 = $150.00

Run it

curl -s -X POST https://getallapis.com/v1/run/hackernews.profile \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"pg"}'
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('hackernews.profile', {'username': 'pg'})
print(result['cost_usd'], result['output'])
getallapis run hackernews.profile '{"username":"pg"}'

Quote first, free: POST /v1/quote/hackernews.profile with the same body. MCP: run_endpoint with endpoint="hackernews.profile".

Input

FieldTypeRequiredDefaultNotes
usernamestringyes

Output

Returned in output of the run envelope (ok, request_id, endpoint, status, cost_usd, items, latency_ms, source, output).

FieldMeaning
karmaKarma.
aboutAbout text.
recent_submission_idsLatest item ids.

Source and latency

Hacker News API + HN Search (Algolia) (official api). Official Firebase API and the public HN Search API. One upstream per endpoint; no automatic failover.

Not enough calls measured yet.

Markdown reference · JSON · Playground