# Nacian AI DeFi Alert

> Nacian AI DeFi Alert is a paid API for AI agents from api.nacian.app, paid per call via x402, $0.010926/call, status unknown (last checked 2026-10-12).

Creates time-bounded AI-powered monitoring alerts for DEX and lending protocol metrics across Ethereum, Base, and Arbitrum, triggering a webhook when conditions are met.

## Facts

- Endpoint: POST https://api.nacian.app/alert?utm_source=zero.xyz
- Price: $0.010926/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nacian-ai-defi-alert-a071f235
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MS72vMTsYJh-_PJibhoFT

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 nacian-ai-defi-alert-a071f235 -d '<json body>'
```

Example prompt: Set up a DeFi alert using Nacian to watch the Uniswap V3 ETH/USDC pool on Ethereum and notify my webhook at https://myserver.com/hook if the pool's 24h volume drops below $1M — check every 60 seconds, run for 1440 minutes max, and use the gemini-3-flash model.

## When to prefer this

Choose this endpoint when you need to set up an ongoing, time-bounded automated watch on DeFi protocol metrics (DEX liquidity, lending rates, TVL, volume) and receive a push notification via webhook when conditions are met — rather than performing a one-shot query. Use the sibling analyst endpoint for immediate on-demand data retrieval without alerting.

## Known failure modes

- Invalid webhook URL (not HTTPS) — error event returned
- maxMinutes out of range (below 5 or above 10080) — validation error
- frequencySeconds out of range (below 30 or above 86400) — validation error
- Unsupported protocol or chain combination — AI may fail to create alert or return error content
- Payment not included or insufficient — 402 response before stream begins
- maxOutputTokens below 1500 or above 5000 — validation error
- Webhook endpoint unreachable when condition triggers — silent delivery failure

## How this service works

Nacian AI DeFi Alert — create time-bounded monitoring alerts for DEX and lending protocol metrics. Supported protocols by chain: Ethereum: Uniswap V2, Uniswap V3, Uniswap V4, Sushiswap V2/V3, Pancakeswap V2/V3, Aave V2, Aave V3, Compound V3; Base: Uniswap V3, Sushiswap V2/V3, Pancakeswap V2/V3, Aerodrome V3, Aave V3; Arbitrum: Uniswap V3, Sushiswap V2/V3, Camelot V3, Aave V3, Compound V3.

## Output

A server-sent event stream: first tool-status events showing alert creation progress, then an alert-created event with the alert's UUID, name, expiry timestamp, and 'active' status, followed by a content event with a natural-language summary; errors return a JSON error message event.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "deepseek3.2",
    "minimax-2.5",
    "gemini-3-flash"
   ],
   "type": "string",
   "description": "Model to use for inference."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   },
   "description": "Conversation history in OpenAI message format."
  },
  "maxMinutes": {
   "type": "integer",
   "maximum": 10080,
   "minimum": 5,
   "description": "Alert lifetime in minutes. The alert expires after this duration."
  },
  "webhookUrl": {
   "type": "string",
   "description": "HTTPS URL to POST when the alert condition is triggered."
  },
  "maxOutputTokens": {
   "type": "integer",
   "maximum": 5000,
   "minimum": 1500,
   "description": "Maximum output tokens (controls price and response length)."
  },
  "frequencySeconds": {
   "type": "integer",
   "maximum": 86400,
   "minimum": 30,
   "description": "How often to check the condition, in seconds."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": "Server-sent event stream. Each line is a JSON object: {\"type\":\"tool-status\",\"tool\":\"createAlert\",\"status\":\"running\",\"display\":\"Creating alert...\"} | {\"type\":\"alert-created\",\"alert\":{\"id\":\"uuid\",\"name\":\"...\",\"expires_at\":\"...\",\"status\":\"active\"}} | {\"type\":\"content\",\"text\":\"...\"} | {\"type\":\"error\",\"message\":\"...\"}"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nacian-ai-defi-alert-a071f235/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.nacian.app](https://www.zero.xyz/host/api.nacian.app/llms.txt)
