Transcribe Transcribe
by Transcribe by YourAITools in AI models & inference
Speech-to-text API (audio transcription) for AI agents. Send MP3, WAV, M4A or OGG/Opus (body, audio_url or base64, up to 30 min); get transcript, language, timestamped segments, optional SRT/VTT; task=translate gives English. $0.003 per audio minute, rounded up; the 402 quotes your file's exact total. Search intents: speech to text api, transcribe audio file, mp3 to text, wav to text, pay per minute transcription api, srt vtt subtitles, podcast transcription.
https://api.youraitools.co/transcribe/v1/transcribe- Price
- $0.003
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 477 ms
- 1.4 s slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.youraitools.co/transcribe/v1/transcribe
Each call costs $0.003 in USDC on Polygon, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api.youraitools.co/transcribe/v1/transcribe?audio_url=https%3A%2F%2Fapi.youraitools.co%2Ftranscribe%2Fsample.mp3Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
audio_url | string | Yes | Public https URL of an MP3, WAV, M4A or OGG/Opus file (up to 30 minutes / 30 MB). Or POST the file as the raw body (e.g. Content-Type audio/mpeg, audio/wav, audio/mp4 or audio/ogg), or JSON audio_base64. |
format | string | No | json (default); srt or vtt also returns subtitles in the srt / vtt field One of: json, srt, vtt. |
language | string | No | Optional ISO 639-1 code of the spoken language (e.g. en, es, de); detected when omitted |
prompt | string | No | Optional context words or spellings (max 500 chars) |
task | string | No | transcribe (default) or translate (to English) One of: transcribe, translate. |
vad | boolean | No | Skip silence with voice activity detection (default false) |
Example response
The provider's example. We can't check it without paying.
Example response, 32 lines
{
"billed_minutes": 1,
"duration_seconds": 10.79,
"language": "en",
"language_probability": 0.999,
"pieces": 1,
"price_per_minute_usd": "0.003",
"processing_ms": 1400,
"schema": "transcribe/1",
"segments": [
{
"end": 3.4,
"start": 0,
"text": "Agents can pay per minute for transcription using x402."
},
{
"end": 7.9,
"start": 3.6,
"text": "This is a short test of the speech-to-text route."
}
],
"source": {
"bytes": 43520,
"format": "mp3",
"type": "url"
},
"srt": null,
"task": "transcribe",
"text": "Agents can pay per minute for transcription using x402. This is a short test of the speech-to-text route.",
"total_usd": "0.003",
"vtt": null
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.youraitools.co/transcribe/v1/transcribe?audio_url=https%3A%2F%2Fapi.youraitools.co%2Ftranscribe%2Fsample.mp3'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.youraitools.co/transcribe/v1/transcribe?audio_url=https%3A%2F%2Fapi.youraitools.co%2Ftranscribe%2Fsample.mp3' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.youraitools.co%2Ftranscribe%2Fv1%2Ftranscribe
const res = await pay("https://api.youraitools.co/transcribe/v1/transcribe?audio_url=https%3A%2F%2Fapi.youraitools.co%2Ftranscribe%2Fsample.mp3");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.youraitools.co/transcribe/v1/transcribe?audio_url=https%3A%2F%2Fapi.youraitools.co%2Ftranscribe%2Fsample.mp3")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 864 ms | $0.003 |
| 9 h ago | Passed | 402 | 356 ms | $0.003 |
| 17 h ago | Passed | 402 | 555 ms | $0.003 |
| 25 h ago | Passed | 402 | 264 ms | $0.003 |
| 32 h ago | Passed | 402 | 388 ms | $0.003 |
Show 6 older checks
| 40 h ago | Passed | 402 | 1.4 s | $0.003 |
| 47 h ago | Passed | 402 | 579 ms | $0.003 |
| 2 days ago | Passed | 402 | 423 ms | $0.003 |
| 3 days ago | Passed | 402 | 300 ms | $0.003 |
| 3 days ago | Passed | 402 | 477 ms | $0.003 |
| 3 days ago | Passed | 402 | 932 ms | $0.003 |