Documentation

InfluxDB v2 API

The InfluxDB v2 API provides a programmatic interface for interactions with InfluxDB. Access the InfluxDB API using the /api/v2/ endpoint.

InfluxDB client libraries

InfluxDB client libraries are language-specific packages that integrate with the InfluxDB v2 API.

Authentication

InfluxDB Cloud uses authentication tokens to authorize API requests.

Include your API token as an Authorization header in each request.

curl --request POST https://cloud2.influxdata.com/api/v2/write \
  --header "Authorization: Token YOURAUTHTOKEN" \
  --data-urlencode "org=myorg" \
  --data-urlencode "bucket=example-bucket"

InfluxDB Cloud API documentation

InfluxDB Cloud API documentation

InfluxDB v1 compatibility API documentation

The InfluxDB v2 API includes InfluxDB 1.x compatibility endpoints that work with InfluxDB 1.x client libraries and third-party integrations like Grafana and others.

View full v1 compatibility API documentation

api

Select your region

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.