Skip to content

Get started

Quickstart

From sign-up to your first transcript in two minutes.

  1. Create an API key

    Sign up (you get $5 of free credit, no card), open API keys in the console and create a key. Copy it now: the secret is shown only once. Then make it available to your code:

    Terminal
    export SHIHAB_API_KEY="shk_live_..."
  2. Send your first request

    Record a voice note in Palestinian Arabic (any format: m4a, ogg, mp3, wav...) and send it:

    curl https://api.shihab.co.uk/v1/listen \
      -H "Authorization: Bearer $SHIHAB_API_KEY" \
      -H "Content-Type: audio/mp4" \
      --data-binary @voice-note.m4a

    The SDKs install from our download page until the registries are live: pip install https://voice.shihab.co.uk/sdk/shihab_asr-1.1.0-py3-none-any.whl or npm install https://voice.shihab.co.uk/sdk/shihab-asr-1.1.0.tgz.

  3. Read the response

    You get the transcript, timed segments, the audio duration and exactly what the request cost. Numbers come back as words, the way they were spoken; add numerals=true for digits.

    200 OK
    {
      "request_id": "req_01JA8Z6Q3K7M2V9X4T5R8N1B6C",
      "object": "transcription",
      "created": "2026-10-12T12:00:00Z",
      "model": "shihab-asr-v1",
      "model_version": "1.1.0",
      "language": "ar",
      "duration": 12.48,
      "transcript": "مرحبا، بدي أطلب بيتزا كبيرة مع زيتون و فطر. قديش سعر التوصيل لنابلس؟",
      "segments": [
        { "id": 0, "start": 0.0, "end": 7.92, "text": "مرحبا، بدي أطلب بيتزا كبيرة مع زيتون و فطر." },
        { "id": 1, "start": 7.92, "end": 12.48, "text": "قديش سعر التوصيل لنابلس؟" }
      ],
      "tags": [],
      "usage": { "audio_seconds": 12.48, "billed_seconds": 13, "cost_usd": "0.0026" },
      "processing_ms": 812
    }

Use an SDK

The Python and JavaScript SDKs handle uploads, retries, async polling, streaming and webhook verification for you. The CLI transcribes files and streams your microphone from a terminal.

Next steps

Need help? Email [email protected] or message us on WhatsApp.