Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Live YouTube Subtitles Advanced

伺服器:https://openapi.felo.ai
用戶端程式庫

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

Live YouTube Subtitles Advanced

​

Returns one YouTube video's subtitle track on YouTube, synchronously. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. advanced is the default choice; take regular when only the ranked list matters and html only to check what the parser dropped. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.

請求本文
必填
application/json
  • 類型: array object[]
    • 類型: object
      • video_id
        類型: string
        必填

        ID of the video

      • language_code
        類型: string

        YouTube interface language code, for example en. Provide this or language_name.

      • language_name
        類型: string

        YouTube interface language name, for example English. Provide this or language_code.

      • location_code
        類型: integer

        YouTube location code, for example 2840. Provide this or location_name.

      • location_name
        類型: string

        YouTube location name, for example United States. Provide this or location_code.

      空物件
      空物件
回應
  • 200
    類型: object

    Successful response

    • cost
      類型: number

      Total tasks cost, USD

    • status_code
      類型: integer

      General status code

    • status_message
      類型: string

      General informational message

    • tasks
      類型: array string[]

      Array of tasks

    • tasks[].result
      類型: array string[]

      Array of live SERP results

    • time
      類型: string

      Execution time, seconds

    • version
      類型: string

      The current version of the API

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/serp/youtube/video_subtitles/live/advanced
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/youtube/video_subtitles/live/advanced \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "language_code": "en",
    "video_id": "aircAruvnKk",
    "location_code": 2840
  }
]'
{
  "version": "string",
  "status_code": 1,
  "status_message": "string",
  "time": "string",
  "cost": 1,
  "tasks": [
    "string"
  ],
  "tasks[].result": [
    "string"
  ]
}
Live YouTube Subtitles Advanced