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.
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
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"}'
curl https://api.deepgram.com/v1/projects \
-H "Authorization: Token {{DEEPGRAM_API_KEY}}"