Skip to main content
POST
Reference example

Request contract

  • Method and path: POST /apis/v1/supadata/translate-youtube-transcript
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/supadata/translate-youtube-transcript
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0103 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

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

Body

application/json
lang
string
required

Required ISO 639-1 language code for the translation.

Minimum string length: 1
Example:

"es"

chunk_size
number

Maximum characters per chunk when text is false. Must be between 50 and 10000.

Required range: 50 <= x <= 10000
Example:

1000

text
boolean

When true, return plain text. When false, return timestamped chunks. Defaults to false at the provider.

url
string

YouTube video URL. Provide exactly one of url or video_id.

Minimum string length: 1
Example:

"https://youtu.be/dQw4w9WgXcQ"

video_id
string

YouTube video ID. Provide exactly one of video_id or url.

Minimum string length: 1
Example:

"dQw4w9WgXcQ"

Response

Tool result data

content
required
lang
string
required