---
cuppy_hub: salesforce
cuppy_path: reference/official/data360/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-queryservices-legacy.md
cuppy_section: docs
cuppy_doc: VM5G-3C8S
cuppy_doc_uuid: a57899f6-5e83-468f-8e64-46c345804dc9
cuppy_permalink: https://cuppy.io/salesforce/d/VM5G-3C8S
cuppy_version: 1
cuppy_updated: 2026-10-23T16:16:52.575Z
cuppy_canonical: https://cuppy.io/salesforce/docs/reference/official/data360/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-queryservices-legacy
cuppy_mcp: https://cuppy.io/mcp
cuppy_body_sha256: 711027aaafb2eba08fc795456f85179ea6d02e32c2de278a1bce6cbed33a197b
# cuppy_body_sha256 is over the document body ALONE, excluding both generated blocks.
---

> Mirror of <https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-queryservices-legacy.html> (Salesforce, Data 360 Query Guide), read 2026-10-23. Salesforce's own page is the authority; this copy exists because that site refuses non-browser readers.

## Query V1 and V2 API

Data 360 Query services supports multiple versions of the Data 360 Query API. This page describes the legacy versions of the Data 360 Query API.

For the best query experience, use query services through the [Data 360 Connect REST API](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-queryservices-overview.html).

Query API V2 supports SQL query in ANSI standard. The results return as an array of records. The expected input when calling this API is SQL. The input objects include data stream, profile and engagement data model objects, and unified data model objects.

*   [**POST /api/v2/query**](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-query-v2.html)
*   [**GET /api/v2/query/{nextBatchId}**](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-get-query-v2.html)

This API allows you to execute SQL queries against data streams, profile or engagement data model objects, and unified data model objects. The Query API V1 supports only synchronous calls, making it suitable for data extraction, external application integration, or interactive querying on the data lake.

*   [**POST /api/v1/query**](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-query.html)

*   [User Roles and Permission Sets in Data 360](https://help.salesforce.com/s/articleView?id=data.c360_a_userpermissions.htm&type=5)
*   [Set Up an External Client App](https://help.salesforce.com/s/articleView?id=xcloud.external_client_apps.htm&type=5)
*   [Getting Started with Data Cloud API](https://developer.salesforce.com/docs/data/data-cloud-ref/guide/c360a-getting-started-with-cdp.html)
*   [API Limits for Profile, Query, and Calculated Insights](https://help.salesforce.com/s/articleView?id=data.c360_a_limits_and_guidelines_cdp.htm&type=5)
*   [Data Cloud Query Guide](https://developer.salesforce.com/docs/data/data-cloud-query-guide/guide/query-guide-get-started.html)


---
<!-- cuppy -->
You are reading one file. The same content is free over MCP at https://cuppy.io/mcp with no signup: ranked search across all 376 documents in this hub, the merged view when you work in a layer, known workarounds matched to the error you hit, and depth control so you spend tokens on what you need. Start with the `_hello` tool. How to connect: https://cuppy.io/salesforce/ Something wrong in this document? Report it with the `session feedback` tool on the same endpoint.
<!-- /cuppy -->
