# DeFi Signal API

> DeFi Signal API is a paid API for AI agents from wazir-x402.duckdns.org, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Returns live DeFi edge scores and strategy signals from on-chain scanners across Base, Arbitrum, Optimism, and Solana

## Facts

- Endpoint: GET https://wazir-x402.duckdns.org/api/edge
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-signal-api-0cda0c7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gM5oZjaoMzLsr9Ogv2JEx

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 defi-signal-api-0cda0c7d
```

Example prompt: Pull the latest DeFi edge scores from live scanners on Base and Arbitrum — I want to see which strategies have the best expected vs actual profit right now.

## When to prefer this

Choose this endpoint when you need real-time, bot-grade DeFi signals with quantified edge scores across Base, Arbitrum, Optimism, and Solana in a single call. Prefer it over generic on-chain data APIs when you specifically need strategy-level expected vs actual profit judgments rather than raw price or liquidity data.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Invalid or missing query properties — may return empty or malformed response
- Scanner data unavailable for a specific chain — partial results or missing chain data
- Rate limiting or overload on the duckdns host — connection timeouts
- Network-specific RPC outage causing stale or missing signals

## How this service works

Unieke bot-data van live DeFi-scanners op Base, Arb, OP en Solana

## Output

A JSON object containing edge scores for DeFi strategies across supported chains (Base, Arbitrum, Optimism, Solana), including strategy judgments with expected versus actual profit comparisons derived from live on-chain scanner data.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Edge scores — strategie-oordelen met verwachte vs werkelijke winst"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-signal-api-0cda0c7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wazir-x402.duckdns.org](https://www.zero.xyz/host/wazir-x402.duckdns.org/llms.txt)
