# GET /v1/shared-voices (ElevenLabs API)
Base URL: https://api.elevenlabs.io
Auth: xi-api-key: <ELEVENLABS_API_KEY>
Last verified: 2026-09-03

> Get Voices

## Critical Gotchas
* Authentication uses the non-standard `xi-api-key` header, not `Authorization: Bearer`. Sending a Bearer token returns HTTP 401.
* Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (`--output speech.mp3`) rather than parsing it.

## cURL
curl -X GET 'https://api.elevenlabs.io/v1/shared-voices?page_size=30&category=professional&gender=example-gender&age=example-age&accent=example-accent&language=example-language&locale=example-locale&search=example-search&use_cases=example&descriptives=example&featured=false&min_notice_period_days=10&include_custom_rates=true&include_live_moderated=true&reader_app_enabled=false&owner_id=owner-id&sort=created_date&page=0' \
  -H "xi-api-key: $ELEVENLABS_API_KEY"

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| page_size | query | integer | No | How many shared voices to return at maximum. Can not exce... |
| category | query | string | No | Voice category used for filtering |
| gender | query | string | No | Gender used for filtering |
| age | query | string | No | Age used for filtering |

## Response (200 OK)
{"has_more":false,"total_count":0}

---
Need an API key? Get one at https://elevenlabs.io/app/sign-up