---
title: "GET /rates"
method: GET
path: "/rates"
tags: ["Rates"]
---

# GET /rates

`GET /rates`

## Query parameters

- `period` '1d' | '7d' | '30d' | '90d' | '180d' | '1y' | 'total'
- `averageBy` '1d' | '7d' | '30d' | '90d' | '180d' | '1y' | 'total'
- `address` string

## Response `200`

Success

- MarketRatesResponse[]
  - `ratesSnapshots` RatesSnapshotResponse[], required
    - `timestamp` number, double, required
    - `borrowingRateShort` string, required
    - `borrowingRateLong` string, required
    - `fundingRateShort` string, required
    - `fundingRateLong` string, required
    - `netRateShort` string, required
    - `netRateLong` string, required
  - `marketAddress` string, required

## Other responses

- `400` — Invalid period or averageBy
- `500` — Internal Server Error

---

[API](https://skmtc.net/gmx/apis/gmx-io-gmx-public-api.md) · [All operations](https://skmtc.net/gmx/apis/gmx-io-gmx-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gmx/gmx-io-gmx-public-api/revisions/b3be06047493/schema)
