---
title: "Get historical Spot Ratio prices for requested metals"
method: GET
path: "/api/v1/Metals/spot/ratio/history"
tags: ["Metals"]
---

# Get historical Spot Ratio prices for requested metals

`GET /api/v1/Metals/spot/ratio/history`

## Request

- Base URL: `https://api.nfusionsolutions.biz`
- URL: `https://api.nfusionsolutions.biz/api/v1/Metals/spot/ratio/history`
- Auth: API key in query parameter `token`

Historical data for the specified period and interval size

The combination of the interval parameter and start and end dates can result in results
being truncated to conform to result size limits. See comments on interval parameter for details on valid interval values.

## Query parameters

- `pairs` string, required
- `start` string, date-time, required
- `end` string, date-time
- `interval` string
- `format` 'json' | 'xml'

## Response `200`

OK

- IntervalCollectionResponse[]
  - `requestedSymbol` string, nullable
  - `requestedCurrency` string, nullable
  - `requestedUnitOfMeasure` string, nullable
  - `success` boolean
  - `error` string, nullable
  - `data` IntervalCollection
    - `symbol` string, nullable
    - `name` string, nullable
    - `baseCurrency` string, nullable
    - `intervals` Interval[], nullable
      - `start` string, date-time
      - `end` string, date-time
      - `open` number, double, nullable
      - `high` number, double, nullable
      - `low` number, double, nullable
      - `last` number, double, nullable
      - `change` number, double, nullable
      - `changePercent` number, double, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/nfusionsolutions/apis/nfusion-solutions-market-data-api.md) - [All operations](https://skmtc.dev/nfusionsolutions/apis/nfusion-solutions-market-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nfusionsolutions/apis/nfusion-solutions-market-data-api/revisions/e29982cd1e0a?raw)
