> For the complete documentation index, see [llms.txt](https://docs.bitsafe.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bitsafe.finance/product-suite/cbtc/operational-guides/integrating-btc-usd-price-feed-for-cbtc.md).

# Integrating BTC-USD Price Feed for CBTC

This guide explains how to integrate the BTC-USD price feed for CBTC applications on the Canton Network.

## Overview

Accurate and reliable price data is essential for DeFi applications using CBTC. This guide covers how to access and integrate the BTC-USD price feed within your Canton applications.

CBTC also has a Chainlink Proof of Reserve (CL PoR) feed for on-chain reserve verification: <https://data.chain.link/streams/cbtc-por-nav-datalink>

## Price Feed Architecture

The BTC-USD price feed for CBTC is designed to provide real-time, tamper-resistant pricing data that can be consumed by smart contracts and applications on the Canton Network.

## Integration Steps

### Step 1: Access the Price Feed

Connect to the price feed endpoint to receive real-time BTC-USD pricing data.

### Step 2: Validate the Data

Always validate the freshness and integrity of price data before using it in critical operations.

### Step 3: Implement in Your Application

Use the price feed data in your Canton application for operations such as collateral valuation, liquidation thresholds, and trading.

## Best Practices

* Always check the timestamp of price data to ensure freshness
* Implement fallback mechanisms in case of feed disruptions
* Use multiple price sources for critical operations


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bitsafe.finance/product-suite/cbtc/operational-guides/integrating-btc-usd-price-feed-for-cbtc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
