# AnyAPI Hacker News Profile Scraper

> AnyAPI Hacker News Profile Scraper is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.00325/call, status unknown (last checked 2026-09-14).

Fetches and returns public profile data for a given Hacker News user

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/hackernews.profile
- Price: $0.00325/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-hacker-news-profile-scraper-adad719a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oXpna5HBTByJDTEUNu9in

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-hacker-news-profile-scraper-adad719a -d '<json body>'
```

Example prompt: Pull the public Hacker News profile for the user 'pg' — I want their karma, bio, when they joined, and submission count.

## When to prefer this

Use this endpoint when you need to programmatically retrieve public Hacker News user profile data without managing browser automation or scraping infrastructure yourself, and want pay-per-use pricing with no subscription commitment. Prefer it over building a custom scraper when you need occasional or sporadic lookups of HN user data.

## Known failure modes

- Username does not exist on Hacker News — returns error or empty result
- Hacker News site is temporarily down or rate-limiting — request fails or times out
- Malformed username input — API returns validation error
- Hacker News changes its HTML structure, breaking the scraper — stale or incomplete data returned
- Insufficient USDC balance — payment fails and request is rejected

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

A JSON object containing the scraped public profile data for the specified Hacker News user, including fields such as username, karma score, about/bio text, account creation date, and submission/comment counts.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-hacker-news-profile-scraper-adad719a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
