GET
/
v2
/
transcript
/
{transcript_id}
/
word-search
curl --request GET \
  --url https://api.assemblyai.com/v2/transcript/{transcript_id}/word-search \
  --header 'Authorization: <api-key>'
{
  "id": "d5a3d302-066e-43fb-b63b-8f57baf185db",
  "total_count": 10,
  "matches": [
    {
      "text": "smoke",
      "count": 6,
      "timestamps": [
        [
          250,
          650
        ],
        [
          49168,
          49398
        ],
        [
          55284,
          55594
        ],
        [
          168888,
          169118
        ],
        [
          215108,
          215386
        ],
        [
          225944,
          226170
        ]
      ],
      "indexes": [
        0,
        136,
        156,
        486,
        652,
        698
      ]
    },
    {
      "text": "wildfires",
      "count": 4,
      "timestamps": [
        [
          1668,
          2346
        ],
        [
          33852,
          34546
        ],
        [
          50118,
          51110
        ],
        [
          231356,
          232354
        ]
      ],
      "indexes": [
        4,
        90,
        140,
        716
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

transcript_id
string
required

ID of the transcript

Query Parameters

words
string[]
required

Keywords to search for

Response

200
application/json

Word search response

The response is of type object.