# Spraay Gateway Uniswap V3 Swap Execute

> Spraay Gateway Uniswap V3 Swap Execute is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Executes a token swap on Uniswap V3 for a specified token pair and amount, sending the output to a recipient address.

## Facts

- Endpoint: POST https://gateway.spraay.app/api/v1/swap/execute
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-gateway-uniswap-v3-swap-execute-ff1c7a6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3pR2CIQq82xkbI9mc6Ic-

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 spraay-gateway-uniswap-v3-swap-execute-ff1c7a6e -d '<json body>'
```

Example prompt: Swap 100 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for ETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and send the output to my wallet at 0xAbCd1234...5678.

## When to prefer this

Use this endpoint when you need to programmatically execute a live token swap on Uniswap V3 via the Spraay gateway, particularly when the swap is part of a larger automated DeFi workflow (e.g. payroll, escrow settlement, or portfolio rebalancing) and you need on-chain execution with a specified recipient.

## Known failure modes

- Insufficient liquidity for the token pair on Uniswap V3 — swap reverts
- Invalid or unrecognized token contract addresses — validation error
- Recipient address malformed or missing — request rejected
- amountIn too low to cover gas and fees — transaction fails
- Slippage tolerance exceeded during execution — swap reverts
- Payment of 0.015 USDC per call not fulfilled — 402 Payment Required

## How this service works

Execute swap via Uniswap V3.

## Output

Returns the result of the Uniswap V3 swap execution, including transaction details such as the output token amount received and confirmation that the swap was routed and settled on-chain to the specified recipient address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tokenIn": {
   "type": "string"
  },
  "amountIn": {
   "type": "string"
  },
  "tokenOut": {
   "type": "string"
  },
  "recipient": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-gateway-uniswap-v3-swap-execute-ff1c7a6e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
