# SignalHarness DeFi Liquidity Change Analyzer

> SignalHarness DeFi Liquidity Change Analyzer is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Analyzes a described DeFi liquidity change event or scenario and returns a structured assessment of the liquidity change with warnings.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/defi_liquidity_change/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-defi-liquidity-change-analyzer-d780c27c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PZ9kI_-uYmLCfDmQ6sxJC

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 signalharness-defi-liquidity-change-analyzer-d780c27c -d '<json body>'
```

Example prompt: Analyze this DeFi liquidity change for me: 'A whale removed $4.2M of USDC/ETH liquidity from Uniswap v3 on Base in a single transaction, causing the pool's TVL to drop by 38% in under a minute. Are there any warnings I should know about?'

## When to prefer this

Choose this endpoint when you need a quick, structured AI-driven assessment of a described DeFi liquidity change event on Base or similar EVM chains, especially when you have free-text descriptions of pool events and want warnings or risk flags surfaced automatically. Prefer it over manual on-chain data queries when the liquidity event has already been observed and you need interpretation rather than raw data retrieval.

## Known failure modes

- Input text too short (below 2 characters) or too long (above 65536 characters) returns validation error
- Ambiguous or insufficiently detailed liquidity change description may produce generic or low-confidence output
- Payment failure via x402 protocol results in 402 response and no analysis
- Service downtime returns non-200 status with no result object
- Malformed JSON request body causes request rejection

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing a liquidity_change assessment string, a list of warnings, an evidence_scope indicator (e.g. 'caller_supplied_data'), and a status field. Also includes a full receipt with payment details, execution metadata, request/execution IDs, and a SHA-256 result hash for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "liquidity_change_request": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Calculation excludes protocol-specific rounding and fees."
   ],
   "service_id": "defi_liquidity_change",
   "evidence_scope": "caller_supplied_data",
   "liquidity_change": "{\"lp_change\":\"10\",\"proportional_share\":\"0.1\",\"token0_change\":\"100\",\"token1_change\":\"200\"}"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "defi_liquidity_change",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "b852f337e1132e607a6a680d035dbb63f8e95138e8868bf7c238e507aaff4046",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-defi-liquidity-change-analyzer-d780c27c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
