# SignalHarness DeFi Price Impact Analyzer

> SignalHarness DeFi Price Impact 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 the price impact of a proposed DeFi trade or transaction based on caller-supplied data and returns a computed price impact estimate with warnings.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/defi_price_impact/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-price-impact-analyzer-8bfd0cf1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IBZMlHrV578f0ZvOZxHGk

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-price-impact-analyzer-8bfd0cf1 -d '<json body>'
```

Example prompt: Can you analyze the price impact of swapping 500,000 USDC for ETH on a Uniswap V3 pool with a current liquidity of $2M — I need to know how much my trade will move the price before I execute it.

## When to prefer this

Choose this endpoint when you need a quick, agent-native DeFi price impact computation for a proposed trade using caller-supplied parameters, especially when you want a structured result with a cryptographic receipt for auditability. Prefer this over manual DEX calculations or generic financial APIs when operating in an autonomous agent context that supports x402 micropayments on Base.

## Known failure modes

- Malformed or too-short price_impact_request string (below 2 characters) returns validation error
- Ambiguous or insufficient trade data in the request may result in low-confidence or incomplete price impact estimates
- Payment failure via x402 protocol results in non-execution
- Network or service unavailability may cause timeout

## 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 computed price_impact value, any warnings flagged during analysis, the evidence_scope indicating the data used was caller-supplied, a status field indicating success, and a full receipt with payment details, request/execution IDs, latency metrics, and a result SHA256 hash for verification.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Calculation is a deterministic model, not an executable quote."
   ],
   "service_id": "defi_price_impact",
   "price_impact": "{\"execution_price\":\"1.974316068794122597\",\"price_impact_percent\":\"1.284196560293\",\"spot_price\":\"2\"}",
   "evidence_scope": "caller_supplied_data"
  },
  "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_price_impact",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "f0255c8b55c4f05e57cdb0b8ff8039b35043bf2d55a7056bfedb46b19b5a79f0",
   "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-price-impact-analyzer-8bfd0cf1/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)
