---
title: Develop with the InfluxDB API
description: Interact with InfluxDB using a rich API for writing and querying data and more.
url: https://docs.influxdata.com/influxdb/v2/api-guide/
estimated_tokens: 667
product: InfluxDB OSS v2
version: v2
---

# Develop with the InfluxDB API

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — **capture any plaintext tokens you still need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

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

## Developer guides

-   [API Quick Start](/influxdb/v2/api-guide/api_intro/)

## InfluxDB client libraries

InfluxDB client libraries are language-specific packages that integrate with the InfluxDB v2 API. For tutorials and information about client libraries, see [InfluxDB client libraries](/influxdb/v2/api-guide/client-libraries/).

## InfluxDB v2 API documentation

[InfluxDB OSS 2.9 API documentation](/influxdb/v2/api/)

### View InfluxDB API documentation locally

InfluxDB API documentation is built into the `influxd` service and represents the API specific to the current version of InfluxDB. To view the API documentation locally, [start InfluxDB](/influxdb/v2/get-started/#start-influxdb) and visit the `/docs` endpoint in a browser ([localhost:8086/docs](http://localhost:8086/docs)).

## InfluxDB v1 compatibility API documentation

The InfluxDB v2 API includes [InfluxDB v1 compatibility endpoints and authentication](/influxdb/v2/api-guide/influxdb-1x/) that work with InfluxDB 1.x client libraries and third-party integrations like [Grafana](https://grafana.com) and others.

[View full v1 compatibility API documentation](/influxdb/v2/api/v2/#tag/Compatibility-endpoints)

[api](/influxdb/v2/tags/api/)
