Ingest APIs

Tinybird provides the following APIs for ingesting data:

  • The Data Sources API lets you create and manage Data Sources, as well as import data from files (CSV, NDJSON, Parquet). You can use it to create new Data Sources from files, append data to existing Data Sources, or replace data selectively. The Data Sources API supports both local and remote files, with automatic schema inference for CSV files.

  • The Events API provides high-throughput streaming ingestion through a simple HTTP API. It's designed for sending JSON events individually or in batches using NDJSON format. The Events API is optimized for real-time data ingestion, supporting compression and write acknowledgements when needed.

Both APIs require authentication using tokens with appropriate scopes. For detailed information about each API's capabilities and usage, see: