Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/kurdishtts-com:kurdishtts-com-voices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Kurdish TTS & STT Voices API
version: 1.2.0
summary: Text-to-speech and speech-to-text HTTP API for the Kurdish language (Sorani, Kurmanji & Badini).
description: 'Public developer API for Kurdish text-to-speech (TTS) and speech-to-text (STT). TTS covers Sorani (Central Kurdish, Arabic script), Kurmanji (Northern Kurdish, Latin script) and Badini/Behdinî (Northern Kurdish written in the Arabic script). STT covers Sorani and Kurmanji only — there is no Badini transcription model.
**Authentication.** All endpoints except `GET /api/get-speakers` require an API key sent in the `x-api-key` header. TTS and STT use **separate key spaces** — a TTS key will not authenticate against the STT endpoints and vice-versa. Generate keys at https://www.kurdishtts.com/settings/api.
**One TTS model.** Every synthesis request is rendered by V5. `model_version` does not choose a model or an engine — it chooses which **speaker group** your `speaker_id` is resolved in: `v3` (198 speakers), `v4` (664), or `v5` (20 curated, the six `badini_` speakers, plus the 13 Cast and Studio speakers on plans bought for the API). The groups share no IDs. A `badini_` id is the one exception to sending `model_version` yourself: it exists in no other group, so it resolves on v5 whatever you send. v3 and v4 are permanent selectors, not a deprecated path; existing integrations keep their current value and speaker IDs.
**Gotchas worth knowing before you integrate:**
- `speed` uses the industry-standard convention (higher = faster); it is clamped to 0.25–4.0.
- `model_version` accepts `v3`, `v4`, or `v5` and defaults to `v3` when omitted. Because the groups share no IDs, send it explicitly — a `v4` speaker id with no `model_version` is resolved against `v3` and refused.
- An UNKNOWN `model_version` returns 403 naming your plan, not 422. A speaker outside the selected group returns 400 under `v5` but 403 under `v3`/`v4`.
- `/api/tts-stream` progressively streams SSE or raw PCM at 24 kHz. Its legacy WAV option is buffered.
- The `websocket_url` returned by `/api/stt-stream-connect` is temporary and does not carry your API key.
**AI agents.** The same TTS and STT are also exposed over the Model Context Protocol at https://www.kurdishtts.com/api/mcp (Streamable HTTP; `Authorization: Bearer `), with the tools `synthesize_speech`, `transcribe_audio`, `start_streaming_transcription`, `list_voices`, `list_dialects` and `get_plan`. `list_voices`, `list_dialects` and `get_plan` need no API key. Setup guide: https://www.kurdishtts.com/docs/guides/claude-kurdish-voice.'
contact:
name: Kurdish TTS
url: https://www.kurdishtts.com/contact
servers:
- url: https://www.kurdishtts.com
description: Production
security: []
tags:
- name: Voices
description: Voice catalog
paths:
/api/get-speakers:
get:
tags:
- Voices
summary: List available Kurdish voices
operationId: listVoices
description: Public, unauthenticated catalog of available voices. Use the returned `id` as the `speaker_id` for `/api/tts-proxy`. The dialect of each voice is encoded in its id prefix.
parameters:
- name: model_version
in: query
required: false
schema:
type: string
enum:
- v3
- v4
- v5
description: Speaker group to list. Not a model or engine choice — every group renders on V5. v3 = 198 speakers, v4 = 664, v5 = 20 curated plus the six `badini_` speakers and the 13 Cast and Studio ones. The groups share no IDs.
responses:
'200':
description: Voice catalog.
content:
application/json:
schema:
type: object
properties:
speakers:
type: array
items:
$ref: '#/components/schemas/Speaker'
'500':
description: Failed to fetch speakers.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
properties:
error:
type: string
detail:
type: string
upgrade_url:
type: string
Speaker:
type: object
properties:
id:
type: string
description: Voice id; use as `speaker_id` in /api/tts-proxy.
examples:
- sorani_1
name:
type: string
examples:
- Female 1
dialect:
type: string
enum:
- sorani
- kurmanji
- badini
gender:
type: string
enum:
- male
- female
speaker_id:
type: string
securitySchemes:
TtsApiKey:
type: apiKey
in: header
name: x-api-key
description: 'TTS API key (key space: TTS). Generate at /settings/api.'
SttApiKey:
type: apiKey
in: header
name: x-api-key
description: 'STT API key (key space: STT — separate from TTS). Generate at /settings/api.'
externalDocs:
description: Human-readable API reference with copy-paste curl, Python and JavaScript examples
url: https://www.kurdishtts.com/docs/api