---
title: Learn to use APIs for your workloads
description: Choose the API and tools that fit your workload. Learn how to authenticate, write, and query using Telegraf, client libraries, and HTTP clients.
url: https://docs.influxdata.com/influxdb3/clustered/guides/api-compatibility/
estimated_tokens: 361
product: InfluxDB Clustered
version: clustered
---

# Learn to use APIs for your workloads

Choose the InfluxDB Clustered API and tools that best fit your workload:

### [InfluxDB v2 API compatibility](/influxdb3/clustered/guides/api-compatibility/v2/)

Use the InfluxDB v2 API for new write workloads and existing v2 write workloads. InfluxDB Clustered is compatible with the InfluxDB v2 API `/api/v2/write` endpoint and existing InfluxDB 2.x tools and code.

### [InfluxDB v1 API compatibility](/influxdb3/clustered/guides/api-compatibility/v1/)

Use InfluxDB v1 API authentication, endpoints, and tools when bringing existing 1.x workloads to InfluxDB Clustered.

#### Related

-   [Query data with SQL](/influxdb3/clustered/query-data/sql/)
-   [Query data with InfluxQL](/influxdb3/clustered/query-data/influxql/)
-   [Write data to InfluxDB Clustered](/influxdb3/clustered/write-data/)
-   [Configure Telegraf for InfluxDB](/influxdb3/clustered/write-data/use-telegraf/configure/)
-   [InfluxDB API client libraries](/influxdb3/clustered/reference/client-libraries/)

[api](/influxdb3/clustered/tags/api/)
