AutoContent APIREST API

Quickstart: your first podcast from the API

Send a URL, PDF, YouTube link or text to the AutoContent API and get back a finished podcast, video, slide deck, infographic or quiz. Examples in curl, Python and Node.

Before you start

Choose a plan on the pricing page. Your API key arrives by email after checkout; keep it on your server, never in browser JavaScript.

The base URL is https://api.autocontentapi.com. Send the key as Authorization: Bearer YOUR_API_KEY.

1. Create a podcast

Send one or more sources and the output type. The response returns a request_id at once; the podcast is made in the background.

curl
shell
curl -X POST https://api.autocontentapi.com/content/Create \
  -H "Authorization: Bearer $AUTOCONTENT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"outputType": "audio",
       "resources": [{"type": "website", "content": "https://example.com/article"}]}'
Python
python
import os, time, requests

api = "https://api.autocontentapi.com"
headers = {"Authorization": f"Bearer {os.environ['AUTOCONTENT_API_KEY']}"}

job = requests.post(f"{api}/content/Create", headers=headers, json={
    "outputType": "audio",
    "resources": [{"type": "website", "content": "https://example.com/article"}],
}).json()

while True:
    status = requests.get(f"{api}/content/Status/{job['request_id']}", headers=headers).json()
    if status["status"] == 100 or status.get("error_code"):
        break
    time.sleep(30)

print(status.get("audio_url"), status.get("error_code"))
Node.js 18+
js
const api = 'https://api.autocontentapi.com'
const headers = {
  Authorization: `Bearer ${process.env.AUTOCONTENT_API_KEY}`,
  'Content-Type': 'application/json',
}

const job = await fetch(`${api}/content/Create`, {
  method: 'POST',
  headers,
  body: JSON.stringify({
    outputType: 'audio',
    resources: [{ type: 'website', content: 'https://example.com/article' }],
  }),
}).then((response) => response.json())

let status
do {
  await new Promise((resolve) => setTimeout(resolve, 30_000))
  status = await fetch(`${api}/content/Status/${job.request_id}`, { headers }).then((response) => response.json())
} while (status.status !== 100 && !status.error_code)

console.log(status.audio_url ?? status.error_code)

2. Get the result

Poll GET /content/Status/{request_id} until status is 100; the response then has audio_url, share_url and the transcript text. A failed request returns an error_code and uses 0 credits.

Instead of polling, register a webhook once with POST /content/Webhook. It receives every finished or failed request; answer within 30 seconds.

curl
shell
curl https://api.autocontentapi.com/content/Status/REQUEST_ID \
  -H "Authorization: Bearer $AUTOCONTENT_API_KEY"

How long it takes

Time from request to result for succeeded customer requests, in the 30 and the 7 days to 2 November 2026. Typical is the median; slow is the 95th percentile. Plan for the slow case, or use a webhook.

* The 30-day video figure includes the transcription outage of 26 October 2026, when some videos waited up to 24 hours. Times include waiting behind your plan's concurrent request limit. Formats with fewer than 20 requests in a window show no figure.

FormatLast 30 days: typical / slowLast 7 days: typical / slow
Podcast (audio)11.5 min / 90 min18.8 min / 122 min
Explainer video (video)22.8 min / 65 hours*18.1 min / 27 min
Slide deck (slide_deck)11.3 min / 200 min10.7 min / 447 min
Infographic (infographic)3.4 min / 25 mintoo few requests
Quiz (quiz)4.8 min / 15 mintoo few requests
Video with chosen voices14.0 min / 204 mintoo few requests

Other formats

Change outputType to make another format from the same sources. Credits per output, for every endpoint, are on the credits page of the API docs.

Output`outputType`Credits
Podcastaudio10
Explainer videovideo (format: explainer, short or cinematic)50, or 100 for cinematic
Slide deckslide_deck10
Infographicinfographic10
Quizquiz10
Briefing documentbriefing_doc10

Full reference and the other product

Every endpoint, option and error code of the AutoContent API is in the API docs.

AutoContent Platform is a separate product, with its own /v1 API, keys and USD prices. Its documentation is separate too.