{
  "openapi": "3.0.1",
  "info": {
    "title": "Audio Transcriber — Deepgram Nova-3 Speech-to-Text",
    "description": "Transcribe audio and video file URLs with Deepgram Nova-3. Zero setup at $0.01/min — or bring your own Deepgram key and pay $0.004/min. Speaker diarization, SRT subtitles, summaries, language detection.",
    "version": "0.0",
    "x-build-id": "0iQPNc2cGjaBOJ2NO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kaz_kakyo~audio-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kaz_kakyo-audio-transcriber",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/kaz_kakyo~audio-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-kaz_kakyo-audio-transcriber",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/kaz_kakyo~audio-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-kaz_kakyo-audio-transcriber",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "audioUrls"
        ],
        "properties": {
          "audioUrls": {
            "title": "Audio / video file URLs",
            "minItems": 1,
            "type": "array",
            "description": "Direct https links to audio or video files (mp3, wav, m4a, flac, ogg, opus, mp4, mov, webm, mkv — up to 2 GB each). One transcript per file. Max 500 files per run.",
            "items": {
              "type": "string"
            }
          },
          "deepgramApiKey": {
            "title": "Deepgram API key (optional — cuts the price to $0.004/min)",
            "type": "string",
            "description": "Leave empty for zero-setup transcription at $0.01/min. Or bring your own free Deepgram key (console.deepgram.com — $200 credit, no card) and pay only $0.004/min here plus Deepgram's wholesale ~$0.0043/min directly. Stored encrypted, sent only to api.deepgram.com."
          },
          "model": {
            "title": "Model",
            "enum": [
              "nova-3",
              "nova-2",
              "whisper-large"
            ],
            "type": "string",
            "description": "`nova-3` is Deepgram's flagship (fastest, most accurate, multilingual). `whisper-large` for rare languages.",
            "default": "nova-3"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "BCP-47 code, e.g. `en`, `es`, `zh`, `de`. Use `multi` with nova-3 for code-switched audio. Leave empty for English, or enable language detection below."
          },
          "detectLanguage": {
            "title": "Detect language automatically",
            "type": "boolean",
            "description": "Identify the dominant language of each file and transcribe in it. Overrides the language field.",
            "default": false
          },
          "diarize": {
            "title": "Speaker diarization",
            "type": "boolean",
            "description": "Label who said what. Adds a `speakerTranscript` field (`Speaker 0: ...`) and speaker labels in SRT/utterances/words.",
            "default": false
          },
          "smartFormat": {
            "title": "Smart formatting",
            "type": "boolean",
            "description": "Punctuation plus formatted dates, numbers, currency, phone numbers, emails.",
            "default": true
          },
          "paragraphs": {
            "title": "Paragraph breaks",
            "type": "boolean",
            "description": "Return the transcript split into readable paragraphs instead of one wall of text.",
            "default": true
          },
          "summarize": {
            "title": "Summary",
            "type": "boolean",
            "description": "Add a short abstract summary of each file (English audio only).",
            "default": false
          },
          "includeSrt": {
            "title": "SRT subtitles",
            "type": "boolean",
            "description": "Add a ready-to-use `.srt` subtitle string (with speaker labels when diarization is on).",
            "default": false
          },
          "includeUtterances": {
            "title": "Utterance timestamps",
            "type": "boolean",
            "description": "Add an `utterances` array: start/end time, speaker, and text per spoken segment.",
            "default": false
          },
          "includeWords": {
            "title": "Word-level timestamps",
            "type": "boolean",
            "description": "Add a `words` array with per-word timing and confidence. Large output for long audio.",
            "default": false
          },
          "keyterms": {
            "title": "Key terms (nova-3 only)",
            "type": "array",
            "description": "Domain terms, names, or jargon to boost recognition accuracy for (keyterm prompting).",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}