---
title: "Retrieve an onramp rate"
method: GET
path: "/v2/onramps/rates"
tags: ["Onramp"]
---

# Retrieve an onramp rate

`GET /v2/onramps/rates`

Onramp rates are estimated rates for onramp conversions from different fiat currencies into different cryptocurrencies.

## Query parameters

- `fromCurrency` 'usd' | 'ugx' | 'ngn' | 'bwp' | 'tzs' | 'mwk' | 'xaf' | 'kes', required
- `toCurrency` 'usdc', required

## Response `200`

Success

- FiatToCryptoConversionRateObject
  - `fromCurrency` 'usd' | 'ugx' | 'ngn' | 'bwp' | 'tzs' | 'mwk' | 'xaf' | 'kes' — source currency
  - `toCurrency` 'usdc' — target currency
  - `conversionRate` string
  - `conversionRates` object[]
    - `transferType` string — when `transferType` is `default`, this is the conversion rate for the default transfer type
    - `conversionRate` string

## Other responses

- `401` — Unauthorized
- `404` — Resource not found
- `500` — Internal Server Error

---

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