Skip to main content

Quickstart

This is the fastest path from zero to a working API call. If you are an AI coding agent: copy the Python or cURL block exactly; only replace YOUR_API_KEY and the audio file path.

Prerequisites

You need three things before calling the API:

  1. An account on the Theta One API Console — see Sign Up.
  2. Credits on the account — see Top Up Prepaid Credits. The Free plan starts with $0.20, which is enough for ~8 minutes of STT.
  3. An API key beginning with sk-theta- — see API Keys.

Make your first call

curl -X POST \
'https://stt.thetaone-ai.com/transcribe' \
-H 'accept: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@audio.wav;type=audio/wav'

A successful response looks like:

{
"text": "Welcome to Theta One AI!",
"text_type": "en",
"metadata": {},
"response_time_in_sec": 0.42
}

What to do next

Decide your integration path:

Before going to production, read:

Troubleshooting

SymptomLikely causeFix
401 UnauthorizedKey missing / wrong / deactivatedCheck x-api-key and that the key is active in the console
402 PAYMENT_REQUIREDOut of credits, or plan doesn't include the endpointTop up or upgrade — see Pricing
429 RATE_LIMIT_EXCEEDEDExceeded per-key RPMRetry with backoff — see Rate Limits
400 Bad Request with pronunciationoptions not a JSON string, or NotAllWordsSpokenErrorSee Error Reference