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

# Cryptocurrency Prices

> Get current cryptocurrency prices

Get current cryptocurrency prices in various fiat currencies.

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="data.BTC" type="object">
  Bitcoin prices in different currencies
</ResponseField>

<ResponseField name="data.ETH" type="object">
  Ethereum prices in different currencies
</ResponseField>

<ResponseField name="data.LTC" type="object">
  Litecoin prices in different currencies
</ResponseField>

<ResponseField name="data.SOL" type="object">
  Solana prices in different currencies
</ResponseField>

## Example Request

```bash theme={null}
curl -X GET https://api.transaction.gg/prices
```

## Example Response

```json theme={null}
{
  "success": true,
  "data": {
    "BTC": {
      "USD": 45000.00,
      "EUR": 40000.00
    },
    "ETH": {
      "USD": 3000.00,
      "EUR": 2700.00
    },
    "LTC": {
      "USD": 100.00,
      "EUR": 90.00
    },
    "SOL": {
      "USD": 50.00,
      "EUR": 45.00
    }
  }
}
```

## Usage Example

```javascript theme={null}
// Get current Bitcoin price in USD
async function getBitcoinPrice() {
  const response = await fetch('https://api.transaction.gg/prices');
  const data = await response.json();
  
  if (data.success) {
    return data.data.BTC.USD;
  }
  
  throw new Error('Failed to fetch prices');
}
```
