Flat files are large, structured data files stored in formats such as CSV, JSON, or Parquet. In the context of crypto, flat files are commonly used to store bulk market data, including trades, quotes, OHLCV candles, and order books - for research, backtesting, and regulatory reporting. Unlike APIs, which deliver data in smaller chunks or real-time streams, flat files give direct access to entire datasets at once.
Trading firms, quant researchers, and analysts need more than live data feeds — they need years of accurate history for backtesting and strategy validation. APIs alone are often too slow or too limited for these large-scale queries. Flat files solve this problem by letting teams download complete datasets in bulk, making large-scale analytics and machine learning pipelines feasible.
CoinAPI’s Flat Files service is designed for teams that need raw historical data at scale: