# SwapHunt Crypto News Sentiment Scorer

> SwapHunt Crypto News Sentiment Scorer is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns recent crypto news headlines each scored 1-10 for trading impact with a bullish/bearish/neutral sentiment tag, filterable by category, minimum score, and lookback window.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/sentiment/news
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-crypto-news-sentiment-scorer-c80292e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KL7oMuRXKi7TriHVLgNsQ

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 swaphunt-crypto-news-sentiment-scorer-c80292e6
```

Example prompt: Show me the top 5 crypto news headlines from the last 12 hours that have a trading impact score of at least 7, only bullish or bearish ones — I want to know what's most likely moving the market right now.

## When to prefer this

Use this endpoint when you need individual, scored crypto news headlines to identify specific market-moving stories. Prefer this over /sentiment/summary when you want granular article-level data rather than an aggregate sentiment read. Best suited for surfacing actionable trading signals from recent news.

## Known failure modes

- No articles found matching the specified filters — try lowering min_score or increasing hours
- Invalid category string returns empty results or error
- hours or limit parameters out of expected range may return default values or errors
- Payment of $0.005 USDC required per call — unpaid requests return 402

## How this service works

Recent crypto news headlines each scored 1-10 for trading impact by an LLM (qwen3:8b), with a bullish/bearish/neutral tag. Filter by category, minimum score and lookback hours. Use to surface market-moving stories; for the aggregate read use /sentiment/summary.

## Output

A list of recent crypto news articles, each with a headline, a trading impact score from 1 to 10, a bullish/bearish/neutral sentiment tag, a category, and a timestamp. Supports filtering by lookback window, category, and minimum score threshold.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hours": {
       "type": "integer",
       "default": 24,
       "description": "Lookback window (hours)"
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "description": "Max articles"
      },
      "category": {
       "type": "string",
       "description": "News category filter"
      },
      "min_score": {
       "type": "integer",
       "description": "Minimum impact score (1-10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swaphunt-crypto-news-sentiment-scorer-c80292e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
