---
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

---

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