# GET /price
**Fetch cryptocurrency price**

Returns the current price of 1 unit of the specified cryptocurrency in a given fiat currency. All supported fiat currencies are listed [here](https://www.blockonomics.co/api/currencies).

## Query Parameters
- `crypto` — string, enum("BTC", "USDT", "BCH", "ETH", "SOL", "XRP", "MATIC", "LTC"), default: "BTC" (optional): Cryptocurrency code for which the price is returned per 1 unit.
- `currency` — string, enum("USD", "EUR", "JPY", "KRW", "GBP", "AUD", "CAD", "CHF", "CNY", "INR", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CLP", "COP", "CRC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ETB", "EUR", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VES", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWL"), default: "USD" (required): Fiat currency code to return the price in.

## Responses
- 200: Current price of 1 unit of the specified cryptocurrency in the specified fiat currency.
  - `price` (number): Current price of the cryptocurrency in the specified fiat currency.
- 400: Missing required parameter
  - `status` (integer): HTTP status code
  - `error` (object)
- 404: No price data available for the specified currency/crypto pair
  - `status` (integer): HTTP status code
  - `error` (object)
- 422: Unsupported fiat currency or crypto code provided
  - `status` (integer): HTTP status code
  - `error` (object)

Full reference: https://developers.blockonomics.co/docs/merchants/get_price