---
title: "Changes to getPrice (Permit2)"
method: GET
path: "/swap/permit2/price"
---

# Changes to getPrice (Permit2)

`GET /swap/permit2/price`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 30 revisions.

- **2026-10-19** `239d7463558b`: 2 info
- **2026-10-13** `b25813c761d2`: 2 info
- **2026-09-23** `87646ab7e508`: 1 info
- **2026-05-21** `9d5781bb0695`: 1 breaking
- **2026-05-13** `23db116bcbf5`: 17 breaking, 3 info
- **2026-04-24** `2df8a96131a3`: 1 breaking, 1 info
- **2026-04-08** `3266ce981e2f`: 1 info

## Changes

- **2026-10-19** `239d7463558b`: 2 info
  - added `subschema #1, subschema #2` to the `anyOf[subschema #1]/` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `anyOf[subschema #1]/` response property `anyOf` list for the response status `200`
- **2026-10-13** `b25813c761d2`: 2 info
  - added the new optional `query` request parameter `swapFeePpm`
  - added the new optional `query` request parameter `tradeSurplusMaxPpm`
- **2026-09-23** `87646ab7e508`: 1 info
  - added the required property `anyOf[#/components/schemas/TOKEN_NOT_SUPPORTED]/data/token` to the response with the `400` status
- **2026-05-21** `9d5781bb0695`: 1 breaking
  - removed the required property `anyOf[subschema #1]/anyOf[subschema #2]/fees/gasFee` from the response with the `200` status
- **2026-05-13** `23db116bcbf5`: 17 breaking, 3 info
  - the `anyOf[subschema #1]/` response's property type changed from `object` to no type for status `200`
  - removed the required property `anyOf[subschema #1]/allowanceTarget` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/blockNumber` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/buyAmount` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/buyToken` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/fees` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/gas` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/gasPrice` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/issues` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/liquidityAvailable` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/minBuyAmount` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/route` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/sellAmount` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/sellToken` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/tokenMetadata` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/totalNetworkFee` from the response with the `200` status
  - removed the required property `anyOf[subschema #1]/zid` from the response with the `200` status
  - added the new optional `query` request parameter `buyAmount`
  - the `query` request parameter `sellAmount` became optional
  - added `subschema #1, subschema #2` to the `anyOf[subschema #1]/` response property `anyOf` list for the response status `200`
- **2026-04-24** `2df8a96131a3`: 1 breaking, 1 info
  - for the `query` request parameter `slippageBps`, default value `100` was removed
  - added the new optional `query` request parameter `slippagePpm`
- **2026-04-08** `3266ce981e2f`: 1 info
  - added the new optional `query` request parameter `wrapUnwrapMode`

---

[Operation](https://skmtc.dev/0xproject/apis/0x-api/docs/swap/permit2/price/get.md) - [API](https://skmtc.dev/0xproject/apis/0x-api.md) - [Page](https://skmtc.dev/0xproject/apis/0x-api/changes/swap/permit2/price/get)
