Convert Speech to Text
750 atoms
Base tier
About
This Utility API converts spoken words into text. It supports multiple languages and dialects.
This API can save significant time and effort compared to manual transcription and ensures accurate documentation of verbal communications.
The Convert Speech to Text API It is ideal for professionals who need to transcribe meetings, lectures, or interviews. It can be integrated into various applications, enhancing user experience with hands-free operation and effective multitasking capabilities.
Endpoint Selector
Input
API Playground
Documentation
Convert Speech File to Text
POST
https://api.apyhub.com/stt/file
Request example
Method:
POST
Content Type:
multipart/form-data
Request Body
Attribute | Type | Mandatory | Description |
---|---|---|---|
file | File | Yes | The source wav file that you want to convert to text. |
language | String | Yes | The language of your speech in the BCP-47 tag. |
Sample Response
HTTP Response Codes
The method may return one of the following HTTP status codes:
Status Code | Description |
---|---|
200 | The request was successful. |
400 | Invalid input - the file is corrupt or the supported inputs are not provided. |
401 | Required authentication information is either missing or not valid for the resource. |
500 | If any unexpected error occurs while processing the request. |
Supported BCP-47 Tags
Locale | Language |
---|---|
af-ZA | Afrikaans (South Africa) |
am-ET | Amharic (Ethiopia) |
ar-AE | Arabic (United Arab Emirates) |
ar-BH | Arabic (Bahrain) |
ar-DZ | Arabic (Algeria) |
ar-EG | Arabic (Egypt) |
ar-IL | Arabic (Israel) |
ar-IQ | Arabic (Iraq) |
ar-JO | Arabic (Jordan) |
ar-KW | Arabic (Kuwait) |
ar-LB | Arabic (Lebanon) |
ar-LY | Arabic (Libya) |
ar-MA | Arabic (Morocco) |
ar-OM | Arabic (Oman) |
ar-PS | Arabic (Palestinian Authority) |
ar-QA | Arabic (Qatar) |
ar-SA | Arabic (Saudi Arabia) |
ar-SY | Arabic (Syria) |
ar-TN | Arabic (Tunisia) |
ar-YE | Arabic (Yemen) |
az-AZ | Azerbaijani (Latin, Azerbaijan) |
bg-BG | Bulgarian (Bulgaria) |
bn-IN | Bengali (India) |
bs-BA | Bosnian (Bosnia and Herzegovina) |
ca-ES | Catalan |
cs-CZ | Czech (Czechia) |
cy-GB | Welsh (United Kingdom) |
da-DK | Danish (Denmark) |
de-AT | German (Austria) |
de-CH | German (Switzerland) |
de-DE | German (Germany) |
el-GR | Greek (Greece) |
en-AU | English (Australia) |
en-CA | English (Canada) |
en-GB | English (United Kingdom) |
en-GH | English (Ghana) |
en-HK | English (Hong Kong SAR) |
en-IE | English (Ireland) |
en-IN | English (India) |
en-KE | English (Kenya) |
en-NG | English (Nigeria) |
en-NZ | English (New Zealand) |
en-PH | English (Philippines) |
en-SG | English (Singapore) |
en-TZ | English (Tanzania) |
en-US | English (United States) |
en-ZA | English (South Africa) |
es-AR | Spanish (Argentina) |
es-BO | Spanish (Bolivia) |
es-CL | Spanish (Chile) |
es-CO | Spanish (Colombia) |
es-CR | Spanish (Costa Rica) |
es-CU | Spanish (Cuba) |
es-DO | Spanish (Dominican Republic) |
es-EC | Spanish (Ecuador) |
es-ES | Spanish (Spain) |
es-GQ | Spanish (Equatorial Guinea) |
es-GT | Spanish (Guatemala) |
es-HN | Spanish (Honduras) |
es-MX | Spanish (Mexico) |
es-NI | Spanish (Nicaragua) |
es-PA | Spanish (Panama) |
es-PE | Spanish (Peru) |
es-PR | Spanish (Puerto Rico) |
es-PY | Spanish (Paraguay) |
es-SV | Spanish (El Salvador) |
es-US | Spanish (United States) |
es-UY | Spanish (Uruguay) |
es-VE | Spanish (Venezuela) |
et-EE | Estonian (Estonia) |
eu-ES | Basque |
fa-IR | Persian (Iran) |
fi-FI | Finnish (Finland) |
fil-PH | Filipino (Philippines) |
fr-BE | French (Belgium) |
fr-CA | French (Canada) |
fr-CH | French (Switzerland) |
fr-FR | French (France) |
ga-IE | Irish (Ireland) |
gl-ES | Galician |
gu-IN | Gujarati (India) |
he-IL | Hebrew (Israel) |
hi-IN | Hindi (India) |
hr-HR | Croatian (Croatia) |
hu-HU | Hungarian (Hungary) |
hy-AM | Armenian (Armenia) |
id-ID | Indonesian (Indonesia) |
is-IS | Icelandic (Iceland) |
it-CH | Italian (Switzerland) |
it-IT | Italian (Italy) |
ja-JP | Japanese (Japan) |
jv-ID | Javanese (Latin, Indonesia) |
ka-GE | Georgian (Georgia) |
kk-KZ | Kazakh (Kazakhstan) |
km-KH | Khmer (Cambodia) |
kn-IN | Kannada (India) |
ko-KR | Korean (Korea) |
lo-LA | Lao (Laos) |
lt-LT | Lithuanian (Lithuania) |
lv-LV | Latvian (Latvia) |
mk-MK | Macedonian (North Macedonia) |
ml-IN | Malayalam (India) |
mn-MN | Mongolian (Mongolia) |
mr-IN | Marathi (India) |
ms-MY | Malay (Malaysia) |
mt-MT | Maltese (Malta) |
my-MM | Burmese (Myanmar) |
nb-NO | Norwegian Bokmål (Norway) |
ne-NP | Nepali (Nepal) |
nl-BE | Dutch (Belgium) |
nl-NL | Dutch (Netherlands) |
pa-IN | Punjabi (India) |
pl-PL | Polish (Poland) |
ps-AF | Pashto (Afghanistan) |
pt-BR | Portuguese (Brazil) |
pt-PT | Portuguese (Portugal) |
ro-RO | Romanian (Romania) |
ru-RU | Russian (Russia) |
si-LK | Sinhala (Sri Lanka) |
sk-SK | Slovak (Slovakia) |
sl-SI | Slovenian (Slovenia) |
so-SO | Somali (Somalia) |
sq-AL | Albanian (Albania) |
sr-RS | Serbian (Cyrillic, Serbia) |
sv-SE | Swedish (Sweden) |
sw-KE | Swahili (Kenya) |
sw-TZ | Swahili (Tanzania) |
ta-IN | Tamil (India) |
te-IN | Telugu (India) |
th-TH | Thai (Thailand) |
tr-TR | Turkish (Türkiye) |
uk-UA | Ukrainian (Ukraine) |
ur-IN | Urdu (India) |
uz-UZ | Uzbek (Latin, Uzbekistan) |
vi-VN | Vietnamese (Vietnam) |
wuu-CN | Chinese (Wu, Simplified) |
yue-CN | Chinese (Cantonese, Simplified) |
zh-CN | Chinese (Mandarin, Simplified) |
zh-CN-shandong | Chinese (Jilu Mandarin, Simplified) |
zh-CN-sichuan | Chinese (Southwestern Mandarin, Simplified) |
zh-HK | Chinese (Cantonese, Traditional) |
zh-TW | Chinese (Taiwanese Mandarin, Traditional) |
zu-ZA | Zulu (South Africa) |
Authentication
All requests to ApyHub services need to be authenticated, currently we support
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from workspace settings (on the left side of the navbar) and go to applications.Points to note:
- Credential secrets are generated on the fly and are not stored in plain text, so on generating a credential please save the secrets somewhere safe.
- Use the
apy-token
as the header parameter to pass the token. - Use the
Authorization
header to send the basic authentication credentials.
Error codes
To search for a specific error code, enter the code in the search box below. Alternatively, you can click on the button to view a complete list of all error codes.