# Jobs API The Jobs API is an asynchronous (batch) speech-to-text API for prerecorded audio and video files. You create a job from a file URL or an upload, and the API returns a job ID right away. You then receive the transcript by [webhook](/jobs-v2/webhooks.md), follow it as a [stream](/jobs-v2/stream.md), or [poll the job](/jobs-v2/read.md). Use it for long recordings and for output beyond plain text, such as speaker diarization, word-level timestamps, and SRT or WebVTT subtitles. For a short upload whose transcript you want in the same response, use the [Edge API](/edge-v2.md). To pay for each job from a crypto wallet instead of with an API key, use the [x402 API](/x402-v2.md). [How to Transcribe](/how-to-transcribe.md) compares them. ## Base URLs | Host | Used for | | --- | --- | | `https://api.speechischeap.com` | Creating, getting, and canceling jobs, and health checks | | `https://upload.speechischeap.com` | [Uploading a file](/jobs-v2/upload.md). The host forwards the file to the API and returns the same job | ## Authentication Requests that create, upload, or cancel a job need an API key, sent as a Bearer token: ```http Authorization: Bearer YOUR_API_KEY ``` API keys start with `sk_`. Sign up on the [pricing page](https://speechischeap.com/pricing/), and your first key arrives by email. You create, rename, and revoke keys in the [Dashboard](/dashboard.md). [How to Transcribe](/how-to-transcribe.md) walks through the sign-up. To test a key before you use it, [check it](/jobs-v2/health.md#check-an-api-key). Getting a job and the health checks need no key. Anyone with a job ID can read that job, so [keep job IDs private](/jobs-v2/read.md#keep-job-ids-private). ## Endpoints | Method | Endpoint | Page | | --- | --- | --- | | `POST` | `https://api.speechischeap.com/v2/jobs/` | [Create a Job from a URL](/jobs-v2/create.md) | | `POST` | `https://upload.speechischeap.com/v2/jobs/` | [Upload a File](/jobs-v2/upload.md) | | `GET` | `https://api.speechischeap.com/v2/jobs/:job_id` | [Get a Job](/jobs-v2/read.md) | | `DELETE` | `https://api.speechischeap.com/v2/jobs/:job_id` | [Cancel a Job](/jobs-v2/delete.md) | | `GET` | `https://api.speechischeap.com/v2/jobs/health` | [API Health](/jobs-v2/health.md) | | `GET` | `https://api.speechischeap.com/v2/jobs/health/inference` | [API Health](/jobs-v2/health.md#transcription-health) | | `GET` | `https://upload.speechischeap.com/health` | [API Health](/jobs-v2/health.md#upload-health) | | `GET` | `https://api.speechischeap.com/v2/jobs/auth` | [API Health](/jobs-v2/health.md#check-an-api-key) | Requests that create a job also work without the trailing slash. Don't add a slash to the other paths. A request to `/v2/jobs/:job_id/` returns `404 Not Found`. Webhooks, streaming, and subtitles have no endpoint of their own. You turn them on with parameters when you create the job. See [Webhooks](/jobs-v2/webhooks.md), [Stream Progress](/jobs-v2/stream.md), and [Output and Add-ons](/jobs-v2/output.md). ## Job States A job starts as `PENDING` and ends in one of the other three states. | Status | Meaning | | --- | --- | | `PENDING` | The job is queued or being transcribed. | | `COMPLETED` | The transcript is ready. | | `FAILED` | The job couldn't be transcribed. You aren't charged. | | `CANCELED` | The job was [canceled](/jobs-v2/delete.md). | ## How Results Arrive You can use any of these together: - A [webhook](/jobs-v2/webhooks.md) sends the result to your `webhook_url` once, when the job ends. - A [stream](/jobs-v2/stream.md) sends progress and segments while the job runs. Set `can_stream_output` when you create the job. - [Get a Job](/jobs-v2/read.md) returns the job by its ID. Request it once, or in a loop until the job ends. The result is JSON, or SRT or VTT subtitles. See [Output and Add-ons](/jobs-v2/output.md). ## Billing You pay only when a job completes. A job that fails or is canceled before it completes costs nothing. The API rounds each file up to a whole minute, separately for the transcription and for each add-on you turn on. See [pricing](https://speechischeap.com/pricing/) for the rates. Jobs paid with x402 are paid from your wallet instead. See [Payments and Refunds](/x402-v2/payments.md). ## Related Pages - [Input Requirements](/input-requirements.md) covers audio length, file size, URL, and upload rules. - [Supported File Types](/types.md) lists the containers and codecs. - [Supported Languages](/languages.md) lists the codes for the `language` parameter. - [Errors](/errors.md#jobs-api) explains each error message and how to fix it, including [Upload errors](/errors.md#upload) and [failures after a job is accepted](/errors.md#failures-after-a-job-is-accepted). - [Changelog](/jobs-v2/changelog.md) lists the releases.