# Can I calculate and display live currency value by using exchange price from external rest endpoint?

**URL:** <https://discuss.elastic.co/t/can-i-calculate-and-display-live-currency-value-by-using-exchange-price-from-external-rest-endpoint/161239>\
**Category:** Kibana\
**Created:** [December 18, 2018, 5:25am UTC](https://discuss.elastic.co/t/can-i-calculate-and-display-live-currency-value-by-using-exchange-price-from-external-rest-endpoint/161239 "2018-12-18T05:25:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelcheung](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michaelcheung/32/53285_2.png) [@michaelcheung](https://discuss.elastic.co/u/michaelcheung)\
**Post date:** [December 18, 2018, 5:25am UTC](https://discuss.elastic.co/t/can-i-calculate-and-display-live-currency-value-by-using-exchange-price-from-external-rest-endpoint/161239/1 "2018-12-18T05:25:51Z")

</div>

My data consists of transactions in different countries, stored in different currency. I want my dashboard to display those values using same currency, say USD. So I have to get the live exchange price from outside api, and multiply to all data for visualization. Is it possible? Thanks.

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [December 18, 2018, 12:06pm UTC](https://discuss.elastic.co/t/can-i-calculate-and-display-live-currency-value-by-using-exchange-price-from-external-rest-endpoint/161239/2 "2018-12-18T12:06:55Z")

</div>

Hi @michaelcheung,

The recommended way is to have additional ingest step that will enrich your transaction data with USD field based on the rate at the transaction time/date _before_ it's inserted into Elasticsearch.

Best,  
Oleg

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 15, 2019, 12:07pm UTC](https://discuss.elastic.co/t/can-i-calculate-and-display-live-currency-value-by-using-exchange-price-from-external-rest-endpoint/161239/3 "2019-01-15T12:07:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
