Skip to content
Swisscribe

Swiss German speech to text API

Swiss German speech to text for your own software: the Swisscribe API is built like the OpenAI API. Your existing code and the official SDKs keep working; you only change the base URL and the key. You get Standard German text from Swiss German, stored in Switzerland.

transcribe.py
# pip install openai
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://swisscribe.ch/v1",
    api_key=os.environ["SWISSCRIBE_API_KEY"],
)

with open("interview.mp3", "rb") as f:
    srt = client.audio.transcriptions.create(
        model="swisscribe-pro",
        file=f,
        response_format="srt",
        # long files: wait up to 30 minutes
        timeout=1800,
    )
print(srt)
Terminal
curl https://swisscribe.ch/v1/audio/transcriptions \
  -H "Authorization: Bearer $SWISSCRIBE_API_KEY" \
  -F file=@interview.mp3 \
  -F model=swisscribe-standard \
  -F response_format=srt
transcribe.mjs
import fs from "node:fs";
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://swisscribe.ch/v1",
  apiKey: process.env.SWISSCRIBE_API_KEY,
  // long files: wait up to 30 minutes
  timeout: 30 * 60 * 1000,
});

const transcription = await client.audio.transcriptions.create({
  model: "swisscribe-standard",
  file: fs.createReadStream("interview.mp3"),
  response_format: "verbose_json",
  timestamp_granularities: ["segment"],
});
console.log(transcription.text);

What the API does

  • Three models: swisscribe-standard, swisscribe-pro and swisscribe-max.
  • Responses as text, JSON, SRT or VTT, with timestamps per sentence and per word.
  • Same prices as the web app: CHF 0.04, CHF 0.08 or CHF 0.10 per minute, billed per second.
  • Repeated requests are not charged twice.
  • Files up to 500 MB and 2 hours.
  • An MCP server for AI agents.

Why a separate API for Swiss German transcription?

General speech recognition mostly knows Standard German. With Swiss German it often returns wrong words or a kind of phonetic spelling. Across five Swiss German recordings, Swisscribe Max gets 94.6 % of the content right, Pro 92.7 % and Standard 90.8 %; Töggl reaches 85.2 % and Swiss Transcript 83.4 %. The method is in our accuracy comparison.

Data protection

Requests are stored in Switzerland only. With swisscribe-standard and swisscribe-pro they are also processed only here, with swisscribe-standard only by Swiss companies. swisscribe-max also uses a speech recognition system in the EU.

The details are in the API documentation. Create a key in the dashboard under API keys.

Frequently asked questions

Do I need a new SDK?

No. The official OpenAI SDKs for Python and Node work unchanged. You only set the base URL to https://swisscribe.ch/v1 and use your Swisscribe key.

What does the API cost?

The same as the web app: CHF 0.04 per minute with swisscribe-standard, CHF 0.08 with swisscribe-pro and CHF 0.10 with swisscribe-max, billed per second. There is no subscription.

Does the API return timestamps per word?

Yes, with response_format verbose_json and timestamp_granularities[]=word. Timestamps per sentence come with verbose_json, srt and vtt.

Where do the requests run?

swisscribe-standard and swisscribe-pro run in data centres in Switzerland, and with swisscribe-standard only Swiss companies handle your recordings and transcripts. swisscribe-max also uses a speech recognition system in the EU. Everything is stored in Switzerland only.

More on the blog