# Getting real time data for 1 ticker

**URL:** <https://forum.alpaca.markets/t/getting-real-time-data-for-1-ticker/1154>\
**Category:** Alpaca Market Data\
**Created:** [April 12, 2020, 3:34am UTC](https://forum.alpaca.markets/t/getting-real-time-data-for-1-ticker/1154 "2020-04-12T03:34:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnycodekiller](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@johnnycodekiller](https://forum.alpaca.markets/u/johnnycodekiller)\
**Post date:** [April 12, 2020, 3:34am UTC](https://forum.alpaca.markets/t/getting-real-time-data-for-1-ticker/1154/1 "2020-04-12T03:34:57Z")

</div>

Hello!

I am trying to get the price of a stock in real time with the alpaca api. The only stocks i can find real time data for are the ones in my portfolio. Im looking to query any stock and get the price. How do you guys do this?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![joefrank](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@joefrank](https://forum.alpaca.markets/u/joefrank)\
**Post date:** [April 13, 2020, 4:50am UTC](https://forum.alpaca.markets/t/getting-real-time-data-for-1-ticker/1154/2 "2020-04-13T04:50:15Z")

</div>

Bump on this question. In the C# SDK, I previously was calling GetLastTradeAsync on the RestClient. But now that has been changed to the AlpacaTradingClient, the method is no longer there. The AlpacaDataClient only has bar date to the minute and I don’t have a full count (yet) to access Polygon data. Any route I am missing to get a realtime quote (as the OP asked)?

---

<div class="post-metadata">

**Author:** ![hitoshi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/hitoshi/32/69_2.png) [@hitoshi](https://forum.alpaca.markets/u/hitoshi)\
**Post date:** [April 13, 2020, 2:13pm UTC](https://forum.alpaca.markets/t/getting-real-time-data-for-1-ticker/1154/3 "2020-04-13T14:13:51Z")

</div>

If you are talking about C# SDK, I still see GetLastTradeAsync here [https://github.com/alpacahq/alpaca-trade-api-csharp/blob/develop/Alpaca.Markets/PolygonDataClient.cs#L189](https://github.com/alpacahq/alpaca-trade-api-csharp/blob/develop/Alpaca.Markets/PolygonDataClient.cs#L189) or am I missing something?

---

<div class="post-metadata">

**Author:** ![joefrank](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@joefrank](https://forum.alpaca.markets/u/joefrank)\
**Post date:** [April 13, 2020, 6:15pm UTC](https://forum.alpaca.markets/t/getting-real-time-data-for-1-ticker/1154/4 "2020-04-13T18:15:48Z")

</div>

Thanks for the response @hitoshi, but that is for the Polygon wrapper, which I don’t have access to given I don’t have a full account (yet). The early version (wrapping v1) had access to a method with that same name; the new wrapper (around V2) does not. I assume that is because the method got dropped from V2.

Is there a REST endpoint that provides that function that I’m missing (and / or maybe the C# SDK is missing)? The OP probably is just looking for just the raw endpoint.
