Alpaca
p/alpaca
API for Stock, Options & Crypto Trading
Hiten Shah
Alpaca Data API — Free real-time stock market data API
Featured
53
Alpaca Data API is your new go-to data API for building trading apps & algorithmic trading strategies and is free to use. It provides real-time stock price data with up to 99.95% price accuracy compared to well-known expensive consolidated market data feeds.
Replies
Hiten Shah
A free API for real-time stock market data. Can't wait to see what makers build with this!
Yoshi Yokokawa
@hnshah Thanks for hunting this :) This product is really for the builders who want to get involved in the stock market as a developer without paying!
Yan Cheng
Thank you for providing the API, for free. Do you mind to elaborate more, on how do you able to provide these APIs for free? What's your plan going forward, to make the service sustainable in long run? As, if we were to invest our resource to integrate with your API, we need to ensure such service will be there for a very long time. We really don't mind to pay, if we can generate return from our product, to cover the cost. As far as I know, the current available free APIs, are provided directly from a stock exchange named IEX. But, since their trading volume is way lower than well known NYSE, ... the provided information doesn't paint the market picture accurately. As developer, I can understand why most API providers aren't able to make API free. API providers are required to pay a huge sum of $ to stock exchanges themselves. Thank you very much for your effort.
Yoshi Yokokawa
@yccheok Hi Yan, thanks for your comment! Our business model is this https://alpaca.markets/docs/abou... , and we make revenue as a broker-dealer. We are a registered broker, and more importantly, we are an API company building developer products for the community. It is important for us that we are contributing to the developer community in financial markets through offering easily accessible API products - this is a part of our goal to achieve providing financial market access to the people all over the world 💪 If you don't mind, do you wanna share what kind of services you are planning to build?
Kumar Thangudu
I’m curious to see how many developers on ProductHunt do algo trading or how many of them knew it was easy to start Doing so in minutes....
Yoshi Yokokawa
@datarade great point Kumar! we hope that with this Data API along with the staging environment (paper trading) on Alpaca makes this even easier to build lots of trading bots on US stock trading!
Yoshi Yokokawa
Hey Product Hunt -- I am co-founder/CEO at Alpaca, and excited to have @hnshah hunt this for us! Read on for the details... We have worked to make the Alpaca Data API your go-to data API for building your algorithmic trading strategies or trading/investing applications, and it’s free to use🤩 _____ The Alpaca Data API provides real-time stock price data with up to 99.95% price accuracy* compared to other expensive consolidated market data feeds. Alpaca Data API benefits: --- 🤓 5 Stock Exchanges, up to 99.95% Price Accuracy* 🔌 True Streaming Market Data via Websockets 🧰 Large Historical Data Set 📊 Customizable bar data What can I use this for: --- Alpaca Data API is designed for makers and developers to build trading/investing applications and algorithmic trading strategies. • Several thousands of makers and developers are already active on the Alpaca platform and slack community • Alpaca offers both paper trading and live trading environment (securities are offered by Alpaca Securities LLC) through Alpaca Trading API • Alpaca Data API works extremely seamlessly with the Alpaca Trading API How can I get it: --- Go through the ProductHunt link to sign up for an Alpaca account, so that you can access Alpaca Data API. It is available for all Alpaca users, regardless of having live trading accounts or country of residence!👍 (*as measured using 10-second snapshots of the Alpaca Data API last price vs. the SIP last price)
Will Gendron
@yokokawa244 when will options trading be available?
Yoshi Yokokawa
@william_gendron thanks for your question, it is on the roadmap, but not yet for the year of 2020 unfortunately... you don't trade US stocks but only options?
Will Gendron
@yokokawa244 Thank you for the reply. I invest a portion of my capital in stocks for the long term but my active trading is only in options.
Yoshi Yokokawa
@william_gendron that makes sense, thanks for the feedback! we will keep that in our mind :)
Jeff Withington
@yokokawa244 hey there! I’m someone who is looking to build apps/services. It seems like every potential user I talk to trades options. I’m sure you have good reasons for not prioritizing it, but no options makes it tough to build apps around.
Tristan Sun
When can you launch in the UK?! Can't wait!
Victor G. Björklund
Whats the catch? Sounds too good to be true! :)
Yoshi Yokokawa
@victorbjorklund thank you Victor! the catch is that, we want the developer community in trading to grow through us offering easily accessible API products - this is a part of our goal to achieve providing financial market access to the people all over the world 💪 How are you usually using the data API, algo trading or building apps?
Alex Loukissas
@yokokawa244 does this include mutual fund data?
Yoshi Yokokawa
@aloukissas hi Alex, unfortunately no. This is for the US stocks data only. you don't trade US stocks but only mutual funds?
Anthony Franklin
@aloukissas @yokokawa244 We are working on a product using machine learning to recommend statistically superior MF and ETFs.
Ike Victor
@yokokawa244 This is awesome! would love to stop using polygon's endpoints. have a small request on the request parameter of the "get list of bars" endpoint though. Is it possible to add custom timeframes? Example 10m, 4h, 1W bars?
Yoshi Yokokawa
@naijamoto thanks for the feedback! Pls feel free to reach out to support at alpaca dot markets !
Bilal Cagiran
I think what you guys are doing is great and being able to use these information definitely help us to build amazing apps. Thanks for your efforts and happy to help, not sure if you are open source or not :)
Yoshi Yokokawa
@bilalcagiran Thank you Bilal! Yes we are committed to the OSS here https://github.com/alpacahq/ where the community has been building multi-language SDKs :) Have you been involved in trading??
srinivasan
This is really awesome!! I was looking some thing similar for Indian stock market. Thanks
Yoshi Yokokawa
@srinivasan1 thanks for your comments and support!! I wonder how it is like in the indian stock market!
Fumi
cannot wait for more expansions and growth of this product!!
Yoshi Yokokawa
@fumiaki_nagase Thank you Fumi! You are now doing some algorithmic trading right?! Let's do it!
Elias Lankinen
What it means that it's 99.95% accurate?
Yoshi Yokokawa
@elias_lankinen this is from 5 top US stock exchanges achieving up to 99.95% price accuracy compared to the SIP feed (100% coverage data feed)
Dovetail
Wow. This is awesome!
Yoshi Yokokawa
@lovedovetail Thank you! Are you working on any apps to use the market data ?!
kalyan stock
Cool updates....Looking forward to try
Yoshi Yokokawa
@kalyan_stock Thank you Kalyan! Pls keep us posted how it goes!! Are you planning to build trading algos or apps?
Michael Behrns-Miller
I'm all in - I assume this replaces your previous set of apis you provided from another vendor - that worked well, I'm sure this will be even better. Thanks guys!!
Yoshi Yokokawa
@moodboom thank you Michael! Looking forward to hearing how it goes! How are you using the data API for usually, algo trading or building apps?
AM H
Can I use Polygon data from my Polygon account directly? I’m not a US citizen and can’t access Live. I have been trying to adapt some scripts - momentum - have some of it working by plugging in my Polygon API details. But looks like some of the functions aren’t directly from Polygon library though they are input as such: api.polygon.historic_agg for example. I cannot find this anywhere in the Polygon documentation! :( Looking forward to working with the new data.
Hitoshi Harada
@interzone You can use your Polygon account directly. Alpaca SDK supports your own Polygon API key while using Alpaca API key for trading
AM H
@umitanuki Great! Is there Alpaca-Polygon specific functions native to the Alpaca python module that can still be accessed via using my Polygon API? Such as api.polygon.historical_agg() (from algo_momentum.py) or how to locate the alternative Polygon specific Rest function?
Alexey Kofman
Useful service, it's difficult to find even FX prices in the internet, in contrast to crypto-trading, where every exchange has its own free API. The question: where will you get money from if everything is free? what is business model?
Tibor Kiss
@alexeykofman Fair question! You can find our business model detailed in our about page: https://alpaca.markets/docs/abou...
Alexey Kofman
@tibkiss Can you make API feed with forex prices? Maybe you already have it, but I failed to find instrument list on your web-site...
Tibor Kiss
@alexeykofman we only support us equities at the moment. Our partner, polygon.io provides forex prices though. You'll be provided access to their API if you have a funded account with us.
Amy Tansali
Love it! Great job!
Yoshi Yokokawa
@writejournal Thank you Amy! Have you building trading apps or algorithmic trading strategies?!
Antonio de Jesús Campos Rodríguez
Really nice! Thanks to this real-time streaming of prices provided by Alpaca API, I managed to run my trading bot in paper trading and I'm getting positive profits! Unfortunately, I'm from Mexico and I can't run my bot using live trading, so it's a bit frustrating. I really hope this can change in the near future :(
Yoshi Yokokawa
@new_user_1335a0a18d Definitely, we are making progress in many directions and are definitely working on expanding the coverage of eligible users, thanks for the feedback!
Luigi Pepe
Are you going to make this service available also abroad? I mean not just the paper money, the live trading as well?
Yoshi Yokokawa
@luigi_pepe Definitely :) Pls try to make a live trading account now how it goes!