{"id":24092,"library":"nasdaq-data-link","title":"Nasdaq Data Link Python Client","description":"Official Python client for accessing Nasdaq Data Link (formerly Quandl) API. Version 1.0.4 supports Python >=3.7. Low maintenance cadence.","status":"active","version":"1.0.4","language":"python","source_language":"en","source_url":"https://github.com/Nasdaq/data-link-python","tags":["nasdaq","data-link","quandl","financial-data","api-client"],"install":[{"cmd":"pip install nasdaq-data-link","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Case-sensitive: module name is lowercase.","wrong":"import NasdaqDataLink","symbol":"nasdaqdatalink","correct":"import nasdaqdatalink"},{"note":"ApiConfig class, not a lowercase variable.","wrong":"from nasdaqdatalink import api_config","symbol":"nasdaqdatalink.ApiConfig","correct":"from nasdaqdatalink import ApiConfig"},{"note":"Function is 'get', not 'get_data'.","wrong":"from nasdaqdatalink import get_data","symbol":"nasdaqdatalink.get","correct":"from nasdaqdatalink import get"}],"quickstart":{"code":"import nasdaqdatalink\nfrom nasdaqdatalink import ApiConfig\n\nApiConfig.api_key = os.environ.get('NASDAQ_DATA_LINK_API_KEY', '')\ndata = nasdaqdatalink.get('WIKI/AAPL', start_date='2020-01-01', end_date='2020-12-31')\nprint(data.head())","lang":"python","description":"Fetch stock data using the dataset code 'WIKI/AAPL'. Requires API key set as environment variable."},"warnings":[{"fix":"Use a different dataset code (e.g., 'EOD/AAPL' for end-of-day data).","message":"The 'WIKI' database is deprecated by Nasdaq Data Link. Use premium or other free datasets instead.","severity":"deprecated","affected_versions":"all"},{"fix":"Set ApiConfig.api_key = 'your_key' at the start of your script.","message":"API key must be set via ApiConfig.api_key or environment variable NASDAQ_DATA_LINK_API_KEY. Passing as parameter is not supported.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Ensure you are using Python 3.7 or higher.","message":"The package is not compatible with Python 2 and requires Python >=3.7.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use: from nasdaqdatalink import ApiConfig","cause":"Incorrect casing or wrong module name in import statement.","error":"ImportError: cannot import name 'ApiConfig' from 'nasdaqdatalink'"},{"fix":"Use: nasdaqdatalink.get()","cause":"Using the old function name from Quandl package.","error":"AttributeError: module 'nasdaqdatalink' has no attribute 'get_data'"},{"fix":"Set ApiConfig.api_key = 'your_key' or export environment variable NASDAQ_DATA_LINK_API_KEY.","cause":"API key not set before making a request.","error":"AuthenticationError: You need to provide an API key."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}