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-stt-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 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: STT
description: Speech-to-text
paths:
/api/stt-proxy:
post:
tags:
- STT
summary: Transcribe an uploaded Kurdish audio file
operationId: transcribeAudio
description: 'Transcribe a Kurdish audio file (WAV/MP3/FLAC/OGG/M4A). Max file size and transcript length depend on your plan (free: 10 MB / 500 chars; starter: 50 MB / unlimited; pro: 100 MB / unlimited). One credit is debited per successful transcription.'
security:
- SttApiKey: []
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
- dialect
properties:
file:
type: string
format: binary
description: Audio file (WAV/MP3/FLAC/OGG/M4A).
dialect:
type: string
enum:
- sorani
- kurmanji
description: Kurdish dialect of the audio.
responses:
'200':
description: Transcription result.
content:
application/json:
schema:
$ref: '#/components/schemas/SttResponse'
'400':
description: Missing file, invalid dialect, or file exceeds the plan size limit.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid STT API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: No STT plan, plan inactive, or credit limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/stt-stream-connect:
post:
tags:
- STT
summary: Open a live streaming transcription session
operationId: startStreamingTranscription
description: Returns a temporary WebSocket URL for real-time transcription. Connect to the URL within 5 minutes, then stream raw 16-bit PCM mono audio at 16 kHz as binary frames. Send `{"type":"control","event":"finalize"}` to flush; the server streams `{"text":"…","is_final":bool}` messages and `{"type":"control","event":"done"}` when complete. One streaming session is debited per call.
security:
- SttApiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- dialect
properties:
dialect:
type: string
enum:
- sorani
- kurmanji
responses:
'200':
description: Streaming session created.
content:
application/json:
schema:
$ref: '#/components/schemas/StreamConnectResponse'
'400':
description: Invalid body or dialect.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid STT API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: No STT plan, plan inactive, or streaming session limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
properties:
error:
type: string
detail:
type: string
upgrade_url:
type: string
SttResponse:
type: object
properties:
text:
type: string
description: Transcribed text.
dialect_hint:
type: string
language:
type: string
detected_dialect:
type: string
detected_script:
type: string
truncated:
type: boolean
description: True when a free-plan transcript-length cap clipped the text.
truncation_limit:
type: integer
description: The character cap applied when `truncated` is true.
StreamConnectResponse:
type: object
properties:
websocket_url:
type: string
format: uri
description: Temporary wss:// URL. Connect within 5 minutes. Does not contain your API key.
dialect:
type: string
enum:
- sorani
- kurmanji
plan:
type: string
streaming_sessions_used:
type: integer
streaming_sessions_total:
type: integer
streaming_sessions_purchased:
type: integer
streaming_sessions_remaining:
type: integer
max_session_duration_seconds:
type: integer
message:
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