--- id: json-querying-api title: JSON querying API sidebar_label: JSON querying --- This document describes the API endpoints to submit JSON-based [native queries](../querying/querying.md) to Apache Druid. ## Queries `POST /druid/v2/` The endpoint for submitting queries. Accepts an option `?pretty` that pretty prints the results. `POST /druid/v2/candidates/` Returns segment information lists including server locations for the given query.