How to hit the Deepgram API

Deepgram's API at https://api.deepgram.com/v1 transcribes audio. Send a URL to hosted audio, or the audio bytes directly. Options go in the query string.

Authentication

Create a key in the Deepgram console. It uses the Token scheme, not Bearer: Authorization: Token <key>. In the examples it's written {{DEEPGRAM_API_KEY}}.

Full reference: https://developers.deepgram.com/reference/speech-to-text-api/listen

Transcribe hosted audio

The audio file is Deepgram's own sample.

curl -X POST "https://api.deepgram.com/v1/listen?model=nova-3&smart_format=true" \
  -H "Authorization: Token {{DEEPGRAM_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://dpgr.am/spacewalk.wav"}'
Run in PostTaco

List projects

curl https://api.deepgram.com/v1/projects \
  -H "Authorization: Token {{DEEPGRAM_API_KEY}}"
Run in PostTaco