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

# Token Prices

> Learn how to easily fetch token prices through the SDK.

## Introduction

If you are building any kind of UI application, you most likely want to show the user the USD amount of tokens they are about to bridge. For this the SDK includes a set of function that can provide this data to you.

## Usage

You can fetch a USD prices as follows:

<CodeGroup>
  ```typescript Single token price theme={null}
  // Fetch the price of a single token
  const ethPrice = await sdk.api.usdPrices.getTokenPrice('ETH')
  console.log(ethPrice)
  // => { token: "ETH", price: 4500, timestamp: '<timestamp>'}
  ```

  ```typescript All token prices theme={null}
  // Fetch the prices of all supported tokens
  const allPrices = await sdk.api.usdPrices.getAllPrices()
  console.log(allPrices)
  // => { ETH: { token: "ETH", price: 4500, timestamp: '<timestamp>' }, ... }
  ```
</CodeGroup>

In both cases, the timestamp of a token price will tell you how old this specific price is.
