Early access is open. Free sample datasets are live now. Download a sample

Compare

Yahoo Finance API Alternative

Yahoo Finance is where a lot of traders pull their first price history, usually through an unofficial library that reads the same data the website shows. It works until it doesn't: an endpoint changes, a request gets blocked, a backtest fails at 2 a.m. People switch when they want a documented API with stated terms, or when they start building something other people will rely on.

Details

At a glance

Yahoo doesn't sell a developer market data API, so there's no published spec, pricing page or rate limit to compare against. The Yahoo column describes how most developers use it today. Our column is planned: we're in early access and only the free sample downloads are live.

Yahoo Finance (unofficial access) marketdata.co (planned, early access)
Official API No public developer API; the old one was shut in 2017, which led other vendors to offer replacements to its users [1] Documented REST and WebSocket API
Asset classes Whatever the website shows US stocks and ETFs, options, forex, crypto, futures, indices, economic data
Delivery Unofficial endpoints read by open-source libraries; can change without notice REST, WebSocket, CSV and Parquet dataset files
Pricing model No developer pricing Free, Starter $29, Pro $79, Business $249 a month; datasets priced per file
Terms for apps Check Yahoo's terms before building on it Personal use on every plan; commercial use from Business
Support when it breaks None Versioned API with a changelog

Source: [1] https://prnewswire.com/news-releases/barchart-provides-free-stock-price-apis-for-impacted-yahoo-finance-api-users-300554150.html

Details

Where they are strong

Yahoo Finance is free, covers a huge range of global tickers, and the website is genuinely useful for a quick look at a chart or a company. Its long daily history for major US stocks is good enough for a lot of personal research, and the open-source libraries around it make a first backtest a five-line job. For learning pandas or checking an idea on a weekend, it's hard to argue with free.

Side by side

Where we differ

A real API with stated rules. Our endpoints, rate limits and error codes are documented, so a change doesn't arrive as a silent break. See rate limits and error codes.

Typed, consistent fields. Every row has a symbol, timestamps are ISO 8601 UTC, and prices are numbers. Raw, split-adjusted and dividend-adjusted prices are separate columns, so you always know which one you're using.

Files you keep. Planned one-off datasets in CSV or Parquet: download once, stop re-scraping. A full-universe US daily file is planned at $149.

Data types Yahoo doesn't expose. Tick trades, options history with Greeks, crypto funding rates and futures continuous contracts are all on our plan list.

Try before any sign-up. Real sample files are on our sample data page.

Watch out

Migration notes

Yahoo publishes no schema we can cite, so take this as a guide to the column names you'll most likely see in a Yahoo CSV export or library output, mapped to our daily bar schema.

Common Yahoo column marketdata.co field Note
Date date YYYY-MM-DD
Open / High / Low / Close open / high / low / close Ours are split-adjusted; raw prices in unadjusted_*
Adj Close adjusted_close Split and dividend adjusted
Volume volume Split-adjusted share volume
ticker you requested symbol Included on every row
none dividend, split_factor The events behind the adjustment, on the day they happen

Example: reading our file the way you read a Yahoo export.

import pandas as pd

df = pd.read_csv("AAPL_daily.csv", parse_dates=["date"]).set_index("date")
returns = df["adjusted_close"].pct_change()
print(returns.tail())

FAQ

Frequently asked questions

Does Yahoo Finance have an official API?

Not for developers. Yahoo shut its public finance API in 2017, and the libraries people use today read unofficial endpoints that can change without notice.

Is marketdata.co free like Yahoo Finance?

We plan a Free plan with about 2 years of daily stock bars, reference data, daily crypto bars and public economic data at a low rate limit. Longer history and intraday data start at $29 a month.

Can I use marketdata.co data in an app?

Personal and internal use is covered on every plan. Showing data to other people in a product needs Business or an Enterprise licence, and the terms are written down before you pay.

Is marketdata.co live?

Not yet. Free sample files work today; the API opens product by product during early access.

Details

Try it

Swap one of your Yahoo pulls for a free sample file and compare the columns.