# AgentServices HN Sentiment

> AgentServices HN Sentiment is a paid API for AI agents from agentservices.to, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns sentiment analysis for a given query topic as discussed on Hacker News

## Facts

- Endpoint: GET https://agentservices.to/v1/hn-sentiment
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-hn-sentiment-c1d158cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wBOH6Asi7yEvSArCJcsiO

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 agentservices-hn-sentiment-c1d158cd
```

Example prompt: What's the Hacker News community sentiment around 'WebAssembly' right now — are developers generally positive or negative about it?

## When to prefer this

Choose this endpoint when you need sentiment specifically from the Hacker News / developer and tech enthusiast community, rather than general social media or Twitter sentiment. Ideal for evaluating how technical audiences perceive a technology, framework, startup, or product — especially useful for B2D (business-to-developer) products, open source projects, or technology decisions where HN community opinion is a leading signal.

## Known failure modes

- Empty or very niche query returns insufficient HN data for reliable sentiment
- Query too broad returns noisy or ambiguous sentiment signal
- Rate limiting or payment failure returns 402 if micropayment is not processed
- Malformed query parameter returns 400 bad request
- Topic with no recent HN coverage may return low-confidence results

## How this service works

Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.

## Output

Returns sentiment analysis derived from Hacker News discussions matching the query, likely including an overall sentiment classification (positive, negative, neutral) and possibly a score or signal strength based on community posts and comments about the topic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-hn-sentiment-c1d158cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentservices.to](https://www.zero.xyz/host/agentservices.to/llms.txt)
