Quandl
Package for quandl API access
What it is and what it does
Quandl is a Python client for fetching financial and economic datasets from the Quandl API (now part of Nasdaq Data Link). It simplifies data retrieval by wrapping HTTP requests and returning results directly as pandas DataFrames, supporting both time-series datasets and non-time-series datatables. The package handles API authentication, retry logic, and SSL configuration.
The package depends on pandas, numpy, requests, and several utility libraries. It was last updated in November 2021 and is now archived; Nasdaq has released a newer Nasdaq Data Link Python client as the official successor. The original package remains functional for legacy integrations but receives no new features or maintenance.
Use it for:
- Retrieve historical stock prices or economic indicators into a pandas DataFrame for analysis.
- Automate periodic downloads of financial datasets with built-in retry and backoff logic.
- Query specific rows from Nasdaq datatables using filter parameters like ticker symbols.
- Integrate legacy financial data pipelines that depend on the original Quandl API client.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Quandl provides a Python client for accessing financial and economic data through the Quandl API, returning datasets and datatables as pandas DataFrames.
No, unless you are maintaining legacy code already using this package. The package is abandoned (last commit 2022-04-29) and Nasdaq explicitly recommends migrating to the newer Nasdaq Data Link Python client. For new projects, use the successor package instead. For existing code, evaluate migration feasibility before adding new dependencies on this unmaintained version.
Install
quandl on PyPI
pip
pip install quandluv
uv add quandlpoetry
poetry add quandlInstalling Quandl
Before you install
Low install friction with common dependencies (pandas, numpy, requests). However, the package is abandoned as of 2022-04-29 with no recent maintenance; Nasdaq has moved users to a newer Nasdaq Data Link version. Use only if locked to legacy code.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install quandl
import quandl
quandl.ApiConfig.api_key = 'your_api_key'
data = quandl.get('NSE/OIL')
Requires a valid Quandl API key; the package is no longer maintained and Nasdaq recommends migrating to the newer Nasdaq Data Link Python client.
Verify before relying
- Current status of Quandl API endpoints and whether they remain operational post-Nasdaq transition.
- Compatibility with modern pandas/numpy versions beyond those tested in 2021.
- Whether the newer Nasdaq Data Link client is a drop-in replacement or requires code changes.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>= 3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — pandas, numpy, requests, inflection, python-dateutil, six, more-itertools |
| Maintenance | abandoned — 1,737 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 238,900/month — #8,928 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Quandl-3.7.0-py2.py3-none-any.whl
Keywords: quandl, API, data, financial, economic
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
Nasdaq-Data-LinkProvides Python access to Nasdaq Data Link's…
permissive · top 15,000 on PyPI
yahooqueryRetrieves financial data from Yahoo Finance…
permissive · top 15,000 on PyPI
openbbUnified interface to fetch financial market…
agpl · top 15,000 on PyPI
wbdataWbdata provides a Python interface to query and…
copyleft · top 5,000 on PyPI
fredapifredapi wraps the FRED web service to fetch…
unclear · top 5,000 on PyPI
tradingeconomicsProvides Python access to over 300,000 economic…
permissive · top 15,000 on PyPI
alpha-vantageFetches real-time and historical stock,…
permissive · top 15,000 on PyPI
finance-datareaderFetches historical and current financial…
permissive · top 15,000 on PyPI
pandas-tdPandas-TD connects pandas DataFrames to…
permissive · top 15,000 on PyPI
td-clientPython client library for the Treasure Data…
permissive · top 15,000 on PyPI