TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Are there free APIs for Financial trading?

15 pointsby mister_hnover 4 years ago
I'm looking for free APIs for Financial Trading or simply to track Markets (currency exchange, ETFs, Funds, Gold value). Is it something publicly available or are they all bounded to a price?

10 comments

larrykubinover 4 years ago
Alpaca API lets you trade stocks with a commission free API. They have a REST API and you can also receive data over websockets via their polygon.io integration if you have a brokerage account.<p>Tradier lets you trade stocks and options. Tradier option trading is commission free if you have a subscription, otherwise there is a small commission per trade. They have an API for market data over REST API and websockets.<p>TD Ameritrade has an API and tda-api python package makes it easier to use, but not easy to paper trade with it for testing.<p>You can also use an unofficial Robinhood package like robin_stocks, but Robinhood doesn&#x27;t officially support any of this.<p>Interactive Brokers supports the most instruments, including many currencies, futures, etc, but you will pay a small monthly fee for historical and real time data, plus commissions. I recommend the ib_insync package to make their API easier to use.<p>Self promo: I have a YouTube channel that is focused on this topic:<p><a href="https:&#x2F;&#x2F;youtube.com&#x2F;c&#x2F;parttimelarry" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;c&#x2F;parttimelarry</a>
评论 #25655455 未加载
keyleover 4 years ago
There are plenty of free data feeds, basically any exchange with a free account will offer you a lot of data for free, near real time. Some via REST calls, some via websocket. Some might also offer some daily numbers or hourly numbers going back a few months&#x2F;years. A lot of that said data will be market-maker data, meaning it may diverge in time from the real exchange information.<p>I&#x27;m no expert but if you want REALLY up to date information with many ticks per second, you&#x27;ll have to pay.<p>As for <i>trading</i>, you&#x27;re either paying fees or paying by the <i>spread</i> (difference) between buy&#x2F;sell.<p>There is no free lunch.
nkamoah17over 4 years ago
AlphaVantage has a free tier but there&#x27;s a limit on request per min. <a href="https:&#x2F;&#x2F;www.alphavantage.co&#x2F;documentation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.alphavantage.co&#x2F;documentation&#x2F;</a>
qppoover 4 years ago
Think or Swim from TD Ameritrade is effectively free (you need an account with money in it, but you aren&#x27;t charged to access it or the API). When&#x2F;if you want to make trades you can as well.
traumivatorover 4 years ago
I can recommend <a href="https:&#x2F;&#x2F;twelvedata.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;twelvedata.com&#x2F;</a>
homeroover 4 years ago
IEX had a lot of free stuff but I think costs got to them and they charge a little now, you might also be able to use Alpaca
ArtWombover 4 years ago
<a href="https:&#x2F;&#x2F;alpaca.markets&#x2F;data" rel="nofollow">https:&#x2F;&#x2F;alpaca.markets&#x2F;data</a>
leet_thowover 4 years ago
To get high quality, up to date data, expect to pay. I just moved from Quandl to Tiingo for EOD stock data.
colesantiagoover 4 years ago
not to hijack the thread, but does anyone know or recommend an economic calendar REST API feed?
评论 #25655452 未加载
baccreditedover 4 years ago
tradier.com API is free if you keep an account there. I do this and it is handy for many things.