API Directory › 💵 Finance & Stocks › Nasdaq Data Link
API KeyHTTPSCORS

Nasdaq Data Link API

Financial, economic and alternative datasets (formerly Quandl) via a unified API.

Auth
API Key
HTTPS
Yes
CORS
Yes
Open Nasdaq Data Link docs ↗

What it does

Nasdaq Data Link (formerly Quandl) is a catalogue of financial, economic and alternative datasets delivered through one consistent API — time-series endpoints for things like commodity prices, treasury rates and central-bank figures, plus table endpoints for larger relational datasets. Output is JSON, CSV or XML.

Base URL

https://data.nasdaq.com/api/v3

Authentication

Create a free account at data.nasdaq.com and copy your API key from Account Settings. Pass it as api_key. Anonymous requests work but are limited to 20/day, so always send the key. Many premium datasets still require a separate subscription even with a key.

Code examples

curl
curl "https://data.nasdaq.com/api/v3/datasets/LBMA/GOLD.json?rows=5&api_key=YOUR_KEY"
Python
import requests

r = requests.get(
    "https://data.nasdaq.com/api/v3/datasets/LBMA/GOLD.json",
    params={"rows": 5, "api_key": "YOUR_KEY"},
    timeout=15,
)
r.raise_for_status()
ds = r.json()["dataset"]
print(ds["column_names"])
for row in ds["data"]:
    print(row)
JavaScript
const url = "https://data.nasdaq.com/api/v3/datasets/LBMA/GOLD.json"
  + "?rows=5&api_key=YOUR_KEY";

const res = await fetch(url);
const { dataset } = await res.json();
console.log(dataset.column_names, dataset.data);

Rate limits & quotas

Free authenticated key: 50 calls per 10 minutes and 5,000 calls/day on free datasets; anonymous requests are capped at 20/day. Premium datasets have their own concurrency and volume limits set by the data publisher. A 429 response includes a Retry-After header.

Key response fields

dataset.column_namesOrdered list of column labels, e.g. [“Date”, “USD (AM)”, …]
dataset.dataArray of rows, newest first; each row aligns to column_names
dataset.start_date / end_dateCoverage range of the series
dataset.frequencydaily, weekly, monthly, quarterly or annual
dataset.newest_available_dateMost recent data point — useful for freshness checks

Common errors

403Dataset requires a premium subscription your account doesn’t have.
404Dataset code doesn’t exist — codes are DATABASE/DATASET, case-sensitive.
429Rate limit hit; honour the Retry-After header.

When to use it (and alternatives)

Use Nasdaq Data Link for macro and commodity time series and for datasets you can’t get elsewhere. For real-time and historical equity prices a dedicated market-data API like Tiingo or Twelve Data is a better fit; for raw US economic series, FRED (St. Louis Fed) is free and keyless-friendly.

FAQ

Is Quandl the same as Nasdaq Data Link?

Yes. Quandl was acquired by Nasdaq and rebranded to Nasdaq Data Link; old quandl.com endpoints redirect, but new code should use data.nasdaq.com/api/v3.

Can I get stock prices for free?

Some end-of-day equity datasets are free, but most detailed price data now sits behind paid subscriptions. For a free stock feed, use Tiingo or Twelve Data’s free tier instead.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

Currency ConverterROI Calculator

Related Finance & Stocks APIs

← Back

More Finance & Stocks APIs · All 196 APIs