# ElevenLabs API Documentation **Provider:** ElevenLabs API Documentation **Category:** ai **Base URL:** `https://api.elevenlabs.io/` **Auth:** api-key — `xi-api-key: YOUR_API_KEY` **Rate Limit:** 2 concurrent requests (free); up to 10 (paid) **Free Tier:** Yes — [object Object] **Pricing:** Free tier available (freemium) **Docs:** https://api.elevenlabs.io/ ## Description This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change. ## Endpoints | Method | Endpoint | Description | |--------|----------|-------------| | GET | `https://api.elevenlabs.io//v1/history` | Get Generated Items | | POST | `https://api.elevenlabs.io//v1/history/delete` | Delete History Items | | POST | `https://api.elevenlabs.io//v1/history/download` | Download History Items | | DELETE | `https://api.elevenlabs.io//v1/history/{history_item_id}` | Delete History Item | | GET | `https://api.elevenlabs.io//v1/history/{history_item_id}/audio` | Get Audio From History Item | | POST | `https://api.elevenlabs.io//v1/text-to-speech/{voice_id}` | Text To Speech | | POST | `https://api.elevenlabs.io//v1/text-to-speech/{voice_id}/stream` | Text To Speech | | GET | `https://api.elevenlabs.io//v1/user` | Get User Info | ## Authentication API key in the xi-api-key request header ``` xi-api-key: YOUR_API_KEY ``` ## Sample Request ```bash curl -X GET 'https://api.elevenlabs.io//v1/history' \ -H '# No auth required' ``` ## Sample Response ```json {} ``` ## Pricing Details Free: 10k chars/mo. Starter $5/mo (30k chars). Creator $22/mo (100k chars). Pro $99/mo (500k chars). Scale $330/mo (2M chars). --- *Source: [API Map](https://apimap.dev/apis/elevenlabs-api-documentation/) — CC BY 4.0*