# Uniswap V3 Flash-Loan & Leverage Validator (Base)

> Uniswap V3 Flash-Loan & Leverage Validator (Base) is a paid API for AI agents from agentpaystore.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-20).

Validates proposed flash-loan size and leverage parameters against live Uniswap V3 pool state on Base, stress-testing for liquidity-drain and slippage risk.

## Facts

- Endpoint: POST https://agentpaystore.com/diav/api/validate?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uniswap-v3-flash-loan-leverage-validator-base-268e92cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K70zZXysVCMpF_AQYkAiI

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 uniswap-v3-flash-loan-leverage-validator-base-268e92cd -d '<json body>'
```

Example prompt: Before I execute this flash loan, can you check whether borrowing 500,000 USDC with 10x leverage is safe against the current Uniswap V3 USDC/ETH pool on Base — specifically flag any liquidity-drain or slippage risk?

## When to prefer this

Choose this endpoint when an AI agent or trading bot needs to pre-validate a flash loan or leveraged DeFi position on Base against live Uniswap V3 pool conditions before committing to an on-chain transaction. Ideal for agents managing DeFi risk, running arbitrage strategies, or enforcing safety gates prior to large loan executions.

## Known failure modes

- Invalid or missing reply payload returns an error or empty validation
- Stale pool data may cause inaccurate slippage estimates if Uniswap V3 state is not fetched in real time
- Flash-loan size parameters outside supported range may not validate correctly
- Network congestion on Base L2 may delay live pool state retrieval
- Payment failure (x402 USDC) results in rejected request

## How this service works

Validates flash-loan size and leverage against live Uniswap V3 pool state on Base, under liquidity-drain and slippage stress. Machine clients pay $0.05 USDC (x402, Base L2) per validation. Humans: https://agentpaystore.com/diav/

## Output

Returns a validation result indicating whether the proposed flash-loan size and leverage are safe given live Uniswap V3 pool state on Base, including slippage risk estimates and liquidity-drain stress-test outcomes.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uniswap-v3-flash-loan-leverage-validator-base-268e92cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpaystore.com](https://www.zero.xyz/host/agentpaystore.com/llms.txt)
