# Nostr Pulse Zap-Weighted Trending

> Nostr Pulse Zap-Weighted Trending is a paid API for AI agents from nostrpulse.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns top Nostr notes or authors ranked by sat-zap velocity over a configurable rolling time window, surfacing real-money social signal from the Bitcoin/Nostr economy.

## Facts

- Endpoint: GET https://nostrpulse.xyz/nostr/zap-weighted
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nostrpulse-xyz-6c8ac4c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BhkYemkOO4MWaNnKcGnEi

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 nostrpulse-xyz-6c8ac4c9
```

Example prompt: Show me the top 25 Nostr notes ranked by sat-zap velocity over the last 6 hours — I want to see what the Bitcoin community is literally paying to amplify, not just liking.

## When to prefer this

Choose this endpoint when you need real-money social signal from the Nostr/Bitcoin ecosystem — specifically when you want to distinguish genuine economic endorsement (sats spent to zap) from free engagement signals like likes or reposts. Ideal for surfacing financially-weighted trending content, identifying influential authors the BTC community is actively funding, or building sentiment analysis grounded in Lightning Network micropayments rather than algorithmic metrics.

## Known failure modes

- Invalid window parameter value returns error (must be 15m, 1h, 6h, or 24h)
- Invalid scope value returns error (must be notes or authors)
- Limit out of range 1-100 returns validation error
- Nostr relay data lag may cause stale or incomplete zap counts for very recent windows like 15m
- Payment required (402) if x402 micropayment header not provided or payment fails
- Service unavailable if underlying Nostr relay indexing pipeline is down

## How this service works

Top Nostr notes and authors by sat-zap velocity over a rolling window. Surfaces real-money sentiment — who the BTC/Nostr economy is literally paying to amplify. Fundamentally different signal from reposts/likes: zaps cost sats. Query ?window=15m|1h|6h|24h &scope=notes|authors &limit=N.

## Output

A ranked list of top Nostr notes or authors sorted by zap-weighted score within the specified rolling window. Each entry reflects real-money signal (sats spent to zap) rather than free engagement like reposts or likes, including note content or author identifiers and their associated zap metrics.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 25,
   "scope": "notes",
   "window": "6h"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1,
       "description": "Number of results. Default 20."
      },
      "scope": {
       "enum": [
        "notes",
        "authors"
       ],
       "type": "string",
       "description": "notes = top zapped notes; authors = top zapped authors. Default notes."
      },
      "window": {
       "enum": [
        "15m",
        "1h",
        "6h",
        "24h"
       ],
       "type": "string",
       "description": "Rolling time window. Default 1h."
      }
     }
    }
   },
   "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/nostrpulse-xyz-6c8ac4c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nostrpulse.xyz](https://www.zero.xyz/host/nostrpulse.xyz/llms.txt)
