---
title: "Convert Crypto to Fiat (or vice versa)"
method: GET
path: "/api/v1/public/convert"
tags: ["Market Data"]
---

# Convert Crypto to Fiat (or vice versa)

`GET /api/v1/public/convert`

## Request

- Base URL: `https://coincryptorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://coincryptorank.com/api/v1/public/convert`
- Auth: none declared

Converts an amount from one asset to another. Supports crypto→fiat, crypto→crypto, and fiat→crypto conversions using real-time VWAP prices. Example: /convert?amount=1&from=BTC&to=USD returns current BTC/USD price.

## Query parameters

- `amount` number
- `from` string
- `to` string

## Response `200`

Conversion result with rate and calculated amount

---

[API](https://skmtc.dev/coincryptorank/apis/coincryptorank-api.md) · [All operations](https://skmtc.dev/coincryptorank/apis/coincryptorank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/coincryptorank/apis/coincryptorank-api/revisions/680bde53146b?raw)
