---
title: "Relative price change over a window (single pool)."
method: GET
path: "/v1/dextrades/{token}/change"
tags: ["DexTrades"]
---

# Relative price change over a window (single pool).

`GET /v1/dextrades/{token}/change`

## Path parameters

- `token` string, required

## Query parameters

- `resolution` integer, required — Candle length in seconds
- `from` integer, required — Unix timestamp in seconds
- `to` integer, required — Unix timestamp in seconds
- `pool` string — Pool contract address; omitted — the primary pool is resolved by the backend

## Response `200`

relative price change over the window

- ApiDexPriceChange
  - `change` number, double, nullable — Relative change over the window (0.05 = +5%)

## Other responses

- `default` — Some error during request processing

## Changes

- **2026-08-07** `fd1067547679` — 1 info
  - added the new optional `query` request parameter `pool`
- **2026-07-13** `ac11d92adb34` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/swap/apis/swap-coffee-api/changes/v1/dextrades/:token/change/get.md)

---

[API](https://skmtc.dev/swap/apis/swap-coffee-api.md) · [All operations](https://skmtc.dev/swap/apis/swap-coffee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swap/swap-coffee-api/revisions/88f42fef59b7/schema)
