---
title: Convert Speech to Text API
slug: transcribe-speech-to-text
url: https://apyhub.com/apyhub/service/transcribe-speech-to-text
provider: ApyHub
categories: [Ingestion Kit]
tags: [speech-to-text, transcription, audio-processing, wav, voice-to-text]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 2
atoms: 750
mcp: true
alias: speech-to-text
---

# Convert Speech to Text API

Speech to text API: send a WAV file or URL with a language code like en-US and get the transcription back as plain text in JSON. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/transcribe-speech-to-text/file` | What it does Uploads a WAV audio file and a language locale, then returns the transcription as a st… | 750 |
| POST | `https://api.eu.apyhub.com/apyhub/transcribe-speech-to-text/url` | What it does Transcribes a WAV audio file from a URL into text. Send the source file URL and langua… | 750 |

## Endpoint reference

### Transcribe WAV file to text

`POST https://api.eu.apyhub.com/apyhub/transcribe-speech-to-text/file` · 750 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | WAV audio file. |
| `language` | body | string | yes | Azure locale (e.g. en-US). Example: `en-US`. |

#### Quickstart

Upload a WAV file and the locale to transcribe speech to text.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/transcribe-speech-to-text/file" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/audio.wav" \
  -F "language=en-US"
```

#### What you'll get back

Returns a JSON object with a `data` string field containing the transcription result.

```json
{
  "data": "Hello, welcome to the meeting."
}
```

### Transcribe WAV from URL to text

`POST https://api.eu.apyhub.com/apyhub/transcribe-speech-to-text/url` · 750 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | Example: `https://assets.apyhub.com/samples/sample.wav`. |
| `language` | body | string | yes | Example: `en-US`. |

#### Quickstart

Send the audio file URL and its language code to transcribe speech to text.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/transcribe-speech-to-text/url" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://assets.apyhub.com/samples/sample-speech.mp3",
    "language": "en-US"
  }'
```

#### What you'll get back

Returns a JSON object with a `data` string field containing the transcribed text.

```json
{
  "data": "Hello, this is a sample transcription."
}
```

## About

## What it does
The **Speech to Text API** transcribes WAV audio into plain text. Upload a WAV `file` (up to 100 MB per request) to `/file`, or send a public WAV `url` to `/url`, along with a `language` code such as `en-US`, `de-DE` or `es-ES`. The response is a JSON object with the full transcription in a `data` field.

Use it as an audio transcription API for voice notes, support calls, interviews, meetings and podcasts, so spoken content becomes searchable, easy to summarize or ready to index. Developers call this speech to text API from Python, Node.js or any language that can send an HTTP request, or as a voice to text API inside apps that record audio.

It returns the text only, without timestamps, speaker labels or confidence scores. The input must be WAV: MP3 files are rejected, so convert them first with the [MP3 to WAV Converter API](https://apyhub.com/apyhub/service/mp3-to-wav-conversion). For audio inside a video, use the [Audio Extractor from Video API](https://apyhub.com/apyhub/service/extract-audio-from-video). If you need subtitles with timestamps, use the [Speech to Text and Subtitles API](https://apyhub.com/callable-labs/service/convert-speech-to-text-subtitles).

To turn text back into speech, use the [Text to Speech API](https://apyhub.com/apyhub/service/convert-text-to-speech). AI agents can also call it through ApyHub MCP.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/transcribe-speech-to-text
