# Oracles

## Introduction

The protocol uses Price Oracles in order to gather price data for the protocol. The [Comptroller](/ursa/documentation/contracts/comptroller.md) ingests price data from the PriceOracleProxy contract and uses it as a source of truth for all prices. Prices are updated by verified, secure price feeds.

## PriceOracleProxyBERA

### getUnderlyingPrice

Returns the price of the underlying asset for a given lToken via the respective aggregator contract.

## Redstone Oracles

Ursa uses RedStone Oracles as the primary solution for crypto assets pricing. [RedStone](https://redstone.finance/) is a Modular Oracle that delivers frequently updated, reliable, and diverse data feeds in a few models.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ursa.finance/ursa/documentation/contracts/oracles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
