---
title: "Get market history"
method: GET
path: "/markets/{base}/{quote}/history"
tags: ["Markets"]
---

# Get market history

`GET /markets/{base}/{quote}/history`

## Request

- Base URL: `https://api.due.network/fx`
- URL: `https://api.due.network/fx/markets/{base}/{quote}/history`
- Auth: none declared

Retrieves historical market data for the specified base and quote currencies, with an optional interval.

## Path parameters

- `base` string, required
- `quote` string, required

## Query parameters

- `interval` number

## Response `200`

OK

- FxModelsMarketHistoryDatapoint[]
  - `date` string
  - `rate` number, double

---

[API](https://skmtc.dev/due/apis/fx-api.md) - [All operations](https://skmtc.dev/due/apis/fx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/due/apis/fx-api/revisions/036c3c8c2a3d?raw)
