Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

ClickHouse as a streaming HTTP API

Blog post from ClickHouse

Post Details
Company
Date Published
Author
-
Word Count
6,084
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

ClickHouse 26.8 introduces capabilities for building read-oriented HTTP APIs directly in the database, potentially removing a thin pass-through application layer when no business logic, orchestration, or custom validation is required. Using a UK property-price dataset of more than 30 million transactions, the walkthrough creates a MergeTree table, ingests and transforms CSV data, and configures a restricted API user with JSON output and result limits. Named HTTP handlers can expose predefined GET, POST, PUT, or DELETE endpoints with typed query-string or URL-path parameters, while result-modification settings allow clients to apply controlled filtering, field selection, sorting, ordering, pagination, limits, and output formats without altering the handler query. Tables can also be exposed directly through URL paths when server and user settings permit it. Framing output formats support streaming data alongside progress, totals, logs, and exceptions, including Server-Sent Events with Base64 encoding for arbitrary result payloads. API activity can be inspected through query logs, and access remains governed by the authenticated user’s permissions; SQL SECURITY DEFINER views can safely expose curated or aggregated data without granting access to underlying tables.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 3 No monthly metrics for this publish month.
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.