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.

Select your region

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.