Working with the InfluxDB API

InfluxDB offers a rich API that you can use to create applications. The following pages offer general guides to the most commonly used API methods.

For detailed documentation on the entire API, see InfluxDBv2 API Documentation.

If you are interacting with InfluxDB 1.x, see the 1.x compatibility API.

Use the following API endpoints to write and query data:

Write API

Write data to InfluxDB using an HTTP request to the InfluxDB API /write endpoint.

Query API

Query from InfluxDB using an HTTP request to the /query endpoint.

Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: