# How to get history of confidence interval (for backtest)

**URL:** <https://dev-forum.pyth.network/t/how-to-get-history-of-confidence-interval-for-backtest/301>\
**Category:** Benchmarks(Historic Prices)\
**Created:** [July 16, 2025, 5:07pm UTC](https://dev-forum.pyth.network/t/how-to-get-history-of-confidence-interval-for-backtest/301 "2025-07-16T17:07:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flttt](https://avatars.discourse-cdn.com/v4/letter/f/c57346/32.png) [@Flttt](https://dev-forum.pyth.network/u/Flttt)\
**Post date:** [July 16, 2025, 5:07pm UTC](https://dev-forum.pyth.network/t/how-to-get-history-of-confidence-interval-for-backtest/301/1 "2025-07-16T17:07:57Z")

</div>

Hi devs !

I’m trying to run a backtest on the confidence interval for a handfull of feeds.  
This is a key input for a protocol we are testing.

Is there a way to download a batch of historical data with the confidence interval ?  
In the API, in only found endpoints to get one datapoint at a time, which is inefficient and cumbersome, or for price only feed. ([Benchmarks - Swagger UI](https://benchmarks.pyth.network/docs#/TradingView/tradingview_history_route_v1_shims_tradingview_history_get))

Do you have any pointer or suggestion ?

Thank you for any help!

---

<div class="post-metadata">

**Author:** ![0xcredence](https://yyz2.discourse-cdn.com/flex034/user_avatar/dev-forum.pyth.network/0xcredence/32/26_2.png) [@0xcredence](https://dev-forum.pyth.network/u/0xcredence)\
**Post date:** [July 17, 2025, 11:29am UTC](https://dev-forum.pyth.network/t/how-to-get-history-of-confidence-interval-for-backtest/301/2 "2025-07-17T11:29:43Z")

</div>

gm, thank you for the question!

Can you dm me on telegram please? @mariopyth

We can discuss your data needs in more details.
