InfluxDB 1.x compatibility API

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

View full v1 compatibility API documentation


InfluxDB Cloud all query and write requests to be authenticated using InfluxDB authentication tokens. Use the following authenication methods:

Token authentication

Token authentication requires the following credential:

Use the Authorization header with the Token scheme to provide your authentication token to InfluxDB.

Token authentication with authorization header
# Header syntax
Authorization: Token <token>

# Header example
Authorization: Token mYSuP3rs3cREtT0k3N

Basic authentication

Basic authentication requires the following credentials:

# --user syntax

InfluxQL support

The compatibility API supports InfluxQL, with the following caveats:

  • The INTO clause (e.g. SELECT ... INTO ...) is not supported.
  • With the exception of DELETE and DROP MEASUREMENT queries, which are still allowed, InfluxQL database management commands are not supported.

Compatibility endpoints

Select your region

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.