# Hacker News Profile (`hackernews.profile`)

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

- **Route:** `POST /v1/run/hackernews.profile`
- **Price:** $0.0015 per request ($1.50 per 1,000) · `cost_usd` on every response
- **Source:** Hacker News API + HN Search (Algolia) (`hackernews`) · failover: no
- **Measured latency:** not enough calls measured yet
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `username` | string | yes |  |  |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `karma` | Karma. |
| `about` | About text. |
| `recent_submission_ids` | Latest item ids. |

## Example

```bash
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"}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('hackernews.profile', {'username': 'pg'})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run hackernews.profile '{"username":"pg"}'
```

Quote first (free, validates input): `POST /v1/quote/hackernews.profile` with the same body.
