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

Docs

marketdata.co API Docs and Guides

Start with Getting Started for keys and your first request, then use the reference pages for each endpoint and file schema.

Getting started

  • Getting Started with the marketdata.co API
    Market data API quickstart: get a key, make your first request for stock bars in curl or Python, and read the JSON or CSV response.
  • API Keys and Authentication
    How your market data API key works: send it as a Bearer header or query parameter, keep it out of code, rotate it and fix 401 errors.
  • Rate Limits and Plan Quotas
    API rate limits for market data on each marketdata.co plan, the headers that report them, and how to back off after a 429 response.
  • Error Codes and Retries
    Every API error code the marketdata.co API returns, what causes it, which ones are safe to retry and a retry pattern you can copy.
  • API Changelog
    The marketdata.co changelog: every change to the API, symbol formats, datasets and free sample files, newest first, with dates.

Guides

SDKs and tools

  • Python Quickstart with pandas
    Stock data in Python with the marketdata.co API: fetch bars with requests, load them into pandas, page through history and resample.
  • JavaScript and Node.js Quickstart
    Use the stock API from JavaScript: fetch bars and snapshots in Node.js with fetch, page through history and stream trades over WebSocket.
  • Market Data in Excel and Google Sheets
    Get stock data in Google Sheets and Excel with one URL: IMPORTDATA, Power Query and CSV downloads, with refresh tips and key safety.

API reference