---
search:
  tags:
    - Market
    - GET
seo:
  description: >-
    Quotes what a deposit into the… Reference for the GET
    /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quote
    endpoint in the INVICTUS API.
sidebar:
  label: What a deposit would do now.
  badge: GET
title: What a deposit would do now.
type: openapi-operation
---
Quotes what a deposit into the pool would do now: the swap it needs, the least of each token it may receive and what it costs. A quote is never signed; confirming an operation quotes again.

`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quote`

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "pays": [
    {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    }
  ],
  "deposit": {
    "base": {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "quote": {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "shape": "string"
  },
  "wrap": true,
  "swap": {
    "from": {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "to": [
      {
        "token": {
          "chain": "base",
          "address": "string",
          "symbol": "string",
          "name": "string",
          "logo": "string",
          "decimals": 0
        },
        "units": "1500000",
        "valueUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        }
      }
    ],
    "priceImpactPercent": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "routes": 1,
    "savedUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "route": {
      "source": "pool",
      "hops": [
        {
          "protocol": "string",
          "variant": "string",
          "from": "string",
          "to": "string",
          "sharePercent": "1234.56"
        }
      ],
      "compared": [
        {
          "source": "pool",
          "receives": "1500000",
          "feePercent": "1234.56"
        }
      ]
    }
  },
  "minimum": {
    "base": "1500000",
    "quote": "1500000"
  },
  "slippagePercent": "1234.56",
  "slippageAuto": true,
  "category": "pegged",
  "bins": 1,
  "fees": {
    "networkUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "transactions": 1,
    "platformFeePercent": "1234.56",
    "platformFeeUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "platformDiscountUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "platformOpenUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "discountEndsAt": 1793145600,
    "takenBy": "swap"
  },
  "warnings": [
    "string"
  ],
  "expiresAt": 1793145600,
  "asOf": 1793145600
}
```
