# NythosX Price Trigger Webhook

> NythosX Price Trigger Webhook is a paid API for AI agents from market.nythosx.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Arms a single-fire price alert that POSTs a signed JSON event to your webhook when a crypto, stock, or forex asset crosses a specified price threshold

## Facts

- Endpoint: POST https://market.nythosx.com/api/v1/triggers?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nythosx-price-trigger-webhook-7cde8ce5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CQHM5VCfhEHczWqZ6Wj_m

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 nythosx-price-trigger-webhook-7cde8ce5 -d '<json body>'
```

Example prompt: Set a price alert for BTC going below $78,000 and POST to https://myapp.example.com/hooks/price when it triggers — keep it active for 72 hours.

## When to prefer this

Choose this endpoint when you need a programmatic, one-shot price alert delivered to a machine-readable webhook rather than a human notification channel. It is ideal for agentic workflows where a downstream system (trading bot, order executor, event pipeline) needs to react automatically when a price level is crossed. Prefer this over polling-based approaches when you want sub-minute latency without maintaining your own price-feed connection. The HMAC signature makes it safe for security-sensitive downstream processing.

## Known failure modes

- Invalid or unsupported symbol — only BTC, ETH, SOL, BNB, LTC, ADA, XRP, XDC, NVDA, MSFT, AMZN, AAPL, USDPHP are accepted
- webhook_url is not a public HTTPS URI — rejects non-HTTPS or unreachable URLs
- price must be greater than 0 — zero or negative values rejected
- ttl_hours out of range — must be 1–720
- Payment of 0.02 USDC not fulfilled — x402 payment required
- Trigger expires without crossing — fires once only, never re-arms automatically
- Webhook endpoint unreachable at delivery time — trigger may silently fail to deliver

## How this service works

Arm a price trigger with webhook delivery. Arms a single-fire price trigger. NythosX checks the price every minute and POSTs a JSON event to your HTTPS webhook on the first crossing, signed with HMAC-SHA256 (header X-NythosX-Signature: sha256=<hex> over the raw body, key = returned secret). Expires after ttl_hours (default 168, max 720). Check status free at GET /api/v1/triggers/status?id=.

## Output

Returns a JSON object containing a unique trigger ID, the HMAC signing secret (whsec_...) to verify incoming webhook POSTs, the asset's current price, the expiry timestamp, and a status URL for free polling. When the price crosses the threshold, NythosX POSTs a signed JSON event to the provided webhook URL with an X-NythosX-Signature header.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "symbol",
      "direction",
      "price",
      "webhook_url"
     ],
     "properties": {
      "price": {
       "type": "number",
       "exclusiveMinimum": 0
      },
      "symbol": {
       "enum": [
        "BTC",
        "SOL",
        "ETH",
        "BNB",
        "LTC",
        "ADA",
        "XRP",
        "XDC",
        "NVDA",
        "MSFT",
        "AMZN",
        "AAPL",
        "USDPHP"
       ],
       "type": "string"
      },
      "direction": {
       "enum": [
        "above",
        "below"
       ],
       "type": "string"
      },
      "ttl_hours": {
       "type": "integer",
       "default": 168,
       "maximum": 720,
       "minimum": 1
      },
      "webhook_url": {
       "type": "string",
       "format": "uri",
       "description": "Public HTTPS URL"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "trg_3f9a2c...",
  "price": 78000,
  "secret": "whsec_...",
  "symbol": "BTC",
  "current": 81450.2,
  "direction": "below",
  "expires_at": "2026-10-27T08:00:00.000Z",
  "status_url": "https://market.nythosx.com/api/v1/triggers/status?id=trg_3f9a2c..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nythosx-price-trigger-webhook-7cde8ce5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.nythosx.com](https://www.zero.xyz/host/market.nythosx.com/llms.txt)
