> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.finrock.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /prices — Real-Time Cryptocurrency Price Lookup

> Get the real-time spot price of a cryptocurrency expressed in a fiat currency such as USD, EUR, GBP, or AED. No authentication is required.

Use this endpoint to fetch a real-time spot price for any supported cryptocurrency expressed in your chosen fiat currency. This is particularly useful when displaying fiat-equivalent values in your application, pre-filling invoice amounts, or calculating fee estimates in local currency. No authentication is required, so you can call this endpoint directly from lightweight or public-facing services.

## Request

**Method:** `GET`
**URL:** `https://api.finrock.io/prices`

<ParamField query="fiat" type="string" default="usd">
  The fiat currency in which to express the asset price. Common values include `usd`, `eur`, `gbp`, `aed`.
</ParamField>

<ParamField query="crypto" type="string" default="btc">
  The cryptocurrency ticker whose price you want. Examples: `btc`, `eth`, `usdc`, `usdt`.
</ParamField>

## Example Requests

<CodeGroup>
  ```bash BTC Price in USD theme={null}
  curl --request GET \
       --url 'https://api.finrock.io/prices?fiat=usd&crypto=btc' \
       --header 'accept: application/json'
  ```

  ```bash ETH Price in GBP theme={null}
  curl --request GET \
       --url 'https://api.finrock.io/prices?fiat=gbp&crypto=eth' \
       --header 'accept: application/json'
  ```

  ```bash USDT Price in AED theme={null}
  curl --request GET \
       --url 'https://api.finrock.io/prices?fiat=aed&crypto=usdt' \
       --header 'accept: application/json'
  ```
</CodeGroup>

## Response

A `200` response returns the current spot price of the requested cryptocurrency in the specified fiat currency. A `400` response indicates an unsupported fiat or crypto ticker.

<ResponseField name="200" type="object">
  Contains the spot price of the requested cryptocurrency in the specified fiat currency.
</ResponseField>

<ResponseField name="400" type="object">
  Returned when an unsupported fiat currency or cryptocurrency ticker is provided.
</ResponseField>

<Note>
  Prices are provided for informational and estimation purposes. Finrock sources real-time market data, but rates may differ slightly from exchange execution prices due to market movement and latency.
</Note>
