Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

On this pageOverview

Sample Rate

sample_rate int32

Pre-recorded Streaming:NovaStreaming:Flux All available languages

To enable Sample Rate, when you call Deepgram’s API, add a sample_rate parameter in the query string and set it to the sample rate of your submitted audio.

sample_rate=SAMPLE_RATE_VALUE

Bash
curl \
  --request POST \
  --header 'Authorization: Token YOUR_DEEPGRAM_API_KEY' \
  --header 'Content-Type: audio/mp3' \
  --data-binary @youraudio.mp3 \
  --url 'https://api.deepgram.com/v1/listen?sample_rate=8000&encoding=linear16'
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu