# AnyAPI Hacker News Story Comments

> AnyAPI Hacker News Story Comments 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-15).

Fetches all comments for a specific Hacker News story by story ID

## Facts

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

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-story-comments-bfc660d2 -d '<json body>'
```

Example prompt: Pull all the comments from this Hacker News story — item ID 39700700 — so I can see what the community is saying about it.

## When to prefer this

Use this endpoint when you need to programmatically access Hacker News comment threads without managing scraping infrastructure, handling rate limits, or maintaining a Hacker News API integration yourself. Ideal for pay-per-use scenarios where you don't want a monthly subscription.

## Known failure modes

- Story ID not found or invalid — returns error or empty result
- Story has no comments yet — returns empty comments array
- Hacker News rate limiting or downtime — returns timeout or scrape failure
- Invalid request format — returns 4xx error
- Payment failure via x402 — request not processed

## 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 comment thread for the specified Hacker News story, including comment text, author usernames, timestamps, and nested reply structure.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-hacker-news-story-comments-bfc660d2/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)
