---
title: "Get the price of a cryptocurrency in a fiat currency."
method: GET
path: "/api/v2/market/price/{crypto}/{fiat}"
tags: ["Cryptocurrency Prices"]
---

# Get the price of a cryptocurrency in a fiat currency.

`GET /api/v2/market/price/{crypto}/{fiat}`

## Request

- Base URL: `https://app.chaingateway.io`
- URL: `https://app.chaingateway.io/api/v2/market/price/{crypto}/{fiat}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chaingateway/apis/chaingateway-api-documentation/docs/api/v2/market/price/:crypto/:fiat/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns the current price of a cryptocurrency in a fiat currency.

Allowed fiat currencies are: usd, eur

Allowed cryptocurrencies are: btc, eth, usdt, bnb, sol, usdc, xrp, steth, doge, trx, ton, ada, wsteth, wbtc, avax, shib, weth, link, bch, dot, leo, dai, ltc, uni, near, weeth, kas, matic, icp, xmr, pepe, apt, fet, usde, fdusd, xlm, etc, okb, sui, stx, cro, fil, render, imx, tao, mnt, aave, hbar, arb, vet, atom, op, wbt, mkr, inj, wif, weth, bgb, ar, reth, grt, rune, hnt, meth, floki, bonk, theta, solvbtc, ftm, algo, gt, kcs, jup, pyth, pyusd, ezeth, bsv, tia, qnt, ldo, jasmy, sei, weth, ondo, flow, ftn, eeth, om, core, not, btt, usdd, klay, egld, eos, flr, brett, gala, axs, strk, btc, eth, usdt, bnb, sol, usdc, xrp, steth, doge, trx, ton, ada, wsteth, wbtc, avax, shib, weth, link, bch, dot, leo, dai, ltc, uni, near, weeth, kas, matic, icp, xmr, pepe, apt, fet, usde, fdusd, xlm, etc, okb, sui, stx, cro, fil, render, imx, tao, mnt, aave, hbar, arb, vet, atom, op, wbt, mkr, inj, wif, weth, bgb, ar, reth, grt, rune, hnt, meth, floki, bonk, theta, solvbtc, ftm, algo, gt, kcs, jup, pyth, pyusd, ezeth, bsv, tia, qnt, ldo, sei, jasmy, weth, ondo, flow, ftn, eeth, om, core, not, btt, usdd, klay, egld, eos, flr, brett, gala, axs, strk

## Headers

- `X-Network` 'testnet' | 'mainnet'
- `Authorization` string, required
- `Content-Type` 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

## Response `200`

- object
  - `status` integer
  - `ok` boolean
  - `message` string
  - `data` object
    - `price` string

---

[API](https://skmtc.dev/chaingateway/apis/chaingateway-api-documentation.md) - [All operations](https://skmtc.dev/chaingateway/apis/chaingateway-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/chaingateway/apis/chaingateway-api-documentation/revisions/ddb709b4ade7?raw)
