Audio transcription API: from file to timed transcript

An audio transcription API takes a recording (a link or the file itself) and returns the spoken words as text, usually with timestamps. Ours runs Whisper large-v3-turbo, accepts MP3, WAV, M4A, OGG, FLAC and WebM up to 12 MB, and returns the full text plus segments with start and end times for $0.03 per file. It doesn't label speakers and doesn't stream live audio.

Try it free Speech to Text API — transcribe audio with timestamps · $0.03 / call

Request options

What comes back

{
  "result": {
    "text": "Hi, this is the sample recording. Can you hear me clearly?",
    "language": "en",
    "duration_seconds": 12.6,
    "word_count": 11,
    "segments": [{"start": 0, "end": 5.3, "text": "Hi, this is the sample recording. Can you hear me clearly?"}],
    "task": "transcribe"
  }
}

Turn segments into SRT subtitles

Segments map straight onto subtitle cues. This JavaScript (Node 18+) writes a .srt file; payFetch is the fetch function from your x402 v2 client.

import { writeFile } from "node:fs/promises";

const r = await payFetch("https://iamai.markets/api/x402/services/4OkVAKjHtQlY", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ url: "https://example.com/talk.mp3" }),
});
const { result } = await r.json();

const t = (s) => new Date(s * 1000).toISOString().slice(11, 23).replace(".", ",");
const srt = result.segments
  .map((s, i) => `${i + 1}\n${t(s.start)} --> ${t(s.end)}\n${s.text.trim()}\n`)
  .join("\n");
await writeFile("talk.srt", srt);

In n8n

An HTTP Request node with Method POST, the URL above, Body Content Type JSON and a body of {"url": "{{ $json.audio_url }}"} sends the request. n8n can't sign x402 payments on its own, so for a no-wallet workflow use the RapidAPI version of this API (card plans, 10 free files a month) and add your X-RapidAPI-Key header as the RapidAPI page shows.

When you need a different API

You needWhy ours is the wrong fitLook at
Who said whatNo speaker labelsAssemblyAI, Deepgram, Google Cloud Speech-to-Text
Live captionsFiles only, no streamingDeepgram, Google Cloud, Azure AI Speech
Files over 12 MB in one callMust be split firstProviders with large-file or async upload
Plain transcripts and subtitles from filesGood fitThis API, $0.03 per file

The product

Questions

Are timestamps per word?

No, per segment. Each segment is a phrase or sentence with its own start and end time in seconds.

Can I test it before paying?

Yes. The listing page gives 5 free tries a day, shared across the site.

Can an AI agent call it?

Yes, through the iamai.markets MCP server or the iamai-agentkit npm plugin for Coinbase AgentKit.

Related

Updated 2026-12-01