Web, pages and documents logo

Transcribe an audio or video file URL (Whisper, timestamps, SRT, VTT)

$0.25 USDC per call · Business, finance and compliance · POST /api/v1/transcribe-url · Id transcribe-url

Transcribes a public audio or video FILE URL (podcast enclosure, meeting recording, voice memo; mp3, wav, mp4/m4a, ogg, webm, flac; up to 25 MB and 30 minutes) with Whisper large-v3-turbo on Cloudflare Workers AI. Returns timestamped segments plus SRT and VTT subtitles and the plain text, bound to the media's SHA-256. Does NOT accept YouTube, Spotify or any streaming page (the URL must be the media file itself), does not identify speakers, and does not translate.

What you get

A 30-minute recording becomes searchable text and ready-to-use subtitles, tied to the exact file bytes, for $0.25.

Call it

Send the JSON body below to https://agents.writerslogic.com/api/v1/transcribe-url. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.

curl -i -X POST https://agents.writerslogic.com/api/v1/transcribe-url \
  -H 'content-type: application/json' \
  -d '{"url":"https://archive.org/download/testmp3testfile/mpthreetest.mp3","language":"en","formats":["segments","srt"],"max_minutes":5}'

Input

FieldTypeRequiredDescription
urlstring; length 8..2048yeshttps URL of the audio or video file itself.
languagestringnoISO 639-1 language code of the speech (for example en); detected when omitted.
formatsarray<string; one of "segments", "srt", "vtt", "text">; max 4 itemsnoOutputs to include; default all.
max_minutesinteger; 1..30noReject audio longer than this, default 30.

Example request body

{
  "url": "https://archive.org/download/testmp3testfile/mpthreetest.mp3",
  "language": "en",
  "formats": [
    "segments",
    "srt"
  ],
  "max_minutes": 5
}

Result

The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.

FieldTypeRequiredDescription
urlstringno
final_urlstringnoURL after redirects.
media_sha256stringnoSHA-256 (hex) of the downloaded media bytes.
bytesintegerno
containerstring; one of "mp3", "wav", "mp4", "ogg", "webm", "flac"no
duration_secondsone ofno
languageone ofno
modelstringno
chunksintegernoModel requests used; mp3 and wav are split into at most 10-minute chunks.
textstringno
segmentsarray<object>no
srtone ofno
vttone ofno
word_countintegerno
truncatedbooleannoTrue when text was cut to bound the response size.
limitsobjectno

Pay and connect

Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.

Machine-readable