---
title: InfluxDB 3 API client libraries
description: InfluxDB 3 client libraries use InfluxDB HTTP APIs to write data and use Flight clients to execute SQL and InfluxQL queries. View the list of available client libraries.
url: https://docs.influxdata.com/influxdb3/cloud-serverless/reference/client-libraries/v3/
estimated_tokens: 1332
product: InfluxDB Cloud Serverless
version: cloud-serverless
---

# InfluxDB 3 API client libraries

## Client libraries for InfluxDB 3

InfluxDB 3 client libraries are language-specific packages that work with and integrate with your application to write to and query data in InfluxDB Cloud Serverless. InfluxData and the user community maintain client libraries for developers who want to take advantage of:

-   Idioms for InfluxDB requests, responses, and errors.
-   Common patterns in a familiar programming language.
-   Faster development and less boilerplate code.

InfluxDB client libraries provide configurable batch writing of data to InfluxDB HTTP APIs. They can be used to construct line protocol data and transform data from other formats to line protocol.

InfluxDB 3 client libraries can query InfluxDB 3 using InfluxDB 3’s IOx-specific Arrow Flight protocol with gRPC. Client libraries use Flight clients to execute SQL and InfluxQL queries, request database information, and retrieve data stored in InfluxDB Cloud Serverless.

Additional features may vary among client libraries.

For specifics about a client library, see the library’s GitHub repository. InfluxDB 3 client libraries are part of the [Influx Community](https://github.com/InfluxCommunity).

### [C# .NET](https://github.com/InfluxCommunity/influxdb3-csharp)

The InfluxDB 3 `influxdb3-csharp` C# .NET client library integrates with C# .NET scripts and applications to write and query data stored in an InfluxDB Cloud Serverless bucket.

### [Go](/influxdb3/cloud-serverless/reference/client-libraries/v3/go/)

The InfluxDB 3 `influxdb3-go` Go client library integrates with Go scripts and applications to write and query data stored in an InfluxDB Cloud Serverless bucket.

### [Java](/influxdb3/cloud-serverless/reference/client-libraries/v3/java/)

The InfluxDB 3 `influxdb3-java` Java client library integrates with application code to write and query data stored in an InfluxDB Cloud Serverless bucket.

### [JavaScript](https://github.com/InfluxCommunity/influxdb3-js)

The InfluxDB 3 `influxdb3-js` JavaScript client library integrates with JavaScript scripts and applications to write and query data stored in an InfluxDB Cloud Serverless bucket.

### [Python](/influxdb3/cloud-serverless/reference/client-libraries/v3/python/)

The InfluxDB 3 `influxdb3-python` Python client library integrates with Python scripts and applications to write and query data stored in an InfluxDB Cloud Serverless bucket.

```python
# Example: Write and query data

# Write sensor data in batches from a CSV file to a database
client.write_file(file='./data/home-sensor-data.csv',
    timestamp_column='time',
    tag_columns=["room"])

# Execute a query and retrieve data from the last 90 days
table = client.query(
    '''SELECT *
       FROM home
       WHERE time >= now() - INTERVAL '90 days'
       ORDER BY time''')

# This script assumes the client object is correctly configured
# with your bucket name, token, and host URL. 
# After the script runs, the table variable contains the data
# formatted as a PyArrow table.
```
