# Data retrieval API Call

**URL:** <https://forum.alpaca.markets/t/data-retrieval-api-call/2770>\
**Category:** Alpaca Integration Applications\
**Created:** [September 25, 2020, 8:45am UTC](https://forum.alpaca.markets/t/data-retrieval-api-call/2770 "2020-09-25T08:45:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ATneos](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@ATneos](https://forum.alpaca.markets/u/ATneos)\
**Post date:** [September 25, 2020, 8:45am UTC](https://forum.alpaca.markets/t/data-retrieval-api-call/2770/1 "2020-09-25T08:45:15Z")

</div>

Hi, Could anyone show me a simple historical data retrieval call from Google Sheets using Google script?

I’m simply looking for a function to send daily Date, open, high, low, close to be sent to a google sheet in columns A to E, in rows 1 to xxxx

Something like function(symbol, start, end, frequency), or function (“SPY”,“31/12/2019”,“24/8/2020”,“day”)

Any feedback would be very gratefully received!

Mike

---

<div class="post-metadata">

**Author:** ![Samwise](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/samwise/32/1330_2.png) [@Samwise](https://forum.alpaca.markets/u/Samwise)\
**Post date:** [September 26, 2020, 1:03am UTC](https://forum.alpaca.markets/t/data-retrieval-api-call/2770/2 "2020-09-26T01:03:22Z")

</div>

I am also looking how to do this but to call the intraday price of an equity at a specific date and time
