POST
/
durations
curl --request POST \
  --url https://api.scribesocial.ai/v1/durations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "post_urls": [
    "<string>"
  ]
}'
{
  "durations": [
    {
      "video_url": "<string>",
      "video_id": "<string>",
      "duration": 123,
      "metadata": {
        "upload_time": "2023-11-07T05:31:56Z",
        "comment_count": 123,
        "like_count": 123,
        "thumbnail": "<string>",
        "retweet_count": 123,
        "quote_count": 123
      },
      "error": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

includeMetadata
boolean
default:false

Body

application/json
post_urls
string[]

Response

200 - application/json
Success
durations
object[]